{
  "match_info": {
    "home_team": "Valencia",
    "away_team": "Athletic Club",
    "tournament": "LaLiga",
    "date": "20261017",
    "timezone": "America/New_York",
    "home_formation": "4-2-3-1",
    "away_formation": "4-2-3-1",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "0-0",
    "home_goals": 0,
    "away_goals": 0,
    "most_likely_score_probability": 0.1386,
    "most_likely_winning_score_home": "1-0",
    "most_likely_winning_score_home_probability": 0.1334,
    "most_likely_winning_score_away": "0-1",
    "most_likely_winning_score_away_probability": 0.1356,
    "match_resolution": "draw",
    "predicted_winner": "Draw",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.3128,
      "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": "0-0",
        "probability": 0.1386
      },
      {
        "score": "1-1",
        "probability": 0.1369
      },
      {
        "score": "0-1",
        "probability": 0.1356
      },
      {
        "score": "1-0",
        "probability": 0.1334
      },
      {
        "score": "0-2",
        "probability": 0.0688
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.1386,
      "0-1": 0.1356,
      "0-2": 0.0688,
      "0-3": 0.023,
      "0-4": 0.0058,
      "0-5": 0.0012,
      "1-0": 0.1334,
      "1-1": 0.1369,
      "1-2": 0.0678,
      "1-3": 0.0226,
      "1-4": 0.0057,
      "1-5": 0.0011,
      "2-0": 0.0666,
      "2-1": 0.0667,
      "2-2": 0.0334,
      "2-3": 0.0112,
      "2-4": 0.0028,
      "2-5": 0.0006,
      "3-0": 0.0219,
      "3-1": 0.0219,
      "3-2": 0.011,
      "3-3": 0.0037,
      "3-4": 0.0009,
      "4-0": 0.0054,
      "4-1": 0.0054,
      "4-2": 0.0027,
      "4-3": 0.0009,
      "5-0": 0.0011,
      "5-1": 0.0011,
      "5-2": 0.0005
    },
    "outcome": {
      "home_win": 0.3394,
      "draw": 0.3128,
      "away_win": 0.3478
    },
    "markets": {
      "over_2_5_goals": 0.3201,
      "under_2_5_goals": 0.6799,
      "btts_yes": 0.3984,
      "btts_no": 0.6016,
      "home_clean_sheet": 0.3671,
      "away_clean_sheet": 0.3731
    },
    "home_ratings": {
      "DR": 6.72,
      "MCR": 6.92,
      "ATR": 6.78,
      "GK": 6.92
    },
    "away_ratings": {
      "DR": 6.87,
      "MCR": 6.95,
      "ATR": 6.89,
      "GK": 7.0
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Valencia vs Athletic Club. Most likely scoreline: 0-0. Lambdas derived from 6 home and 6 away individual player duels. Head-to-head: Valencia 3W-1D-6L vs Athletic Club over 10 meetings.",
      "key_player": "Iñaki Williams (ST) — Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle [0.348 xG]",
      "tactical_analysis": "Tactical parity between 4-2-3-1 and 4-2-3-1. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Javier Guerra vs Peio Canales will be the pivotal duel. Total antagonist xG — Home: 0.88, Away: 0.83. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle."
    },
    "confidence": 0.69,
    "home_lambda": 0.986,
    "away_lambda": 1.002,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 3,
      "away_wins": 6,
      "draws": 1,
      "home_multiplier": 0.9786,
      "away_multiplier": 1.0214
    },
    "modal_scoreline": "0-0",
    "modal_scoreline_probability": 0.1386,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.3394,
      "draw": 0.3128,
      "away_win": 0.3478
    },
    "favorite": "Athletic Club",
    "favorite_win_probability": 0.3478,
    "fair_spread": -0.016,
    "fair_total": 1.988,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Valencia",
        "estimate": 0.986,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Athletic Club",
        "estimate": 1.002,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.3201,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.3984,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Valencia",
        "estimate": 1.0,
        "probability": 0.3671,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Athletic Club",
        "estimate": 1.0,
        "probability": 0.3731,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Hugo Duro (Valencia)",
        "estimate": 0.3012,
        "probability": 0.2601,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Iñaki Williams (Athletic Club)",
        "estimate": 0.3355,
        "probability": 0.285,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Javier Guerra (Valencia)",
        "estimate": 0.1305,
        "probability": 0.1223,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Yuri Berchiche (Athletic Club)",
        "estimate": 0.1432,
        "probability": 0.1334,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "balanced",
      "expected_total_goals": 1.988,
      "expected_total_shots": 22,
      "expected_total_passes": 815,
      "expected_pressing_actions_per_90": 13.4,
      "possession_home_pct": 50.7,
      "possession_away_pct": 49.3,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Athletic Club",
      "favorite_win_probability": 0.3478,
      "script": "Athletic Club is the fair winner side, but the baseline remains narrow: fair spread -0.02 goals and fair total 1.99.",
      "first_half": "Expect balanced tempo while both sides test the matchup thesis; shot baseline is about 11 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Valencia must keep the match inside one goal.",
      "late_game": "A Athletic Club lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Athletic Club chance creation leans on Iñaki Williams against Justin De Haas, Mouctar Diakhaby in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Valencia: starters carry the main goal usage through the highest xG attackers; bench watchlist: Diego López, Largie Ramazani.",
      "Athletic Club: starters carry the main goal usage through the highest xG attackers; bench watchlist: Nico Williams, Mikel Jauregizar.",
      "Assist usage should flow through the projected key-pass leaders; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Athletic Club tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects balanced tempo, about 11 total first-half shots, and 0.99 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 Valencia 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 Athletic Club.",
      "Valencia 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": {
    "Valencia": {
      "formation": "4-2-3-1",
      "players": {
        "Hugo Duro": {
          "player_id": 909119,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 180,
          "market_value": 10700000,
          "stats": {
            "expected_goals": 0.3012,
            "goal_rate": 0.2591,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0287,
            "key_pass": 1,
            "rating": 6.6266,
            "minutes": 74,
            "total_pass": 12,
            "accurate_pass": 8,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 22,
            "possession_lost": 7.0579,
            "dispossessed": 0.4263,
            "duels_lost": 6,
            "aerial_lost": 4,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.1289,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0971,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9878,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.192,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
            "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2601,
            "projected_assists": 0,
            "assist_probability": 0.0283,
            "finishing_factor": 0.8305,
            "creation_factor": 1.25,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5497,
                "expected_assists": 0.0065,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 14,
                "clearances": 1,
                "aerial_won": 4,
                "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": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 82,
                "rating": 6.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.3599,
                "expected_assists": 0.0301,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 63,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1376,
                "expected_assists": 0.001,
                "total_shots": 2,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 1,
                "clearances": 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": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 14,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 30,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 55,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0144,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 4,
                "key_pass": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 13,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_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": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 80,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.215,
                "expected_assists": 0.0007,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 4,
                "tackles": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 73,
                "rating": 6.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3231,
                "expected_assists": 0.031,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3220,
            "combined_rank_score": 1167.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 776.0,
            "sofascore_rating": 6.6389,
            "sofascore_appearances": 36.0,
            "fifa_rank": 1559.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6266,
            "source_file": "data/player_rankings.csv",
            "player_name": "Hugo Duro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Azor Matusiwa",
                  "ranking": 3215
                },
                {
                  "player_name": "Eljif Elmas",
                  "ranking": 3216
                },
                {
                  "player_name": "Lazaros Rota",
                  "ranking": 3217
                },
                {
                  "player_name": "Joshua Zirkzee",
                  "ranking": 3218
                },
                {
                  "player_name": "Camilo Vargas",
                  "ranking": 3219
                }
              ],
              "lower": [
                {
                  "player_name": "Chris Führich",
                  "ranking": 3221
                },
                {
                  "player_name": "Lucien Agoumé",
                  "ranking": 3222
                },
                {
                  "player_name": "Maarten Vandevoordt",
                  "ranking": 3223
                },
                {
                  "player_name": "Nikola Vasilj",
                  "ranking": 3224
                },
                {
                  "player_name": "Wouter Burger",
                  "ranking": 3225
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.76,
          "history_matches": 44,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 44,
            "data_confidence": 0.76,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0008,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 93.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "XGBoost regressor (F_service) evaluated 44 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.07, 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.3259,
                "goals": 0.2633,
                "goal_rate": 0.2633,
                "shots_on_target": 0.6927,
                "total_shots": 1.5961,
                "expected_assists": 0.0262,
                "key_pass": 0.5771,
                "rating": 6.6266,
                "minutes": 73.92,
                "total_pass": 12.4581,
                "accurate_pass": 8.2708,
                "duels_won": 4.1784,
                "total_long_balls": 0.6359,
                "accurate_long_balls": 0.3513,
                "total_opp_half_passes": 7.4533,
                "accurate_opp_half_passes": 4.4563,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 21.986,
                "possession_lost": 7.0523,
                "dispossessed": 0.426,
                "duels_lost": 5.7087,
                "aerial_lost": 4.0073,
                "total_contest": 0.2342,
                "won_contest": 0.028,
                "ball_recovery": 0.8409,
                "challenges_lost": 0.3887,
                "fouls": 0.8679,
                "fouls_drawn": 1.8065,
                "assists": 0.1294,
                "assist_rate": 0.1294,
                "interceptions": 0.1284,
                "tackles_won": 0.2786,
                "tackles": 0.5354,
                "clearances": 0.6591,
                "blocks": 0.0821,
                "big_chances_created": 0.0031,
                "big_chances_missed": 0.332,
                "xgot": 0.105,
                "offsides": 0.4189,
                "ball_carries": 1.8974,
                "total_progression": 0.0,
                "progressive_carries": 0.0461,
                "shots_off_target": 0.9033
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 5.5754,
                  "expectedGoals": 0.2182,
                  "accurateOppositionHalfPasses": 3.5653,
                  "accuratePass": 6.7997,
                  "totalShots": 1.0006
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3259102702140808,
                    "model_output": 0.3259,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0678
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0256
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0184
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0178
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0119
                        }
                      ],
                      "others": 0.0225,
                      "total": 0.3259,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.295009
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.092145
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.061394
                        },
                        {
                          "name": "goals",
                          "margin": -0.059162
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.039986
                        }
                      ],
                      "others_margin": 0.071412
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.2632623612880707,
                    "model_output": 0.2633,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0492
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0249
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0223
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0192
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0179
                        }
                      ],
                      "others": 0.012,
                      "total": 0.2633,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.216692
                        },
                        {
                          "name": "goals",
                          "margin": -0.104003
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.093388
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.0739
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.069006
                        }
                      ],
                      "others_margin": 0.047216
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6927473545074463,
                    "model_output": 0.6927,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1964
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0435
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0389
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0361
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0365
                        }
                      ],
                      "others": -0.0315,
                      "total": 0.6927,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.311308
                        },
                        {
                          "name": "goals",
                          "margin": -0.061067
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.057967
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.053949
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.051659
                        }
                      ],
                      "others_margin": -0.044423
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.5960756540298462,
                    "model_output": 1.5961,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4733
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1123
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0571
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0521
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0455
                        }
                      ],
                      "others": 0.016,
                      "total": 1.5961,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.473345
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.112298
                        },
                        {
                          "name": "goals",
                          "margin": -0.057061
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.052132
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.045518
                        }
                      ],
                      "others_margin": 0.015898
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02620985172688961,
                    "model_output": 0.0262,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0215
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0171
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.009
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0059
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.023,
                      "total": 0.0262,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.288363
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.222441
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.140357
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.104157
                        },
                        {
                          "name": "rating",
                          "margin": -0.087627
                        }
                      ],
                      "others_margin": -0.629888
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5770943760871887,
                    "model_output": 0.5771,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2044
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0515
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0438
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0303
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0233
                        }
                      ],
                      "others": -0.1518,
                      "total": 0.5771,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.265086
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.060455
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.054521
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.039526
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.031512
                        }
                      ],
                      "others_margin": -0.233359
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6266188621521,
                    "model_output": 6.6266,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0447
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0241
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0218
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0214
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0182
                        }
                      ],
                      "others": -0.0996,
                      "total": 6.6266,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.044727
                        },
                        {
                          "name": "rating",
                          "margin": -0.024057
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.021759
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.021397
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.018153
                        }
                      ],
                      "others_margin": -0.099746
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 44,
                  "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.0008, quality 0.531)",
              "stats": {
                "expected_goals": 0.3262,
                "goals": 0.2635,
                "goal_rate": 0.2635,
                "shots_on_target": 0.6933,
                "total_shots": 1.5974,
                "expected_assists": 0.0262,
                "key_pass": 0.5776,
                "rating": 6.6266,
                "minutes": 73.92,
                "total_pass": 12.4681,
                "accurate_pass": 8.2774,
                "duels_won": 4.1817,
                "total_long_balls": 0.6364,
                "accurate_long_balls": 0.3516,
                "total_opp_half_passes": 7.4593,
                "accurate_opp_half_passes": 4.4599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.0036,
                "possession_lost": 7.0579,
                "dispossessed": 0.4263,
                "duels_lost": 5.7133,
                "aerial_lost": 4.0105,
                "total_contest": 0.2344,
                "won_contest": 0.028,
                "ball_recovery": 0.8416,
                "challenges_lost": 0.389,
                "fouls": 0.8686,
                "fouls_drawn": 1.8079,
                "assists": 0.1295,
                "assist_rate": 0.1295,
                "interceptions": 0.1285,
                "tackles_won": 0.2788,
                "tackles": 0.5358,
                "clearances": 0.6596,
                "blocks": 0.0822,
                "big_chances_created": 0.0031,
                "big_chances_missed": 0.3323,
                "xgot": 0.1051,
                "offsides": 0.4192,
                "ball_carries": 1.8989,
                "total_progression": 0.0,
                "progressive_carries": 0.0461,
                "shots_off_target": 0.904
              },
              "params": {
                "market_value_eur": 10700000,
                "quality_factor": 0.5306,
                "boost_factor": 1.0008,
                "reference_quality": 0.505,
                "history_matches": 44,
                "history_shrink": 0.102,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0044)",
              "stats": {
                "expected_goals": 0.3262,
                "goals": 0.2623,
                "goal_rate": 0.2623,
                "shots_on_target": 0.6902,
                "total_shots": 1.5903,
                "expected_assists": 0.0262,
                "key_pass": 0.5776,
                "rating": 6.6266,
                "minutes": 73.92,
                "total_pass": 12.4681,
                "accurate_pass": 8.2774,
                "duels_won": 4.1817,
                "total_long_balls": 0.6364,
                "accurate_long_balls": 0.3516,
                "total_opp_half_passes": 7.4593,
                "accurate_opp_half_passes": 4.4599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.0036,
                "possession_lost": 7.0579,
                "dispossessed": 0.4263,
                "duels_lost": 5.7133,
                "aerial_lost": 4.0105,
                "total_contest": 0.2344,
                "won_contest": 0.028,
                "ball_recovery": 0.8416,
                "challenges_lost": 0.389,
                "fouls": 0.8684,
                "fouls_drawn": 1.8072,
                "assists": 0.1289,
                "assist_rate": 0.1289,
                "interceptions": 0.1316,
                "tackles_won": 0.2776,
                "tackles": 0.5358,
                "clearances": 0.6596,
                "blocks": 0.0822,
                "big_chances_created": 0.0031,
                "big_chances_missed": 0.3323,
                "xgot": 0.1051,
                "offsides": 0.4173,
                "ball_carries": 1.8989,
                "total_progression": 0.0,
                "progressive_carries": 0.0461,
                "shots_off_target": 0.904
              },
              "params": {
                "blend_weight": 0.0044,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8213,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.5974,
                  "after": 1.5903
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3262,
                "goals": 0.2623,
                "goal_rate": 0.2623,
                "shots_on_target": 0.6902,
                "total_shots": 1.5942,
                "expected_assists": 0.0262,
                "key_pass": 0.5776,
                "rating": 6.6266,
                "minutes": 73.92,
                "total_pass": 12.4681,
                "accurate_pass": 8.2774,
                "duels_won": 4.1817,
                "total_long_balls": 0.6364,
                "accurate_long_balls": 0.3516,
                "total_opp_half_passes": 7.4593,
                "accurate_opp_half_passes": 4.4599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.0036,
                "possession_lost": 7.0579,
                "dispossessed": 0.4263,
                "duels_lost": 5.7133,
                "aerial_lost": 4.0105,
                "total_contest": 0.2344,
                "won_contest": 0.028,
                "ball_recovery": 0.8416,
                "challenges_lost": 0.389,
                "fouls": 0.8684,
                "fouls_drawn": 1.8072,
                "assists": 0.1289,
                "assist_rate": 0.1289,
                "interceptions": 0.1316,
                "tackles_won": 0.2776,
                "tackles": 0.5358,
                "clearances": 0.6596,
                "blocks": 0.0822,
                "big_chances_created": 0.0031,
                "big_chances_missed": 0.3323,
                "xgot": 0.1051,
                "offsides": 0.4173,
                "ball_carries": 1.8989,
                "total_progression": 0.0,
                "progressive_carries": 0.0461,
                "shots_off_target": 0.904
              },
              "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.3222,
                "goals": 0.2591,
                "goal_rate": 0.2591,
                "shots_on_target": 0.6818,
                "total_shots": 1.5748,
                "expected_assists": 0.0262,
                "key_pass": 0.5776,
                "rating": 6.6266,
                "minutes": 73.92,
                "total_pass": 12.4681,
                "accurate_pass": 8.2774,
                "duels_won": 4.1817,
                "total_long_balls": 0.6364,
                "accurate_long_balls": 0.3516,
                "total_opp_half_passes": 7.4593,
                "accurate_opp_half_passes": 4.4599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.0036,
                "possession_lost": 7.0579,
                "dispossessed": 0.4263,
                "duels_lost": 5.7133,
                "aerial_lost": 4.0105,
                "total_contest": 0.2344,
                "won_contest": 0.028,
                "ball_recovery": 0.8416,
                "challenges_lost": 0.389,
                "fouls": 0.8684,
                "fouls_drawn": 1.8072,
                "assists": 0.1289,
                "assist_rate": 0.1289,
                "interceptions": 0.1316,
                "tackles_won": 0.2776,
                "tackles": 0.5358,
                "clearances": 0.6596,
                "blocks": 0.0822,
                "big_chances_created": 0.0031,
                "big_chances_missed": 0.3282,
                "xgot": 0.1038,
                "offsides": 0.4173,
                "ball_carries": 1.8989,
                "total_progression": 0.0,
                "progressive_carries": 0.0461,
                "shots_off_target": 0.893,
                "duel_xg_multiplier": 0.9878,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.192,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9878,
                  "skill_edge": 0.0197,
                  "height_edge": -0.028,
                  "attacker_skill": 0.5306,
                  "defender_skill": 0.4869,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Aymeric Laporte",
                      "market_value": 8400000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5365
                    },
                    {
                      "player": "Yeray Álvarez",
                      "market_value": 930000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.3222
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.5942,
                  "after": 1.5748
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.904,
                  "after": 0.893
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6902,
                  "after": 0.6818
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.3222,
                "goal_rate": 0.2591,
                "goals": 0,
                "shots_on_target": 0.6818,
                "total_shots": 1.5748,
                "expected_assists": 0.0262,
                "key_pass": 0.5776,
                "rating": 6.6266,
                "minutes": 73.92,
                "total_pass": 12.4681,
                "accurate_pass": 8.2774,
                "duels_won": 4.1817,
                "total_long_balls": 0.6364,
                "accurate_long_balls": 0.3516,
                "total_opp_half_passes": 7.4593,
                "accurate_opp_half_passes": 4.4599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.0036,
                "possession_lost": 7.0579,
                "dispossessed": 0.4263,
                "duels_lost": 5.7133,
                "aerial_lost": 4.0105,
                "total_contest": 0.2344,
                "won_contest": 0.028,
                "ball_recovery": 0.8416,
                "challenges_lost": 0.389,
                "fouls": 0.8684,
                "fouls_drawn": 1.8072,
                "assist_rate": 0.1289,
                "assists": 0,
                "interceptions": 0.1316,
                "tackles_won": 0.2776,
                "tackles": 0.5358,
                "clearances": 0.6596,
                "blocks": 0.0822,
                "big_chances_created": 0.0031,
                "big_chances_missed": 0.3282,
                "xgot": 0.1038,
                "offsides": 0.4173,
                "ball_carries": 1.8989,
                "total_progression": 0.0,
                "progressive_carries": 0.0461,
                "shots_off_target": 0.893,
                "duel_xg_multiplier": 0.9878,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.3012,
                "goal_rate": 0.2591,
                "goals": 0,
                "shots_on_target": 0.6818,
                "total_shots": 1.5748,
                "expected_assists": 0.0287,
                "key_pass": 0.5776,
                "rating": 6.6266,
                "minutes": 73.92,
                "total_pass": 12.4681,
                "accurate_pass": 8.2774,
                "duels_won": 4.1817,
                "total_long_balls": 0.6364,
                "accurate_long_balls": 0.3516,
                "total_opp_half_passes": 7.4593,
                "accurate_opp_half_passes": 4.4599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.0036,
                "possession_lost": 7.0579,
                "dispossessed": 0.4263,
                "duels_lost": 5.7133,
                "aerial_lost": 4.0105,
                "total_contest": 0.2344,
                "won_contest": 0.028,
                "ball_recovery": 0.8416,
                "challenges_lost": 0.389,
                "fouls": 0.8684,
                "fouls_drawn": 1.8072,
                "assist_rate": 0.1289,
                "assists": 0,
                "interceptions": 0.1316,
                "tackles_won": 0.2776,
                "tackles": 0.5358,
                "clearances": 0.6596,
                "blocks": 0.0822,
                "big_chances_created": 0.0031,
                "big_chances_missed": 0.3282,
                "xgot": 0.0971,
                "offsides": 0.4173,
                "ball_carries": 1.8989,
                "total_progression": 0.0,
                "progressive_carries": 0.0461,
                "shots_off_target": 0.893,
                "duel_xg_multiplier": 0.9878,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8305,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3222,
                  "after": 0.3012
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 77.0)",
              "stats": {
                "expected_goals": 0.3012,
                "goal_rate": 0.2591,
                "goals": 0,
                "shots_on_target": 0.6818,
                "total_shots": 1.5748,
                "expected_assists": 0.0287,
                "key_pass": 0.5776,
                "rating": 6.6266,
                "minutes": 73.92,
                "total_pass": 12.4681,
                "accurate_pass": 8.2774,
                "duels_won": 4.1817,
                "total_long_balls": 0.6364,
                "accurate_long_balls": 0.3516,
                "total_opp_half_passes": 7.4593,
                "accurate_opp_half_passes": 4.4599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.0036,
                "possession_lost": 7.0579,
                "dispossessed": 0.4263,
                "duels_lost": 5.7133,
                "aerial_lost": 4.0105,
                "total_contest": 0.2344,
                "won_contest": 0.028,
                "ball_recovery": 0.8416,
                "challenges_lost": 0.389,
                "fouls": 0.8684,
                "fouls_drawn": 1.8072,
                "assist_rate": 0.1289,
                "assists": 0,
                "interceptions": 0.1316,
                "tackles_won": 0.2776,
                "tackles": 0.5358,
                "clearances": 0.6596,
                "blocks": 0.0822,
                "big_chances_created": 0.0031,
                "big_chances_missed": 0.3282,
                "xgot": 0.0971,
                "offsides": 0.4173,
                "ball_carries": 1.8989,
                "total_progression": 0.0,
                "progressive_carries": 0.0461,
                "shots_off_target": 0.893,
                "duel_xg_multiplier": 0.9878,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8305,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3220,
                "fifa_rank": 1559.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.3012,
                "goal_rate": 0.2591,
                "goals": 0,
                "shots_on_target": 0.6818,
                "total_shots": 1.5748,
                "expected_assists": 0.0287,
                "key_pass": 0.5776,
                "rating": 6.6266,
                "minutes": 73.92,
                "total_pass": 12.4681,
                "accurate_pass": 8.2774,
                "duels_won": 4.1817,
                "total_long_balls": 0.6364,
                "accurate_long_balls": 0.3516,
                "total_opp_half_passes": 7.4593,
                "accurate_opp_half_passes": 4.4599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.0036,
                "possession_lost": 7.0579,
                "dispossessed": 0.4263,
                "duels_lost": 5.7133,
                "aerial_lost": 4.0105,
                "total_contest": 0.2344,
                "won_contest": 0.028,
                "ball_recovery": 0.8416,
                "challenges_lost": 0.389,
                "fouls": 0.8684,
                "fouls_drawn": 1.8072,
                "assist_rate": 0.1289,
                "assists": 0,
                "interceptions": 0.1316,
                "tackles_won": 0.2776,
                "tackles": 0.5358,
                "clearances": 0.6596,
                "blocks": 0.0822,
                "big_chances_created": 0.0031,
                "big_chances_missed": 0.3282,
                "xgot": 0.0971,
                "offsides": 0.4173,
                "ball_carries": 1.8989,
                "total_progression": 0.0,
                "progressive_carries": 0.0461,
                "shots_off_target": 0.893,
                "duel_xg_multiplier": 0.9878,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2601,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8305,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.2601,
                "goal_rate": 0.2591,
                "scorer_weight": 0.2501,
                "squad_weight_total": 1.0105,
                "weight_share": 0.2475,
                "finishing_factor": 0.8305,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.3012,
                "goal_rate": 0.2591,
                "goals": 0,
                "shots_on_target": 0.6818,
                "total_shots": 1.5748,
                "expected_assists": 0.0287,
                "key_pass": 0.5776,
                "rating": 6.6266,
                "minutes": 73.92,
                "total_pass": 12.4681,
                "accurate_pass": 8.2774,
                "duels_won": 4.1817,
                "total_long_balls": 0.6364,
                "accurate_long_balls": 0.3516,
                "total_opp_half_passes": 7.4593,
                "accurate_opp_half_passes": 4.4599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.0036,
                "possession_lost": 7.0579,
                "dispossessed": 0.4263,
                "duels_lost": 5.7133,
                "aerial_lost": 4.0105,
                "total_contest": 0.2344,
                "won_contest": 0.028,
                "ball_recovery": 0.8416,
                "challenges_lost": 0.389,
                "fouls": 0.8684,
                "fouls_drawn": 1.8072,
                "assist_rate": 0.1289,
                "assists": 0,
                "interceptions": 0.1316,
                "tackles_won": 0.2776,
                "tackles": 0.5358,
                "clearances": 0.6596,
                "blocks": 0.0822,
                "big_chances_created": 0.0031,
                "big_chances_missed": 0.3282,
                "xgot": 0.0971,
                "offsides": 0.4173,
                "ball_carries": 1.8989,
                "total_progression": 0.0,
                "progressive_carries": 0.0461,
                "shots_off_target": 0.893,
                "duel_xg_multiplier": 0.9878,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2601,
                "projected_assists": 0,
                "assist_probability": 0.0283,
                "finishing_factor": 0.8305,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0283,
                "assist_rate": 0.1289,
                "provider_weight": 0.0359,
                "squad_weight_total": 0.6588,
                "weight_share": 0.0545,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12
              }
            }
          ]
        },
        "Dani Raba": {
          "player_id": 873947,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 184,
          "market_value": 1000000,
          "stats": {
            "expected_goals": 0.1321,
            "goal_rate": 0.1716,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0721,
            "key_pass": 1,
            "rating": 6.7761,
            "minutes": 63,
            "total_pass": 16,
            "accurate_pass": 11,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 28,
            "possession_lost": 9.0272,
            "dispossessed": 1.1552,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.1915,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.2543,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 16,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9496,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
            "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1237,
            "projected_assists": 0,
            "assist_probability": 0.0696,
            "finishing_factor": 1.1584,
            "creation_factor": 1.25,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 58,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4946,
                "expected_assists": 0.0392,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "key_pass": 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": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 8,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0113,
                "expected_assists": 0.011,
                "total_shots": 1,
                "total_pass": 9,
                "accurate_pass": 6,
                "key_pass": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 8,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1998,
                "expected_assists": 0.0046,
                "total_shots": 2,
                "total_pass": 8,
                "accurate_pass": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081799,
              "match_date": "2026-03-08",
              "home_team": "Valencia",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0086,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083141,
              "match_date": "2025-12-01",
              "home_team": "Rayo Vallecano",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0206,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083133,
              "match_date": "2025-11-21",
              "home_team": "Valencia",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 14,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083116,
              "match_date": "2025-11-09",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 13,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0556,
                "expected_assists": 0.0028,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 6,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083717,
              "match_date": "2025-10-25",
              "home_team": "Valencia",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 13,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0249,
                "expected_assists": 0.0185,
                "total_shots": 1,
                "total_pass": 4,
                "accurate_pass": 4,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083655,
              "match_date": "2025-10-20",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 19,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0186,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 4,
                "accurate_pass": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083615,
              "match_date": "2025-10-04",
              "home_team": "Girona FC",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 18,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0333,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 12
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3861,
            "combined_rank_score": 1855.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2888.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7761,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Raba",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Elliot Stroud",
                  "ranking": 3856
                },
                {
                  "player_name": "Rani Khedira",
                  "ranking": 3857
                },
                {
                  "player_name": "Lee Jae Sung",
                  "ranking": 3858
                },
                {
                  "player_name": "Ellyes Skhiri",
                  "ranking": 3859
                },
                {
                  "player_name": "Maximilian Eggestein",
                  "ranking": 3860
                }
              ],
              "lower": [
                {
                  "player_name": "Ragnar Ache",
                  "ranking": 3862
                },
                {
                  "player_name": "Dimitris Giannoulis",
                  "ranking": 3863
                },
                {
                  "player_name": "Marcelino Núñez",
                  "ranking": 3864
                },
                {
                  "player_name": "Finn Dahmen",
                  "ranking": 3865
                },
                {
                  "player_name": "Keven Schlotterbeck",
                  "ranking": 3866
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.751,
          "history_matches": 15,
          "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": 15,
            "data_confidence": 0.751,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9949,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 9.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 10.0,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0067
            },
            "rationale": "XGBoost regressor (F_service) evaluated 15 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.01, 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.1495,
                "goals": 0.1819,
                "goal_rate": 0.1819,
                "shots_on_target": 0.5973,
                "total_shots": 1.5507,
                "expected_assists": 0.0661,
                "key_pass": 0.7554,
                "rating": 6.7761,
                "minutes": 62.85,
                "total_pass": 15.9445,
                "accurate_pass": 11.5107,
                "duels_won": 2.0531,
                "total_long_balls": 1.8604,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 9.8724,
                "accurate_opp_half_passes": 6.7453,
                "crosses_total": 1.0871,
                "crosses_accurate": 0.6276,
                "touches": 28.2439,
                "possession_lost": 9.0735,
                "dispossessed": 1.1611,
                "duels_lost": 5.1711,
                "aerial_lost": 0.2667,
                "total_contest": 2.488,
                "won_contest": 0.7733,
                "ball_recovery": 1.6276,
                "challenges_lost": 0.6276,
                "fouls": 1.4009,
                "fouls_drawn": 0.5065,
                "assists": 0.1927,
                "assist_rate": 0.1927,
                "interceptions": 0.7333,
                "tackles_won": 0.4595,
                "tackles": 0.4595,
                "clearances": 0.3138,
                "blocks": 0.0,
                "big_chances_created": 0.5065,
                "big_chances_missed": 0.3138,
                "xgot": 0.2878,
                "offsides": 0.0,
                "ball_carries": 7.3861,
                "total_progression": 15.7154,
                "progressive_carries": 2.0,
                "shots_off_target": 0.9534
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1644,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1397,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Atlético Madrid",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1187,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Deportivo Alavés",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1009,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-12-01",
                    "opponent": "Rayo Vallecano",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0858,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2025-11-21",
                    "opponent": "Levante UD",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0729,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-11-09",
                    "opponent": "Real Betis",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.062,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-10-25",
                    "opponent": "Villarreal",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0527,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2025-10-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0448,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-10-04",
                    "opponent": "Girona FC",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0381,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 15.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 7.4125,
                  "expectedGoals": 0.1141,
                  "accurateOppositionHalfPasses": 5.6031,
                  "accuratePass": 7.8387,
                  "totalShots": 0.9949
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.14953942596912384,
                    "model_output": 0.1495,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0704
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0482
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0118
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0101
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0389,
                      "total": 0.1495,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.304677
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.198597
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.055425
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.049703
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.048923
                        }
                      ],
                      "others_margin": -0.230306
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.181863471865654,
                    "model_output": 0.1819,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0777
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0396
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0195
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0132
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.012
                        }
                      ],
                      "others": -0.0389,
                      "total": 0.1819,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.323456
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.151722
                        },
                        {
                          "name": "goals",
                          "margin": -0.084335
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.061401
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.055764
                        }
                      ],
                      "others_margin": -0.193472
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5973266363143921,
                    "model_output": 0.5973,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2011
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.038
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0324
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0314
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0284
                        }
                      ],
                      "others": -0.074,
                      "total": 0.5973,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.317803
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.052871
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.04739
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.045967
                        },
                        {
                          "name": "goals",
                          "margin": -0.041502
                        }
                      ],
                      "others_margin": -0.11675
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.5507469177246094,
                    "model_output": 1.5507,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4777
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1599
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0567
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0537
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0521
                        }
                      ],
                      "others": -0.0858,
                      "total": 1.5507,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.477722
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.159942
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.056681
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.053651
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.052133
                        }
                      ],
                      "others_margin": -0.085711
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06608965992927551,
                    "model_output": 0.0661,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0155
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0154
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0083
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0055
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.005
                        }
                      ],
                      "others": -0.0202,
                      "total": 0.0661,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.216642
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.176923
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.090723
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.064767
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.059529
                        }
                      ],
                      "others_margin": -0.268837
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7553604245185852,
                    "model_output": 0.7554,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.187
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0695
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0524
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0477
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0417
                        }
                      ],
                      "others": -0.0327,
                      "total": 0.7554,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.245055
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.077676
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.057951
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.055884
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.051505
                        }
                      ],
                      "others_margin": -0.042488
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.776062965393066,
                    "model_output": 6.7761,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0599
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0331
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0194
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.017
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0127
                        }
                      ],
                      "others": -0.0736,
                      "total": 6.7761,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.059944
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.033149
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.019393
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.016986
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.01273
                        }
                      ],
                      "others_margin": -0.073709
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 15,
                  "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.9949, quality 0.437)",
              "stats": {
                "expected_goals": 0.1488,
                "goals": 0.1809,
                "goal_rate": 0.1809,
                "shots_on_target": 0.5943,
                "total_shots": 1.5428,
                "expected_assists": 0.0658,
                "key_pass": 0.7515,
                "rating": 6.7761,
                "minutes": 62.85,
                "total_pass": 15.8632,
                "accurate_pass": 11.452,
                "duels_won": 2.0426,
                "total_long_balls": 1.8509,
                "accurate_long_balls": 0.9142,
                "total_opp_half_passes": 9.8221,
                "accurate_opp_half_passes": 6.7109,
                "crosses_total": 1.0816,
                "crosses_accurate": 0.6244,
                "touches": 28.0999,
                "possession_lost": 9.0272,
                "dispossessed": 1.1552,
                "duels_lost": 5.1447,
                "aerial_lost": 0.2653,
                "total_contest": 2.4753,
                "won_contest": 0.7694,
                "ball_recovery": 1.6193,
                "challenges_lost": 0.6244,
                "fouls": 1.3938,
                "fouls_drawn": 0.5039,
                "assists": 0.1917,
                "assist_rate": 0.1917,
                "interceptions": 0.7296,
                "tackles_won": 0.4572,
                "tackles": 0.4572,
                "clearances": 0.3122,
                "blocks": 0.0,
                "big_chances_created": 0.5039,
                "big_chances_missed": 0.3122,
                "xgot": 0.2863,
                "offsides": 0.0,
                "ball_carries": 7.3484,
                "total_progression": 15.6353,
                "progressive_carries": 1.9898,
                "shots_off_target": 0.9485
              },
              "params": {
                "market_value_eur": 1000000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9949,
                "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.0011)",
              "stats": {
                "expected_goals": 0.1488,
                "goals": 0.1807,
                "goal_rate": 0.1807,
                "shots_on_target": 0.5937,
                "total_shots": 1.5487,
                "expected_assists": 0.0658,
                "key_pass": 0.7515,
                "rating": 6.7761,
                "minutes": 62.85,
                "total_pass": 15.8632,
                "accurate_pass": 11.452,
                "duels_won": 2.0426,
                "total_long_balls": 1.8509,
                "accurate_long_balls": 0.9142,
                "total_opp_half_passes": 9.8221,
                "accurate_opp_half_passes": 6.7109,
                "crosses_total": 1.088,
                "crosses_accurate": 0.6244,
                "touches": 28.0999,
                "possession_lost": 9.0272,
                "dispossessed": 1.1552,
                "duels_lost": 5.1447,
                "aerial_lost": 0.2653,
                "total_contest": 2.4753,
                "won_contest": 0.7694,
                "ball_recovery": 1.6193,
                "challenges_lost": 0.6244,
                "fouls": 1.3923,
                "fouls_drawn": 0.5034,
                "assists": 0.1915,
                "assist_rate": 0.1915,
                "interceptions": 0.7288,
                "tackles_won": 0.4567,
                "tackles": 0.4572,
                "clearances": 0.3122,
                "blocks": 0.0,
                "big_chances_created": 0.5039,
                "big_chances_missed": 0.3122,
                "xgot": 0.2863,
                "offsides": 0.0,
                "ball_carries": 7.3484,
                "total_progression": 15.6353,
                "progressive_carries": 1.9898,
                "shots_off_target": 0.9485
              },
              "params": {
                "blend_weight": 0.0011,
                "history_matches": 15,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.6983,
                "prior_reliability": 0.0067,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.0816,
                  "after": 1.088
                },
                {
                  "stat": "totalShots",
                  "before": 1.5428,
                  "after": 1.5487
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1488,
                "goals": 0.1807,
                "goal_rate": 0.1807,
                "shots_on_target": 0.5937,
                "total_shots": 1.5487,
                "expected_assists": 0.0658,
                "key_pass": 0.7515,
                "rating": 6.7761,
                "minutes": 62.85,
                "total_pass": 15.8632,
                "accurate_pass": 11.452,
                "duels_won": 2.0426,
                "total_long_balls": 1.8509,
                "accurate_long_balls": 0.9142,
                "total_opp_half_passes": 9.8221,
                "accurate_opp_half_passes": 6.7109,
                "crosses_total": 1.088,
                "crosses_accurate": 0.6244,
                "touches": 28.0999,
                "possession_lost": 9.0272,
                "dispossessed": 1.1552,
                "duels_lost": 5.1447,
                "aerial_lost": 0.2653,
                "total_contest": 2.4753,
                "won_contest": 0.7694,
                "ball_recovery": 1.6193,
                "challenges_lost": 0.6244,
                "fouls": 1.3923,
                "fouls_drawn": 0.5034,
                "assists": 0.1915,
                "assist_rate": 0.1915,
                "interceptions": 0.7288,
                "tackles_won": 0.4567,
                "tackles": 0.4572,
                "clearances": 0.3122,
                "blocks": 0.0,
                "big_chances_created": 0.5039,
                "big_chances_missed": 0.3122,
                "xgot": 0.2863,
                "offsides": 0.0,
                "ball_carries": 7.3484,
                "total_progression": 15.6353,
                "progressive_carries": 1.9898,
                "shots_off_target": 0.9485
              },
              "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.1413,
                "goals": 0.1716,
                "goal_rate": 0.1716,
                "shots_on_target": 0.5638,
                "total_shots": 1.4706,
                "expected_assists": 0.0658,
                "key_pass": 0.7515,
                "rating": 6.7761,
                "minutes": 62.85,
                "total_pass": 15.8632,
                "accurate_pass": 11.452,
                "duels_won": 2.0426,
                "total_long_balls": 1.8509,
                "accurate_long_balls": 0.9142,
                "total_opp_half_passes": 9.8221,
                "accurate_opp_half_passes": 6.7109,
                "crosses_total": 1.088,
                "crosses_accurate": 0.6244,
                "touches": 28.0999,
                "possession_lost": 9.0272,
                "dispossessed": 1.1552,
                "duels_lost": 5.1447,
                "aerial_lost": 0.2653,
                "total_contest": 2.4753,
                "won_contest": 0.7694,
                "ball_recovery": 1.6193,
                "challenges_lost": 0.6244,
                "fouls": 1.3923,
                "fouls_drawn": 0.5034,
                "assists": 0.1915,
                "assist_rate": 0.1915,
                "interceptions": 0.7288,
                "tackles_won": 0.4567,
                "tackles": 0.4572,
                "clearances": 0.3122,
                "blocks": 0.0,
                "big_chances_created": 0.5039,
                "big_chances_missed": 0.2965,
                "xgot": 0.2719,
                "offsides": 0.0,
                "ball_carries": 7.3484,
                "total_progression": 15.6353,
                "progressive_carries": 1.9898,
                "shots_off_target": 0.9007,
                "duel_xg_multiplier": 0.9496,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9496,
                  "skill_edge": -0.0223,
                  "height_edge": -0.012,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4869,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Aymeric Laporte",
                      "market_value": 8400000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5365
                    },
                    {
                      "player": "Yeray Álvarez",
                      "market_value": 930000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1413
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.5487,
                  "after": 1.4706
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9485,
                  "after": 0.9007
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5937,
                  "after": 0.5638
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.3122,
                  "after": 0.2965
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2863,
                  "after": 0.2719
                },
                {
                  "stat": "goals",
                  "before": 0.1807,
                  "after": 0.1716
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1488,
                  "after": 0.1413
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1413,
                "goal_rate": 0.1716,
                "goals": 0,
                "shots_on_target": 0.5638,
                "total_shots": 1.4706,
                "expected_assists": 0.0658,
                "key_pass": 0.7515,
                "rating": 6.7761,
                "minutes": 62.85,
                "total_pass": 15.8632,
                "accurate_pass": 11.452,
                "duels_won": 2.0426,
                "total_long_balls": 1.8509,
                "accurate_long_balls": 0.9142,
                "total_opp_half_passes": 9.8221,
                "accurate_opp_half_passes": 6.7109,
                "crosses_total": 1.088,
                "crosses_accurate": 0.6244,
                "touches": 28.0999,
                "possession_lost": 9.0272,
                "dispossessed": 1.1552,
                "duels_lost": 5.1447,
                "aerial_lost": 0.2653,
                "total_contest": 2.4753,
                "won_contest": 0.7694,
                "ball_recovery": 1.6193,
                "challenges_lost": 0.6244,
                "fouls": 1.3923,
                "fouls_drawn": 0.5034,
                "assist_rate": 0.1915,
                "assists": 0,
                "interceptions": 0.7288,
                "tackles_won": 0.4567,
                "tackles": 0.4572,
                "clearances": 0.3122,
                "blocks": 0.0,
                "big_chances_created": 0.5039,
                "big_chances_missed": 0.2965,
                "xgot": 0.2719,
                "offsides": 0.0,
                "ball_carries": 7.3484,
                "total_progression": 15.6353,
                "progressive_carries": 1.9898,
                "shots_off_target": 0.9007,
                "duel_xg_multiplier": 0.9496,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1321,
                "goal_rate": 0.1716,
                "goals": 0,
                "shots_on_target": 0.5638,
                "total_shots": 1.4706,
                "expected_assists": 0.0721,
                "key_pass": 0.7515,
                "rating": 6.7761,
                "minutes": 62.85,
                "total_pass": 15.8632,
                "accurate_pass": 11.452,
                "duels_won": 2.0426,
                "total_long_balls": 1.8509,
                "accurate_long_balls": 0.9142,
                "total_opp_half_passes": 9.8221,
                "accurate_opp_half_passes": 6.7109,
                "crosses_total": 1.088,
                "crosses_accurate": 0.6244,
                "touches": 28.0999,
                "possession_lost": 9.0272,
                "dispossessed": 1.1552,
                "duels_lost": 5.1447,
                "aerial_lost": 0.2653,
                "total_contest": 2.4753,
                "won_contest": 0.7694,
                "ball_recovery": 1.6193,
                "challenges_lost": 0.6244,
                "fouls": 1.3923,
                "fouls_drawn": 0.5034,
                "assist_rate": 0.1915,
                "assists": 0,
                "interceptions": 0.7288,
                "tackles_won": 0.4567,
                "tackles": 0.4572,
                "clearances": 0.3122,
                "blocks": 0.0,
                "big_chances_created": 0.5039,
                "big_chances_missed": 0.2965,
                "xgot": 0.2543,
                "offsides": 0.0,
                "ball_carries": 7.3484,
                "total_progression": 15.6353,
                "progressive_carries": 1.9898,
                "shots_off_target": 0.9007,
                "duel_xg_multiplier": 0.9496,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1584,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1413,
                  "after": 0.1321
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0658,
                  "after": 0.0721
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.1321,
                "goal_rate": 0.1716,
                "goals": 0,
                "shots_on_target": 0.5638,
                "total_shots": 1.4706,
                "expected_assists": 0.0721,
                "key_pass": 0.7515,
                "rating": 6.7761,
                "minutes": 62.85,
                "total_pass": 15.8632,
                "accurate_pass": 11.452,
                "duels_won": 2.0426,
                "total_long_balls": 1.8509,
                "accurate_long_balls": 0.9142,
                "total_opp_half_passes": 9.8221,
                "accurate_opp_half_passes": 6.7109,
                "crosses_total": 1.088,
                "crosses_accurate": 0.6244,
                "touches": 28.0999,
                "possession_lost": 9.0272,
                "dispossessed": 1.1552,
                "duels_lost": 5.1447,
                "aerial_lost": 0.2653,
                "total_contest": 2.4753,
                "won_contest": 0.7694,
                "ball_recovery": 1.6193,
                "challenges_lost": 0.6244,
                "fouls": 1.3923,
                "fouls_drawn": 0.5034,
                "assist_rate": 0.1915,
                "assists": 0,
                "interceptions": 0.7288,
                "tackles_won": 0.4567,
                "tackles": 0.4572,
                "clearances": 0.3122,
                "blocks": 0.0,
                "big_chances_created": 0.5039,
                "big_chances_missed": 0.2965,
                "xgot": 0.2543,
                "offsides": 0.0,
                "ball_carries": 7.3484,
                "total_progression": 15.6353,
                "progressive_carries": 1.9898,
                "shots_off_target": 0.9007,
                "duel_xg_multiplier": 0.9496,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1584,
                "creation_factor": 1.25,
                "fifa_overall": 74.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": 3861,
                "fifa_rank": 2888.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1321,
                "goal_rate": 0.1716,
                "goals": 0,
                "shots_on_target": 0.5638,
                "total_shots": 1.4706,
                "expected_assists": 0.0721,
                "key_pass": 0.7515,
                "rating": 6.7761,
                "minutes": 62.85,
                "total_pass": 15.8632,
                "accurate_pass": 11.452,
                "duels_won": 2.0426,
                "total_long_balls": 1.8509,
                "accurate_long_balls": 0.9142,
                "total_opp_half_passes": 9.8221,
                "accurate_opp_half_passes": 6.7109,
                "crosses_total": 1.088,
                "crosses_accurate": 0.6244,
                "touches": 28.0999,
                "possession_lost": 9.0272,
                "dispossessed": 1.1552,
                "duels_lost": 5.1447,
                "aerial_lost": 0.2653,
                "total_contest": 2.4753,
                "won_contest": 0.7694,
                "ball_recovery": 1.6193,
                "challenges_lost": 0.6244,
                "fouls": 1.3923,
                "fouls_drawn": 0.5034,
                "assist_rate": 0.1915,
                "assists": 0,
                "interceptions": 0.7288,
                "tackles_won": 0.4567,
                "tackles": 0.4572,
                "clearances": 0.3122,
                "blocks": 0.0,
                "big_chances_created": 0.5039,
                "big_chances_missed": 0.2965,
                "xgot": 0.2543,
                "offsides": 0.0,
                "ball_carries": 7.3484,
                "total_progression": 15.6353,
                "progressive_carries": 1.9898,
                "shots_off_target": 0.9007,
                "duel_xg_multiplier": 0.9496,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1237,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1584,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1237,
                "goal_rate": 0.1716,
                "scorer_weight": 0.153,
                "squad_weight_total": 1.0105,
                "weight_share": 0.1514,
                "finishing_factor": 1.1584,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1321,
                "goal_rate": 0.1716,
                "goals": 0,
                "shots_on_target": 0.5638,
                "total_shots": 1.4706,
                "expected_assists": 0.0721,
                "key_pass": 0.7515,
                "rating": 6.7761,
                "minutes": 62.85,
                "total_pass": 15.8632,
                "accurate_pass": 11.452,
                "duels_won": 2.0426,
                "total_long_balls": 1.8509,
                "accurate_long_balls": 0.9142,
                "total_opp_half_passes": 9.8221,
                "accurate_opp_half_passes": 6.7109,
                "crosses_total": 1.088,
                "crosses_accurate": 0.6244,
                "touches": 28.0999,
                "possession_lost": 9.0272,
                "dispossessed": 1.1552,
                "duels_lost": 5.1447,
                "aerial_lost": 0.2653,
                "total_contest": 2.4753,
                "won_contest": 0.7694,
                "ball_recovery": 1.6193,
                "challenges_lost": 0.6244,
                "fouls": 1.3923,
                "fouls_drawn": 0.5034,
                "assist_rate": 0.1915,
                "assists": 0,
                "interceptions": 0.7288,
                "tackles_won": 0.4567,
                "tackles": 0.4572,
                "clearances": 0.3122,
                "blocks": 0.0,
                "big_chances_created": 0.5039,
                "big_chances_missed": 0.2965,
                "xgot": 0.2543,
                "offsides": 0.0,
                "ball_carries": 7.3484,
                "total_progression": 15.6353,
                "progressive_carries": 1.9898,
                "shots_off_target": 0.9007,
                "duel_xg_multiplier": 0.9496,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1237,
                "projected_assists": 0,
                "assist_probability": 0.0696,
                "finishing_factor": 1.1584,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0696,
                "assist_rate": 0.1915,
                "provider_weight": 0.0901,
                "squad_weight_total": 0.6588,
                "weight_share": 0.1368,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12
              }
            }
          ]
        },
        "Javier Guerra": {
          "player_id": 1122610,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 187,
          "market_value": 26000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1305,
            "assist_rate": 0.1203,
            "assists": 0,
            "expected_goals": 0.158,
            "goal_rate": 0.2052,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 6.8584,
            "minutes": 82,
            "total_pass": 28,
            "accurate_pass": 21,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 11,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 46,
            "possession_lost": 14.8594,
            "dispossessed": 1.8004,
            "duels_lost": 6,
            "aerial_won": 1,
            "aerial_lost": 1,
            "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": 0,
            "big_chances_missed": 0,
            "xgot": 0.0876,
            "ball_carries": 14,
            "total_progression": 79,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.1485,
            "dribbles_attempted": 4,
            "dribbles_successful": 2.0,
            "crosses_attempted": 2.3,
            "duel_win_rate": 0.581,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Jesús Areso",
            "opponent_faced": "Jesús Areso",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1462,
            "projected_assists": 0,
            "assist_probability": 0.1223,
            "finishing_factor": 1.1658,
            "creation_factor": 1.0071,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 85,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2179,
                "expected_assists": 0.0142,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 34,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 9,
                "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": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3246,
                "expected_assists": 0.0112,
                "total_shots": 6,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 25,
                "accurate_pass": 16,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1159,
                "expected_assists": 0.2396,
                "total_shots": 2,
                "total_pass": 31,
                "accurate_pass": 23,
                "key_pass": 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": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 83,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0047,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 10,
                "key_pass": 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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 62,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 6,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 60,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.181,
                "expected_assists": 0.0099,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 27,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2196,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 34,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0707,
                "expected_assists": 0.0283,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 38,
                "accurate_pass": 27,
                "key_pass": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 89,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2783,
                "expected_assists": 0.0696,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 9.3,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9514,
                "expected_assists": 0.0313,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1314,
            "combined_rank_score": 499.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 571.0,
            "sofascore_rating": 6.8086,
            "sofascore_appearances": 36.0,
            "fifa_rank": 428.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8584,
            "source_file": "data/player_rankings.csv",
            "player_name": "Javier Guerra",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lukáš Haraslín",
                  "ranking": 1309
                },
                {
                  "player_name": "Marko Dmitrović",
                  "ranking": 1310
                },
                {
                  "player_name": "Tino Livramento",
                  "ranking": 1311
                },
                {
                  "player_name": "Yéremy Pino",
                  "ranking": 1312
                },
                {
                  "player_name": "Cecilio Waterman",
                  "ranking": 1313
                }
              ],
              "lower": [
                {
                  "player_name": "Pedro Gonçalves",
                  "ranking": 1315
                },
                {
                  "player_name": "Matheus Cunha",
                  "ranking": 1316
                },
                {
                  "player_name": "Pacha",
                  "ranking": 1317
                },
                {
                  "player_name": "Facundo Mater",
                  "ranking": 1318
                },
                {
                  "player_name": "Azzedine Ounahi",
                  "ranking": 1319
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.777,
          "history_matches": 44,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 44,
            "data_confidence": 0.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0055,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 239.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.13,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.18
            },
            "rationale": "XGBoost regressor (M_service) evaluated 44 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.18, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.189,
                "expected_assists": 0.1184,
                "assists": 0.1211,
                "assist_rate": 0.1211,
                "expected_goals": 0.1463,
                "goals": 0.1799,
                "goal_rate": 0.1799,
                "shots_on_target": 0.5969,
                "total_shots": 1.8606,
                "rating": 6.8584,
                "minutes": 81.69,
                "total_pass": 28.2193,
                "accurate_pass": 21.3436,
                "duels_won": 4.6949,
                "total_long_balls": 3.6467,
                "accurate_long_balls": 1.6842,
                "total_own_half_passes": 11.812,
                "accurate_own_half_passes": 10.3266,
                "total_opp_half_passes": 16.4073,
                "accurate_opp_half_passes": 11.0171,
                "crosses_total": 1.6062,
                "crosses_accurate": 0.4266,
                "touches": 46.1303,
                "possession_lost": 14.7781,
                "dispossessed": 1.7906,
                "duels_lost": 5.5552,
                "aerial_won": 0.6747,
                "aerial_lost": 0.7646,
                "interceptions": 0.559,
                "tackles_won": 0.5642,
                "tackles": 0.9436,
                "clearances": 0.5436,
                "total_contest": 3.8517,
                "won_contest": 2.1623,
                "challenges_lost": 0.775,
                "fouls": 0.5438,
                "fouls_drawn": 0.9144,
                "blocks": 0.0935,
                "big_chances_created": 0.3536,
                "big_chances_missed": 0.1903,
                "xgot": 0.0812,
                "ball_carries": 14.3535,
                "total_progression": 78.5565,
                "progressive_carries": 1.9947,
                "shots_off_target": 1.2636
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 9.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 2.0878,
                  "creative_index": 0.4592,
                  "expectedGoals": 0.1632,
                  "expectedAssists": 0.0727,
                  "onTargetScoringAttempt": 0.3525
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1890379190444946,
                    "model_output": 1.189,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1245
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0398
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0361
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.0261
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0258
                        }
                      ],
                      "others": 0.0437,
                      "total": 1.189,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.13054
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.038385
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.033577
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.023592
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.022805
                        }
                      ],
                      "others_margin": 0.037433
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11842402815818787,
                    "model_output": 0.1184,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.008
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0045
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0038
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0033
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0034
                        }
                      ],
                      "others": 0.0098,
                      "total": 0.1184,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.089215
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.046985
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.037716
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.031754
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.031734
                        }
                      ],
                      "others_margin": 0.086714
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.12113405019044876,
                    "model_output": 0.1211,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0101
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0072
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0076
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0068
                        }
                      ],
                      "others": 0.0082,
                      "total": 0.1211,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.109575
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.071608
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.070601
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.065128
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.058227
                        }
                      ],
                      "others_margin": 0.06953
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1463179737329483,
                    "model_output": 0.1463,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0265
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0235
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0164
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0155
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0047
                        }
                      ],
                      "others": 0.0058,
                      "total": 0.1463,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.247568
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.177492
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.10743
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.101425
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.033023
                        }
                      ],
                      "others_margin": 0.041312
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17994847893714905,
                    "model_output": 0.1799,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0398
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0289
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0275
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0142
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0073
                        }
                      ],
                      "others": 0.0194,
                      "total": 0.1799,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.341372
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.190567
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.180851
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.097499
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.046697
                        }
                      ],
                      "others_margin": 0.114577
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5969254374504089,
                    "model_output": 0.5969,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1026
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0785
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0753
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0441
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0154
                        }
                      ],
                      "others": 0.0435,
                      "total": 0.5969,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.273824
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.168255
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.138558
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.078761
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.02828
                        }
                      ],
                      "others_margin": 0.075569
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.860562801361084,
                    "model_output": 1.8606,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.605
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1687
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0695
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.049
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0429
                        }
                      ],
                      "others": 0.0158,
                      "total": 1.8606,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.604992
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.168733
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.069549
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.048998
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.042901
                        }
                      ],
                      "others_margin": 0.015657
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.858428001403809,
                    "model_output": 6.8584,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.027
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0242
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0184
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0164
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0131
                        }
                      ],
                      "others": 0.002,
                      "total": 6.8584,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.026992
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.024206
                        },
                        {
                          "name": "rating",
                          "margin": -0.01843
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.016355
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.013065
                        }
                      ],
                      "others_margin": 0.002026
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 44,
                  "role_matches": 33,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0055, quality 0.686)",
              "stats": {
                "key_pass": 1.1956,
                "expected_assists": 0.1191,
                "assists": 0.1218,
                "assist_rate": 0.1218,
                "expected_goals": 0.1471,
                "goals": 0.1809,
                "goal_rate": 0.1809,
                "shots_on_target": 0.6002,
                "total_shots": 1.8708,
                "rating": 6.8584,
                "minutes": 81.69,
                "total_pass": 28.3745,
                "accurate_pass": 21.461,
                "duels_won": 4.7207,
                "total_long_balls": 3.6668,
                "accurate_long_balls": 1.6935,
                "total_own_half_passes": 11.877,
                "accurate_own_half_passes": 10.3834,
                "total_opp_half_passes": 16.4975,
                "accurate_opp_half_passes": 11.0777,
                "crosses_total": 1.615,
                "crosses_accurate": 0.4289,
                "touches": 46.384,
                "possession_lost": 14.8594,
                "dispossessed": 1.8004,
                "duels_lost": 5.5858,
                "aerial_won": 0.6784,
                "aerial_lost": 0.7688,
                "interceptions": 0.5621,
                "tackles_won": 0.5673,
                "tackles": 0.9488,
                "clearances": 0.5466,
                "total_contest": 3.8729,
                "won_contest": 2.1742,
                "challenges_lost": 0.7793,
                "fouls": 0.5468,
                "fouls_drawn": 0.9194,
                "blocks": 0.094,
                "big_chances_created": 0.3555,
                "big_chances_missed": 0.1913,
                "xgot": 0.0816,
                "ball_carries": 14.4324,
                "total_progression": 78.9886,
                "progressive_carries": 2.0057,
                "shots_off_target": 1.2705
              },
              "params": {
                "market_value_eur": 26000000,
                "quality_factor": 0.6858,
                "boost_factor": 1.0055,
                "reference_quality": 0.505,
                "history_matches": 44,
                "history_shrink": 0.102,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0119)",
              "stats": {
                "key_pass": 1.1956,
                "expected_assists": 0.1191,
                "assists": 0.1203,
                "assist_rate": 0.1203,
                "expected_goals": 0.1471,
                "goals": 0.1787,
                "goal_rate": 0.1787,
                "shots_on_target": 0.593,
                "total_shots": 1.8607,
                "rating": 6.8584,
                "minutes": 81.69,
                "total_pass": 28.3745,
                "accurate_pass": 21.461,
                "duels_won": 4.7207,
                "total_long_balls": 3.6668,
                "accurate_long_balls": 1.6935,
                "total_own_half_passes": 11.877,
                "accurate_own_half_passes": 10.3834,
                "total_opp_half_passes": 16.4975,
                "accurate_opp_half_passes": 11.0777,
                "crosses_total": 1.6238,
                "crosses_accurate": 0.4289,
                "touches": 46.384,
                "possession_lost": 14.8594,
                "dispossessed": 1.8004,
                "duels_lost": 5.5858,
                "aerial_won": 0.6784,
                "aerial_lost": 0.7688,
                "interceptions": 0.5594,
                "tackles_won": 0.5686,
                "tackles": 0.9488,
                "clearances": 0.5466,
                "total_contest": 3.8729,
                "won_contest": 2.1742,
                "challenges_lost": 0.7793,
                "fouls": 0.5403,
                "fouls_drawn": 0.9205,
                "blocks": 0.094,
                "big_chances_created": 0.3555,
                "big_chances_missed": 0.1913,
                "xgot": 0.0816,
                "ball_carries": 14.4324,
                "total_progression": 78.9886,
                "progressive_carries": 2.0057,
                "shots_off_target": 1.2705
              },
              "params": {
                "blend_weight": 0.0119,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9077,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.8708,
                  "after": 1.8607
                },
                {
                  "stat": "totalCross",
                  "before": 1.615,
                  "after": 1.6238
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6002,
                  "after": 0.593
                },
                {
                  "stat": "fouls",
                  "before": 0.5468,
                  "after": 0.5403
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.1956,
                "expected_assists": 0.1191,
                "assists": 0.1203,
                "assist_rate": 0.1203,
                "expected_goals": 0.1471,
                "goals": 0.1787,
                "goal_rate": 0.1787,
                "shots_on_target": 0.593,
                "total_shots": 1.8635,
                "rating": 6.8584,
                "minutes": 81.69,
                "total_pass": 28.3745,
                "accurate_pass": 21.461,
                "duels_won": 4.7207,
                "total_long_balls": 3.6668,
                "accurate_long_balls": 1.6935,
                "total_own_half_passes": 11.877,
                "accurate_own_half_passes": 10.3834,
                "total_opp_half_passes": 16.4975,
                "accurate_opp_half_passes": 11.0777,
                "crosses_total": 1.6238,
                "crosses_accurate": 0.4289,
                "touches": 46.384,
                "possession_lost": 14.8594,
                "dispossessed": 1.8004,
                "duels_lost": 5.5858,
                "aerial_won": 0.6784,
                "aerial_lost": 0.7688,
                "interceptions": 0.5594,
                "tackles_won": 0.5686,
                "tackles": 0.9488,
                "clearances": 0.5466,
                "total_contest": 3.8729,
                "won_contest": 2.1742,
                "challenges_lost": 0.7793,
                "fouls": 0.5403,
                "fouls_drawn": 0.9205,
                "blocks": 0.094,
                "big_chances_created": 0.3555,
                "big_chances_missed": 0.1913,
                "xgot": 0.0816,
                "ball_carries": 14.4324,
                "total_progression": 78.9886,
                "progressive_carries": 2.0057,
                "shots_off_target": 1.2705
              },
              "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.1956,
                "expected_assists": 0.1191,
                "assists": 0.1203,
                "assist_rate": 0.1203,
                "expected_goals": 0.1689,
                "goals": 0.2052,
                "goal_rate": 0.2052,
                "shots_on_target": 0.6811,
                "total_shots": 2.1403,
                "rating": 6.8584,
                "minutes": 81.69,
                "total_pass": 28.3745,
                "accurate_pass": 21.461,
                "duels_won": 4.7207,
                "total_long_balls": 3.6668,
                "accurate_long_balls": 1.6935,
                "total_own_half_passes": 11.877,
                "accurate_own_half_passes": 10.3834,
                "total_opp_half_passes": 16.4975,
                "accurate_opp_half_passes": 11.0777,
                "crosses_total": 1.6238,
                "crosses_accurate": 0.4289,
                "touches": 46.384,
                "possession_lost": 14.8594,
                "dispossessed": 1.8004,
                "duels_lost": 5.5858,
                "aerial_won": 1.2,
                "aerial_lost": 0.7688,
                "interceptions": 0.5594,
                "tackles_won": 0.5686,
                "tackles": 0.9488,
                "clearances": 0.5466,
                "total_contest": 3.8729,
                "won_contest": 2.1742,
                "challenges_lost": 0.7793,
                "fouls": 0.5403,
                "fouls_drawn": 0.9205,
                "blocks": 0.094,
                "big_chances_created": 0.3555,
                "big_chances_missed": 0.2197,
                "xgot": 0.0937,
                "ball_carries": 14.4324,
                "total_progression": 78.9886,
                "progressive_carries": 2.0057,
                "shots_off_target": 1.4592,
                "duel_xg_multiplier": 1.1485,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.0,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.581,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jesús Areso",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.581,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1485,
                  "skill_edge": 0.085,
                  "height_edge": 0.016,
                  "attacker_skill": 0.6858,
                  "defender_skill": 0.497,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jesús Areso",
                      "market_value": 5500000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.497
                    }
                  ],
                  "xg_override": 0.1689
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.6784,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 1.8635,
                  "after": 2.1403
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2705,
                  "after": 1.4592
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.593,
                  "after": 0.6811
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1913,
                  "after": 0.2197
                },
                {
                  "stat": "goals",
                  "before": 0.1787,
                  "after": 0.2052
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1471,
                  "after": 0.1689
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0816,
                  "after": 0.0937
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.1956,
                "expected_assists": 0.1191,
                "assist_rate": 0.1203,
                "assists": 0,
                "expected_goals": 0.1689,
                "goal_rate": 0.2052,
                "goals": 0,
                "shots_on_target": 0.6811,
                "total_shots": 2.1403,
                "rating": 6.8584,
                "minutes": 81.69,
                "total_pass": 28.3745,
                "accurate_pass": 21.461,
                "duels_won": 4.7207,
                "total_long_balls": 3.6668,
                "accurate_long_balls": 1.6935,
                "total_own_half_passes": 11.877,
                "accurate_own_half_passes": 10.3834,
                "total_opp_half_passes": 16.4975,
                "accurate_opp_half_passes": 11.0777,
                "crosses_total": 1.6238,
                "crosses_accurate": 0.4289,
                "touches": 46.384,
                "possession_lost": 14.8594,
                "dispossessed": 1.8004,
                "duels_lost": 5.5858,
                "aerial_won": 1.2,
                "aerial_lost": 0.7688,
                "interceptions": 0.5594,
                "tackles_won": 0.5686,
                "tackles": 0.9488,
                "clearances": 0.5466,
                "total_contest": 3.8729,
                "won_contest": 2.1742,
                "challenges_lost": 0.7793,
                "fouls": 0.5403,
                "fouls_drawn": 0.9205,
                "blocks": 0.094,
                "big_chances_created": 0.3555,
                "big_chances_missed": 0.2197,
                "xgot": 0.0937,
                "ball_carries": 14.4324,
                "total_progression": 78.9886,
                "progressive_carries": 2.0057,
                "shots_off_target": 1.4592,
                "duel_xg_multiplier": 1.1485,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.0,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.581,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.1956,
                "expected_assists": 0.1305,
                "assist_rate": 0.1203,
                "assists": 0,
                "expected_goals": 0.158,
                "goal_rate": 0.2052,
                "goals": 0,
                "shots_on_target": 0.6811,
                "total_shots": 2.1403,
                "rating": 6.8584,
                "minutes": 81.69,
                "total_pass": 28.3745,
                "accurate_pass": 21.461,
                "duels_won": 4.7207,
                "total_long_balls": 3.6668,
                "accurate_long_balls": 1.6935,
                "total_own_half_passes": 11.877,
                "accurate_own_half_passes": 10.3834,
                "total_opp_half_passes": 16.4975,
                "accurate_opp_half_passes": 11.0777,
                "crosses_total": 1.6238,
                "crosses_accurate": 0.4289,
                "touches": 46.384,
                "possession_lost": 14.8594,
                "dispossessed": 1.8004,
                "duels_lost": 5.5858,
                "aerial_won": 1.2,
                "aerial_lost": 0.7688,
                "interceptions": 0.5594,
                "tackles_won": 0.5686,
                "tackles": 0.9488,
                "clearances": 0.5466,
                "total_contest": 3.8729,
                "won_contest": 2.1742,
                "challenges_lost": 0.7793,
                "fouls": 0.5403,
                "fouls_drawn": 0.9205,
                "blocks": 0.094,
                "big_chances_created": 0.3555,
                "big_chances_missed": 0.2197,
                "xgot": 0.0876,
                "ball_carries": 14.4324,
                "total_progression": 78.9886,
                "progressive_carries": 2.0057,
                "shots_off_target": 1.4592,
                "duel_xg_multiplier": 1.1485,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.0,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.581,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1658,
                "creation_factor": 1.0071
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1689,
                  "after": 0.158
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1191,
                  "after": 0.1305
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 82.0)",
              "stats": {
                "key_pass": 1.1956,
                "expected_assists": 0.1305,
                "assist_rate": 0.1203,
                "assists": 0,
                "expected_goals": 0.158,
                "goal_rate": 0.2052,
                "goals": 0,
                "shots_on_target": 0.6811,
                "total_shots": 2.1403,
                "rating": 6.8584,
                "minutes": 81.69,
                "total_pass": 28.3745,
                "accurate_pass": 21.461,
                "duels_won": 4.7207,
                "total_long_balls": 3.6668,
                "accurate_long_balls": 1.6935,
                "total_own_half_passes": 11.877,
                "accurate_own_half_passes": 10.3834,
                "total_opp_half_passes": 16.4975,
                "accurate_opp_half_passes": 11.0777,
                "crosses_total": 1.6238,
                "crosses_accurate": 0.4289,
                "touches": 46.384,
                "possession_lost": 14.8594,
                "dispossessed": 1.8004,
                "duels_lost": 5.5858,
                "aerial_won": 1.2,
                "aerial_lost": 0.7688,
                "interceptions": 0.5594,
                "tackles_won": 0.5686,
                "tackles": 0.9488,
                "clearances": 0.5466,
                "total_contest": 3.8729,
                "won_contest": 2.1742,
                "challenges_lost": 0.7793,
                "fouls": 0.5403,
                "fouls_drawn": 0.9205,
                "blocks": 0.094,
                "big_chances_created": 0.3555,
                "big_chances_missed": 0.2197,
                "xgot": 0.0876,
                "ball_carries": 14.4324,
                "total_progression": 78.9886,
                "progressive_carries": 2.0057,
                "shots_off_target": 1.4592,
                "duel_xg_multiplier": 1.1485,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.0,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.581,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1658,
                "creation_factor": 1.0071,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1314,
                "fifa_rank": 428.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.1956,
                "expected_assists": 0.1305,
                "assist_rate": 0.1203,
                "assists": 0,
                "expected_goals": 0.158,
                "goal_rate": 0.2052,
                "goals": 0,
                "shots_on_target": 0.6811,
                "total_shots": 2.1403,
                "rating": 6.8584,
                "minutes": 81.69,
                "total_pass": 28.3745,
                "accurate_pass": 21.461,
                "duels_won": 4.7207,
                "total_long_balls": 3.6668,
                "accurate_long_balls": 1.6935,
                "total_own_half_passes": 11.877,
                "accurate_own_half_passes": 10.3834,
                "total_opp_half_passes": 16.4975,
                "accurate_opp_half_passes": 11.0777,
                "crosses_total": 1.6238,
                "crosses_accurate": 0.4289,
                "touches": 46.384,
                "possession_lost": 14.8594,
                "dispossessed": 1.8004,
                "duels_lost": 5.5858,
                "aerial_won": 1.2,
                "aerial_lost": 0.7688,
                "interceptions": 0.5594,
                "tackles_won": 0.5686,
                "tackles": 0.9488,
                "clearances": 0.5466,
                "total_contest": 3.8729,
                "won_contest": 2.1742,
                "challenges_lost": 0.7793,
                "fouls": 0.5403,
                "fouls_drawn": 0.9205,
                "blocks": 0.094,
                "big_chances_created": 0.3555,
                "big_chances_missed": 0.2197,
                "xgot": 0.0876,
                "ball_carries": 14.4324,
                "total_progression": 78.9886,
                "progressive_carries": 2.0057,
                "shots_off_target": 1.4592,
                "duel_xg_multiplier": 1.1485,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.0,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.581,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1462,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1658,
                "creation_factor": 1.0071,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1462,
                "goal_rate": 0.2052,
                "scorer_weight": 0.1842,
                "squad_weight_total": 1.0105,
                "weight_share": 0.1823,
                "finishing_factor": 1.1658,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1.1956,
                "expected_assists": 0.1305,
                "assist_rate": 0.1203,
                "assists": 0,
                "expected_goals": 0.158,
                "goal_rate": 0.2052,
                "goals": 0,
                "shots_on_target": 0.6811,
                "total_shots": 2.1403,
                "rating": 6.8584,
                "minutes": 81.69,
                "total_pass": 28.3745,
                "accurate_pass": 21.461,
                "duels_won": 4.7207,
                "total_long_balls": 3.6668,
                "accurate_long_balls": 1.6935,
                "total_own_half_passes": 11.877,
                "accurate_own_half_passes": 10.3834,
                "total_opp_half_passes": 16.4975,
                "accurate_opp_half_passes": 11.0777,
                "crosses_total": 1.6238,
                "crosses_accurate": 0.4289,
                "touches": 46.384,
                "possession_lost": 14.8594,
                "dispossessed": 1.8004,
                "duels_lost": 5.5858,
                "aerial_won": 1.2,
                "aerial_lost": 0.7688,
                "interceptions": 0.5594,
                "tackles_won": 0.5686,
                "tackles": 0.9488,
                "clearances": 0.5466,
                "total_contest": 3.8729,
                "won_contest": 2.1742,
                "challenges_lost": 0.7793,
                "fouls": 0.5403,
                "fouls_drawn": 0.9205,
                "blocks": 0.094,
                "big_chances_created": 0.3555,
                "big_chances_missed": 0.2197,
                "xgot": 0.0876,
                "ball_carries": 14.4324,
                "total_progression": 78.9886,
                "progressive_carries": 2.0057,
                "shots_off_target": 1.4592,
                "duel_xg_multiplier": 1.1485,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.0,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.581,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1462,
                "projected_assists": 0,
                "assist_probability": 0.1223,
                "finishing_factor": 1.1658,
                "creation_factor": 1.0071,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1223,
                "assist_rate": 0.1203,
                "provider_weight": 0.1314,
                "squad_weight_total": 0.6588,
                "weight_share": 0.1995,
                "creation_factor": 1.0071,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12
              }
            }
          ]
        },
        "Guido Rodríguez": {
          "player_id": 609752,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 2,
          "height": 185,
          "market_value": 3600000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0393,
            "assist_rate": 0.0549,
            "assists": 0,
            "expected_goals": 0.0534,
            "goal_rate": 0.0744,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0376,
            "minutes": 85,
            "total_pass": 46,
            "accurate_pass": 40,
            "duels_won": 8,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 23,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 17,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 63,
            "possession_lost": 9.4619,
            "dispossessed": 1.0672,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 2,
            "tackles": 3,
            "clearances": 3,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 2,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0456,
            "ball_carries": 12,
            "total_progression": 17,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0748,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.471,
            "pressing_faced": "LOW",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iñigo Ruiz de Galarreta",
            "opponent_faced": "Iñigo Ruiz de Galarreta",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.052,
            "projected_assists": 0,
            "assist_probability": 0.0385,
            "finishing_factor": 1.1615,
            "creation_factor": 1.2212,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 34,
                "tackles": 6,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "duels_won": 11,
                "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": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 69,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0079,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 4,
                "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": "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": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 70,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0485,
                "expected_assists": 0.0247,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 35,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 2,
                "aerial_won": 3,
                "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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 88,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0138,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 43,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 4,
                "clearances": 1,
                "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"
            },
            {
              "match_id": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0216,
                "expected_assists": 0.0158,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 67,
                "accurate_pass": 60,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0624,
                "expected_assists": 0.0058,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 25,
                "accurate_pass": 21,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 8.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0705,
                "expected_assists": 0.0119,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 53,
                "accurate_pass": 45,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 9,
                "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": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.021,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 46,
                "tackles": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0093,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 35,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 5,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1184,
                "expected_assists": 0.4009,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 50,
                "accurate_pass": 43,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 6,
                "ball_recovery": 8
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1819,
            "combined_rank_score": 701.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 172.0,
            "sofascore_rating": 7.25,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1231.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0376,
            "source_file": "data/player_rankings.csv",
            "player_name": "Guido Rodríguez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jae-hun Cho",
                  "ranking": 1814
                },
                {
                  "player_name": "Abulfayz Bobomurodov",
                  "ranking": 1815
                },
                {
                  "player_name": "Alejandro Rego Mora",
                  "ranking": 1816
                },
                {
                  "player_name": "Alejandro Balde",
                  "ranking": 1817
                },
                {
                  "player_name": "José Luis Morales",
                  "ranking": 1818
                }
              ],
              "lower": [
                {
                  "player_name": "Wesley Fofana",
                  "ranking": 1820
                },
                {
                  "player_name": "Marten de Roon",
                  "ranking": 1821
                },
                {
                  "player_name": "Florentino Luís",
                  "ranking": 1822
                },
                {
                  "player_name": "Benjamin André",
                  "ranking": 1823
                },
                {
                  "player_name": "Konstantinos Mavropanos",
                  "ranking": 1824
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 27,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 27,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9972,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 177.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.51,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (M_service) evaluated 27 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4814,
                "expected_assists": 0.036,
                "assists": 0.0559,
                "assist_rate": 0.0559,
                "expected_goals": 0.0532,
                "goals": 0.0704,
                "goal_rate": 0.0704,
                "shots_on_target": 0.1731,
                "total_shots": 0.7033,
                "rating": 7.0376,
                "minutes": 84.62,
                "total_pass": 46.5788,
                "accurate_pass": 39.7457,
                "duels_won": 7.5323,
                "total_long_balls": 5.3591,
                "accurate_long_balls": 3.2217,
                "total_own_half_passes": 25.4387,
                "accurate_own_half_passes": 22.9813,
                "total_opp_half_passes": 21.1401,
                "accurate_opp_half_passes": 16.7644,
                "crosses_total": 0.2284,
                "crosses_accurate": 0.0115,
                "touches": 63.4081,
                "possession_lost": 9.4885,
                "dispossessed": 1.0702,
                "duels_lost": 4.9831,
                "aerial_won": 1.1463,
                "aerial_lost": 0.7973,
                "interceptions": 1.1941,
                "tackles_won": 1.9936,
                "tackles": 3.4991,
                "clearances": 2.6875,
                "total_contest": 1.1944,
                "won_contest": 0.6819,
                "challenges_lost": 1.1894,
                "fouls": 1.5522,
                "fouls_drawn": 2.205,
                "blocks": 0.5057,
                "big_chances_created": 0.0363,
                "big_chances_missed": 0.0,
                "xgot": 0.0455,
                "ball_carries": 12.2853,
                "total_progression": 17.0507,
                "progressive_carries": 0.2935,
                "shots_off_target": 0.5302
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.1097,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0933,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0793,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 8.4
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0414,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.5941,
                  "creative_index": 0.1741,
                  "expectedGoals": 0.0352,
                  "expectedAssists": 0.0294,
                  "onTargetScoringAttempt": 0.2706
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.48143109679222107,
                    "model_output": 0.4814,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1043
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1039
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0922
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0818
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0456
                        }
                      ],
                      "others": -0.1916,
                      "total": 0.4814,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.12414
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123755
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.109064
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.107821
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065566
                        }
                      ],
                      "others_margin": -0.334967
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03602306917309761,
                    "model_output": 0.036,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0187
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0111
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0083
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0068
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0139,
                      "total": 0.036,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.246362
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.181904
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.161109
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.133955
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.085014
                        }
                      ],
                      "others_margin": -0.325562
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05589577928185463,
                    "model_output": 0.0559,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0068
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0067
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.006
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.005
                        }
                      ],
                      "others": -0.02,
                      "total": 0.0559,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.124141
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.092311
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.091391
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.080855
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.067549
                        }
                      ],
                      "others_margin": -0.306825
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05322842672467232,
                    "model_output": 0.0532,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.013
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0109
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.009
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0089
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.007
                        }
                      ],
                      "others": -0.0103,
                      "total": 0.0532,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.148847
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.144716
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12051
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.119456
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.105529
                        }
                      ],
                      "others_margin": -0.173798
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07039280980825424,
                    "model_output": 0.0704,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0145
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0116
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0075
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0062
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0028
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.0704,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.16074
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.149577
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.099661
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.080828
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.03793
                        }
                      ],
                      "others_margin": -0.075162
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.17305783927440643,
                    "model_output": 0.1731,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0665
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0488
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0269
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0218
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0127
                        }
                      ],
                      "others": -0.0195,
                      "total": 0.1731,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.228401
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.208638
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.136857
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112254
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.063674
                        }
                      ],
                      "others_margin": -0.107124
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7032636404037476,
                    "model_output": 0.7033,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2216
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.117
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0439
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0434
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0253
                        }
                      ],
                      "others": -0.1256,
                      "total": 0.7033,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.221646
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117046
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.043859
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.043433
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.025278
                        }
                      ],
                      "others_margin": -0.125657
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.037600040435791,
                    "model_output": 7.0376,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1438
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0593
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0307
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0143
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0137
                        }
                      ],
                      "others": -0.0213,
                      "total": 7.0376,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.143791
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.059328
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.030731
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.014312
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.013679
                        }
                      ],
                      "others_margin": -0.021315
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 27,
                  "role_matches": 21,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9972, quality 0.445)",
              "stats": {
                "key_pass": 0.4801,
                "expected_assists": 0.0359,
                "assists": 0.0557,
                "assist_rate": 0.0557,
                "expected_goals": 0.0531,
                "goals": 0.0702,
                "goal_rate": 0.0702,
                "shots_on_target": 0.1726,
                "total_shots": 0.7013,
                "rating": 7.0376,
                "minutes": 84.62,
                "total_pass": 46.4484,
                "accurate_pass": 39.6344,
                "duels_won": 7.5112,
                "total_long_balls": 5.3441,
                "accurate_long_balls": 3.2127,
                "total_own_half_passes": 25.3675,
                "accurate_own_half_passes": 22.917,
                "total_opp_half_passes": 21.0809,
                "accurate_opp_half_passes": 16.7175,
                "crosses_total": 0.2278,
                "crosses_accurate": 0.0115,
                "touches": 63.2306,
                "possession_lost": 9.4619,
                "dispossessed": 1.0672,
                "duels_lost": 4.9691,
                "aerial_won": 1.1431,
                "aerial_lost": 0.7951,
                "interceptions": 1.1908,
                "tackles_won": 1.988,
                "tackles": 3.4893,
                "clearances": 2.68,
                "total_contest": 1.1911,
                "won_contest": 0.68,
                "challenges_lost": 1.1861,
                "fouls": 1.5479,
                "fouls_drawn": 2.1988,
                "blocks": 0.5043,
                "big_chances_created": 0.0362,
                "big_chances_missed": 0.0,
                "xgot": 0.0454,
                "ball_carries": 12.2509,
                "total_progression": 17.003,
                "progressive_carries": 0.2927,
                "shots_off_target": 0.5287
              },
              "params": {
                "market_value_eur": 3600000,
                "quality_factor": 0.4449,
                "boost_factor": 0.9972,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0135)",
              "stats": {
                "key_pass": 0.4801,
                "expected_assists": 0.0359,
                "assists": 0.0549,
                "assist_rate": 0.0549,
                "expected_goals": 0.0531,
                "goals": 0.0692,
                "goal_rate": 0.0692,
                "shots_on_target": 0.1768,
                "total_shots": 0.6983,
                "rating": 7.0376,
                "minutes": 84.62,
                "total_pass": 46.4484,
                "accurate_pass": 39.6344,
                "duels_won": 7.5112,
                "total_long_balls": 5.3441,
                "accurate_long_balls": 3.2127,
                "total_own_half_passes": 25.3675,
                "accurate_own_half_passes": 22.917,
                "total_opp_half_passes": 21.0809,
                "accurate_opp_half_passes": 16.7175,
                "crosses_total": 0.2247,
                "crosses_accurate": 0.0115,
                "touches": 63.2306,
                "possession_lost": 9.4619,
                "dispossessed": 1.0672,
                "duels_lost": 4.9691,
                "aerial_won": 1.1431,
                "aerial_lost": 0.7951,
                "interceptions": 1.2065,
                "tackles_won": 1.9802,
                "tackles": 3.4893,
                "clearances": 2.68,
                "total_contest": 1.1911,
                "won_contest": 0.68,
                "challenges_lost": 1.1861,
                "fouls": 1.5524,
                "fouls_drawn": 2.1945,
                "blocks": 0.5043,
                "big_chances_created": 0.0362,
                "big_chances_missed": 0.0,
                "xgot": 0.0454,
                "ball_carries": 12.2509,
                "total_progression": 17.003,
                "progressive_carries": 0.2927,
                "shots_off_target": 0.5287
              },
              "params": {
                "blend_weight": 0.0135,
                "history_matches": 27,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9402,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.1908,
                  "after": 1.2065
                },
                {
                  "stat": "wonTackle",
                  "before": 1.988,
                  "after": 1.9802
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4801,
                "expected_assists": 0.0359,
                "assists": 0.0549,
                "assist_rate": 0.0549,
                "expected_goals": 0.0531,
                "goals": 0.0692,
                "goal_rate": 0.0692,
                "shots_on_target": 0.1768,
                "total_shots": 0.7055,
                "rating": 7.0376,
                "minutes": 84.62,
                "total_pass": 46.4484,
                "accurate_pass": 39.6344,
                "duels_won": 7.5112,
                "total_long_balls": 5.3441,
                "accurate_long_balls": 3.2127,
                "total_own_half_passes": 25.3675,
                "accurate_own_half_passes": 22.917,
                "total_opp_half_passes": 21.0809,
                "accurate_opp_half_passes": 16.7175,
                "crosses_total": 0.2247,
                "crosses_accurate": 0.0115,
                "touches": 63.2306,
                "possession_lost": 9.4619,
                "dispossessed": 1.0672,
                "duels_lost": 4.9691,
                "aerial_won": 1.1431,
                "aerial_lost": 0.7951,
                "interceptions": 1.2065,
                "tackles_won": 1.9802,
                "tackles": 3.4893,
                "clearances": 2.68,
                "total_contest": 1.1911,
                "won_contest": 0.68,
                "challenges_lost": 1.1861,
                "fouls": 1.5524,
                "fouls_drawn": 2.1945,
                "blocks": 0.5043,
                "big_chances_created": 0.0362,
                "big_chances_missed": 0.0,
                "xgot": 0.0454,
                "ball_carries": 12.2509,
                "total_progression": 17.003,
                "progressive_carries": 0.2927,
                "shots_off_target": 0.5287
              },
              "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.4801,
                "expected_assists": 0.0359,
                "assists": 0.0549,
                "assist_rate": 0.0549,
                "expected_goals": 0.0571,
                "goals": 0.0744,
                "goal_rate": 0.0744,
                "shots_on_target": 0.19,
                "total_shots": 0.7583,
                "rating": 7.0376,
                "minutes": 84.62,
                "total_pass": 46.4484,
                "accurate_pass": 39.6344,
                "duels_won": 7.5112,
                "total_long_balls": 5.3441,
                "accurate_long_balls": 3.2127,
                "total_own_half_passes": 25.3675,
                "accurate_own_half_passes": 22.917,
                "total_opp_half_passes": 21.0809,
                "accurate_opp_half_passes": 16.7175,
                "crosses_total": 0.2247,
                "crosses_accurate": 0.0115,
                "touches": 63.2306,
                "possession_lost": 9.4619,
                "dispossessed": 1.0672,
                "duels_lost": 4.9691,
                "aerial_won": 1.2,
                "aerial_lost": 0.7951,
                "interceptions": 1.2065,
                "tackles_won": 1.9802,
                "tackles": 3.4893,
                "clearances": 2.68,
                "total_contest": 1.1911,
                "won_contest": 0.68,
                "challenges_lost": 1.1861,
                "fouls": 1.5524,
                "fouls_drawn": 2.1945,
                "blocks": 0.5043,
                "big_chances_created": 0.0362,
                "big_chances_missed": 0.0,
                "xgot": 0.0488,
                "ball_carries": 12.2509,
                "total_progression": 17.003,
                "progressive_carries": 0.2927,
                "shots_off_target": 0.5682,
                "duel_xg_multiplier": 1.0748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.471,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñigo Ruiz de Galarreta",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.471,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0748,
                  "skill_edge": 0.0069,
                  "height_edge": 0.044,
                  "attacker_skill": 0.4527,
                  "defender_skill": 0.4374,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iñigo Ruiz de Galarreta",
                      "market_value": 1800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.0571
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.1431,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.7055,
                  "after": 0.7583
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.5287,
                  "after": 0.5682
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1768,
                  "after": 0.19
                },
                {
                  "stat": "goals",
                  "before": 0.0692,
                  "after": 0.0744
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.4801,
                "expected_assists": 0.0359,
                "assist_rate": 0.0549,
                "assists": 0,
                "expected_goals": 0.0571,
                "goal_rate": 0.0744,
                "goals": 0,
                "shots_on_target": 0.19,
                "total_shots": 0.7583,
                "rating": 7.0376,
                "minutes": 84.62,
                "total_pass": 46.4484,
                "accurate_pass": 39.6344,
                "duels_won": 7.5112,
                "total_long_balls": 5.3441,
                "accurate_long_balls": 3.2127,
                "total_own_half_passes": 25.3675,
                "accurate_own_half_passes": 22.917,
                "total_opp_half_passes": 21.0809,
                "accurate_opp_half_passes": 16.7175,
                "crosses_total": 0.2247,
                "crosses_accurate": 0.0115,
                "touches": 63.2306,
                "possession_lost": 9.4619,
                "dispossessed": 1.0672,
                "duels_lost": 4.9691,
                "aerial_won": 1.2,
                "aerial_lost": 0.7951,
                "interceptions": 1.2065,
                "tackles_won": 1.9802,
                "tackles": 3.4893,
                "clearances": 2.68,
                "total_contest": 1.1911,
                "won_contest": 0.68,
                "challenges_lost": 1.1861,
                "fouls": 1.5524,
                "fouls_drawn": 2.1945,
                "blocks": 0.5043,
                "big_chances_created": 0.0362,
                "big_chances_missed": 0.0,
                "xgot": 0.0488,
                "ball_carries": 12.2509,
                "total_progression": 17.003,
                "progressive_carries": 0.2927,
                "shots_off_target": 0.5682,
                "duel_xg_multiplier": 1.0748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.471,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.4801,
                "expected_assists": 0.0393,
                "assist_rate": 0.0549,
                "assists": 0,
                "expected_goals": 0.0534,
                "goal_rate": 0.0744,
                "goals": 0,
                "shots_on_target": 0.19,
                "total_shots": 0.7583,
                "rating": 7.0376,
                "minutes": 84.62,
                "total_pass": 46.4484,
                "accurate_pass": 39.6344,
                "duels_won": 7.5112,
                "total_long_balls": 5.3441,
                "accurate_long_balls": 3.2127,
                "total_own_half_passes": 25.3675,
                "accurate_own_half_passes": 22.917,
                "total_opp_half_passes": 21.0809,
                "accurate_opp_half_passes": 16.7175,
                "crosses_total": 0.2247,
                "crosses_accurate": 0.0115,
                "touches": 63.2306,
                "possession_lost": 9.4619,
                "dispossessed": 1.0672,
                "duels_lost": 4.9691,
                "aerial_won": 1.2,
                "aerial_lost": 0.7951,
                "interceptions": 1.2065,
                "tackles_won": 1.9802,
                "tackles": 3.4893,
                "clearances": 2.68,
                "total_contest": 1.1911,
                "won_contest": 0.68,
                "challenges_lost": 1.1861,
                "fouls": 1.5524,
                "fouls_drawn": 2.1945,
                "blocks": 0.5043,
                "big_chances_created": 0.0362,
                "big_chances_missed": 0.0,
                "xgot": 0.0456,
                "ball_carries": 12.2509,
                "total_progression": 17.003,
                "progressive_carries": 0.2927,
                "shots_off_target": 0.5682,
                "duel_xg_multiplier": 1.0748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.471,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "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.1615,
                "creation_factor": 1.2212
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 78.0)",
              "stats": {
                "key_pass": 0.4801,
                "expected_assists": 0.0393,
                "assist_rate": 0.0549,
                "assists": 0,
                "expected_goals": 0.0534,
                "goal_rate": 0.0744,
                "goals": 0,
                "shots_on_target": 0.19,
                "total_shots": 0.7583,
                "rating": 7.0376,
                "minutes": 84.62,
                "total_pass": 46.4484,
                "accurate_pass": 39.6344,
                "duels_won": 7.5112,
                "total_long_balls": 5.3441,
                "accurate_long_balls": 3.2127,
                "total_own_half_passes": 25.3675,
                "accurate_own_half_passes": 22.917,
                "total_opp_half_passes": 21.0809,
                "accurate_opp_half_passes": 16.7175,
                "crosses_total": 0.2247,
                "crosses_accurate": 0.0115,
                "touches": 63.2306,
                "possession_lost": 9.4619,
                "dispossessed": 1.0672,
                "duels_lost": 4.9691,
                "aerial_won": 1.2,
                "aerial_lost": 0.7951,
                "interceptions": 1.2065,
                "tackles_won": 1.9802,
                "tackles": 3.4893,
                "clearances": 2.68,
                "total_contest": 1.1911,
                "won_contest": 0.68,
                "challenges_lost": 1.1861,
                "fouls": 1.5524,
                "fouls_drawn": 2.1945,
                "blocks": 0.5043,
                "big_chances_created": 0.0362,
                "big_chances_missed": 0.0,
                "xgot": 0.0456,
                "ball_carries": 12.2509,
                "total_progression": 17.003,
                "progressive_carries": 0.2927,
                "shots_off_target": 0.5682,
                "duel_xg_multiplier": 1.0748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.471,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "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.1615,
                "creation_factor": 1.2212,
                "fifa_overall": 78.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": 1819,
                "fifa_rank": 1231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.4801,
                "expected_assists": 0.0393,
                "assist_rate": 0.0549,
                "assists": 0,
                "expected_goals": 0.0534,
                "goal_rate": 0.0744,
                "goals": 0,
                "shots_on_target": 0.19,
                "total_shots": 0.7583,
                "rating": 7.0376,
                "minutes": 84.62,
                "total_pass": 46.4484,
                "accurate_pass": 39.6344,
                "duels_won": 7.5112,
                "total_long_balls": 5.3441,
                "accurate_long_balls": 3.2127,
                "total_own_half_passes": 25.3675,
                "accurate_own_half_passes": 22.917,
                "total_opp_half_passes": 21.0809,
                "accurate_opp_half_passes": 16.7175,
                "crosses_total": 0.2247,
                "crosses_accurate": 0.0115,
                "touches": 63.2306,
                "possession_lost": 9.4619,
                "dispossessed": 1.0672,
                "duels_lost": 4.9691,
                "aerial_won": 1.2,
                "aerial_lost": 0.7951,
                "interceptions": 1.2065,
                "tackles_won": 1.9802,
                "tackles": 3.4893,
                "clearances": 2.68,
                "total_contest": 1.1911,
                "won_contest": 0.68,
                "challenges_lost": 1.1861,
                "fouls": 1.5524,
                "fouls_drawn": 2.1945,
                "blocks": 0.5043,
                "big_chances_created": 0.0362,
                "big_chances_missed": 0.0,
                "xgot": 0.0456,
                "ball_carries": 12.2509,
                "total_progression": 17.003,
                "progressive_carries": 0.2927,
                "shots_off_target": 0.5682,
                "duel_xg_multiplier": 1.0748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.471,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.052,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1615,
                "creation_factor": 1.2212,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.052,
                "goal_rate": 0.0744,
                "scorer_weight": 0.062,
                "squad_weight_total": 1.0105,
                "weight_share": 0.0614,
                "finishing_factor": 1.1615,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.4801,
                "expected_assists": 0.0393,
                "assist_rate": 0.0549,
                "assists": 0,
                "expected_goals": 0.0534,
                "goal_rate": 0.0744,
                "goals": 0,
                "shots_on_target": 0.19,
                "total_shots": 0.7583,
                "rating": 7.0376,
                "minutes": 84.62,
                "total_pass": 46.4484,
                "accurate_pass": 39.6344,
                "duels_won": 7.5112,
                "total_long_balls": 5.3441,
                "accurate_long_balls": 3.2127,
                "total_own_half_passes": 25.3675,
                "accurate_own_half_passes": 22.917,
                "total_opp_half_passes": 21.0809,
                "accurate_opp_half_passes": 16.7175,
                "crosses_total": 0.2247,
                "crosses_accurate": 0.0115,
                "touches": 63.2306,
                "possession_lost": 9.4619,
                "dispossessed": 1.0672,
                "duels_lost": 4.9691,
                "aerial_won": 1.2,
                "aerial_lost": 0.7951,
                "interceptions": 1.2065,
                "tackles_won": 1.9802,
                "tackles": 3.4893,
                "clearances": 2.68,
                "total_contest": 1.1911,
                "won_contest": 0.68,
                "challenges_lost": 1.1861,
                "fouls": 1.5524,
                "fouls_drawn": 2.1945,
                "blocks": 0.5043,
                "big_chances_created": 0.0362,
                "big_chances_missed": 0.0,
                "xgot": 0.0456,
                "ball_carries": 12.2509,
                "total_progression": 17.003,
                "progressive_carries": 0.2927,
                "shots_off_target": 0.5682,
                "duel_xg_multiplier": 1.0748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.471,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.052,
                "projected_assists": 0,
                "assist_probability": 0.0385,
                "finishing_factor": 1.1615,
                "creation_factor": 1.2212,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0385,
                "assist_rate": 0.0549,
                "provider_weight": 0.048,
                "squad_weight_total": 0.6588,
                "weight_share": 0.0729,
                "creation_factor": 1.2212,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12
              }
            }
          ]
        },
        "Pepelu": {
          "player_id": 826948,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 185,
          "market_value": 7300000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0431,
            "assist_rate": 0.0547,
            "assists": 0,
            "expected_goals": 0.0344,
            "goal_rate": 0.0437,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8552,
            "minutes": 83,
            "total_pass": 51,
            "accurate_pass": 45,
            "duels_won": 2,
            "total_long_balls": 7,
            "accurate_long_balls": 4,
            "total_own_half_passes": 31,
            "accurate_own_half_passes": 29,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 63,
            "possession_lost": 7.9281,
            "dispossessed": 0.3483,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 5,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0201,
            "ball_carries": 16,
            "total_progression": 41,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.1099,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.495,
            "pressing_faced": "LOW",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iñigo Ruiz de Galarreta",
            "opponent_faced": "Iñigo Ruiz de Galarreta",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0338,
            "projected_assists": 0,
            "assist_probability": 0.0422,
            "finishing_factor": 1.0795,
            "creation_factor": 1.1725,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.006,
                "total_shots": 0,
                "total_pass": 60,
                "accurate_pass": 53,
                "interceptions": 1,
                "clearances": 13,
                "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": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0309,
                "expected_assists": 0.0248,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 45,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "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": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0055,
                "total_shots": 0,
                "total_pass": 70,
                "accurate_pass": 65,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 12,
                "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": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0072,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 53,
                "tackles": 3,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 54,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0064,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 16,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 66,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0889,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 43,
                "key_pass": 1,
                "tackles": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 88,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 27,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_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": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0334,
                "expected_assists": 0.0173,
                "total_shots": 1,
                "total_pass": 82,
                "accurate_pass": 75,
                "tackles": 2,
                "clearances": 8,
                "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": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.023,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 19,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 16,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "clearances": 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": 3207,
            "combined_rank_score": 1161.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 362.0,
            "sofascore_rating": 6.9767,
            "sofascore_appearances": 31.0,
            "fifa_rank": 1960.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8552,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pepelu",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Frederik Rønnow",
                  "ranking": 3202
                },
                {
                  "player_name": "David Affengruber",
                  "ranking": 3203
                },
                {
                  "player_name": "Kike Salas",
                  "ranking": 3204
                },
                {
                  "player_name": "Franck Honorat",
                  "ranking": 3205
                },
                {
                  "player_name": "Djibril Sow",
                  "ranking": 3206
                }
              ],
              "lower": [
                {
                  "player_name": "Dayann Methalie",
                  "ranking": 3208
                },
                {
                  "player_name": "Robin Gosens",
                  "ranking": 3209
                },
                {
                  "player_name": "Álvaro Núñez",
                  "ranking": 3210
                },
                {
                  "player_name": "Marvin Schwäbe",
                  "ranking": 3211
                },
                {
                  "player_name": "Moi Gómez",
                  "ranking": 3212
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9995,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 39 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5103,
                "expected_assists": 0.0394,
                "assists": 0.0547,
                "assist_rate": 0.0547,
                "expected_goals": 0.0332,
                "goals": 0.0395,
                "goal_rate": 0.0395,
                "shots_on_target": 0.1166,
                "total_shots": 0.5262,
                "rating": 6.8552,
                "minutes": 82.95,
                "total_pass": 51.1187,
                "accurate_pass": 44.7675,
                "duels_won": 2.4282,
                "total_long_balls": 7.3854,
                "accurate_long_balls": 3.5066,
                "total_own_half_passes": 31.4015,
                "accurate_own_half_passes": 29.1112,
                "total_opp_half_passes": 19.7172,
                "accurate_opp_half_passes": 15.6564,
                "crosses_total": 0.2893,
                "crosses_accurate": 0.0292,
                "touches": 63.1376,
                "possession_lost": 7.9321,
                "dispossessed": 0.3485,
                "duels_lost": 2.4055,
                "aerial_won": 0.4865,
                "aerial_lost": 0.7712,
                "interceptions": 1.0681,
                "tackles_won": 0.682,
                "tackles": 1.5686,
                "clearances": 5.3639,
                "total_contest": 0.2162,
                "won_contest": 0.0622,
                "challenges_lost": 0.5867,
                "fouls": 0.545,
                "fouls_drawn": 0.4034,
                "blocks": 0.4615,
                "big_chances_created": 0.0042,
                "big_chances_missed": 0.0189,
                "xgot": 0.0194,
                "ball_carries": 15.825,
                "total_progression": 41.1198,
                "progressive_carries": 0.4914,
                "shots_off_target": 0.4096
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.2868,
                  "creative_index": 0.0732,
                  "expectedGoals": 0.0219,
                  "expectedAssists": 0.0211,
                  "onTargetScoringAttempt": 0.0146
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5103076696395874,
                    "model_output": 0.5103,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1302
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.1163
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.1019
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0742
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0433
                        }
                      ],
                      "others": -0.1772,
                      "total": 0.5103,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.13607
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.120616
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.119215
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.096735
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.061053
                        }
                      ],
                      "others_margin": -0.298005
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03936253488063812,
                    "model_output": 0.0394,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0162
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0125
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.009
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0089
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0129,
                      "total": 0.0394,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.209827
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.198134
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.146519
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.145319
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.086868
                        }
                      ],
                      "others_margin": -0.28371
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0546802282333374,
                    "model_output": 0.0547,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0118
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0063
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0054
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0173,
                      "total": 0.0547,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.145015
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.10568
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.089261
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.074889
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.047355
                        }
                      ],
                      "others_margin": -0.278212
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03317542001605034,
                    "model_output": 0.0332,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.033
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0099
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0069
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0063
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.013,
                      "total": 0.0332,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.430339
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.175907
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.144061
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132374
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.095142
                        }
                      ],
                      "others_margin": -0.331545
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.03945434093475342,
                    "model_output": 0.0395,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0187
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0133
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0092
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.006
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0051
                        }
                      ],
                      "others": -0.0162,
                      "total": 0.0395,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.21172
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.184597
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.150696
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.111608
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.096522
                        }
                      ],
                      "others_margin": -0.345565
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.11661005020141602,
                    "model_output": 0.1166,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0853
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0467
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0361
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0202
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0185
                        }
                      ],
                      "others": -0.0427,
                      "total": 0.1166,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.303656
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.215841
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.206048
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120721
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.109678
                        }
                      ],
                      "others_margin": -0.312729
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5262209177017212,
                    "model_output": 0.5262,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2428
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1201
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0612
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0371
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.037
                        }
                      ],
                      "others": -0.2113,
                      "total": 0.5262,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.242807
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120103
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.061241
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.037096
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.036997
                        }
                      ],
                      "others_margin": -0.211276
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.855175495147705,
                    "model_output": 6.8552,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0597
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.033
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0252
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0199
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.015
                        }
                      ],
                      "others": -0.0305,
                      "total": 6.8552,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.059696
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.033006
                        },
                        {
                          "name": "rating",
                          "margin": -0.0252
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.019857
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.015029
                        }
                      ],
                      "others_margin": -0.030497
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 34,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9995, quality 0.490)",
              "stats": {
                "key_pass": 0.5101,
                "expected_assists": 0.0393,
                "assists": 0.0547,
                "assist_rate": 0.0547,
                "expected_goals": 0.0332,
                "goals": 0.0394,
                "goal_rate": 0.0394,
                "shots_on_target": 0.1166,
                "total_shots": 0.526,
                "rating": 6.8552,
                "minutes": 82.95,
                "total_pass": 51.0931,
                "accurate_pass": 44.7451,
                "duels_won": 2.427,
                "total_long_balls": 7.3817,
                "accurate_long_balls": 3.5048,
                "total_own_half_passes": 31.3858,
                "accurate_own_half_passes": 29.0966,
                "total_opp_half_passes": 19.7073,
                "accurate_opp_half_passes": 15.6486,
                "crosses_total": 0.2892,
                "crosses_accurate": 0.0292,
                "touches": 63.106,
                "possession_lost": 7.9281,
                "dispossessed": 0.3483,
                "duels_lost": 2.4043,
                "aerial_won": 0.4863,
                "aerial_lost": 0.7708,
                "interceptions": 1.0676,
                "tackles_won": 0.6817,
                "tackles": 1.5678,
                "clearances": 5.3612,
                "total_contest": 0.2161,
                "won_contest": 0.0622,
                "challenges_lost": 0.5864,
                "fouls": 0.5447,
                "fouls_drawn": 0.4032,
                "blocks": 0.4613,
                "big_chances_created": 0.0042,
                "big_chances_missed": 0.0189,
                "xgot": 0.0194,
                "ball_carries": 15.8171,
                "total_progression": 41.0992,
                "progressive_carries": 0.4912,
                "shots_off_target": 0.4094
              },
              "params": {
                "market_value_eur": 7300000,
                "quality_factor": 0.4903,
                "boost_factor": 0.9995,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5101,
                "expected_assists": 0.0393,
                "assists": 0.0547,
                "assist_rate": 0.0547,
                "expected_goals": 0.0332,
                "goals": 0.0394,
                "goal_rate": 0.0394,
                "shots_on_target": 0.1166,
                "total_shots": 0.526,
                "rating": 6.8552,
                "minutes": 82.95,
                "total_pass": 51.0931,
                "accurate_pass": 44.7451,
                "duels_won": 2.427,
                "total_long_balls": 7.3817,
                "accurate_long_balls": 3.5048,
                "total_own_half_passes": 31.3858,
                "accurate_own_half_passes": 29.0966,
                "total_opp_half_passes": 19.7073,
                "accurate_opp_half_passes": 15.6486,
                "crosses_total": 0.2892,
                "crosses_accurate": 0.0292,
                "touches": 63.106,
                "possession_lost": 7.9281,
                "dispossessed": 0.3483,
                "duels_lost": 2.4043,
                "aerial_won": 0.4863,
                "aerial_lost": 0.7708,
                "interceptions": 1.0676,
                "tackles_won": 0.6817,
                "tackles": 1.5678,
                "clearances": 5.3612,
                "total_contest": 0.2161,
                "won_contest": 0.0622,
                "challenges_lost": 0.5864,
                "fouls": 0.5447,
                "fouls_drawn": 0.4032,
                "blocks": 0.4613,
                "big_chances_created": 0.0042,
                "big_chances_missed": 0.0189,
                "xgot": 0.0194,
                "ball_carries": 15.8171,
                "total_progression": 41.0992,
                "progressive_carries": 0.4912,
                "shots_off_target": 0.4094
              },
              "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.5101,
                "expected_assists": 0.0393,
                "assists": 0.0547,
                "assist_rate": 0.0547,
                "expected_goals": 0.0368,
                "goals": 0.0437,
                "goal_rate": 0.0437,
                "shots_on_target": 0.1294,
                "total_shots": 0.5838,
                "rating": 6.8552,
                "minutes": 82.95,
                "total_pass": 51.0931,
                "accurate_pass": 44.7451,
                "duels_won": 2.427,
                "total_long_balls": 7.3817,
                "accurate_long_balls": 3.5048,
                "total_own_half_passes": 31.3858,
                "accurate_own_half_passes": 29.0966,
                "total_opp_half_passes": 19.7073,
                "accurate_opp_half_passes": 15.6486,
                "crosses_total": 0.2892,
                "crosses_accurate": 0.0292,
                "touches": 63.106,
                "possession_lost": 7.9281,
                "dispossessed": 0.3483,
                "duels_lost": 2.4043,
                "aerial_won": 1.2,
                "aerial_lost": 0.7708,
                "interceptions": 1.0676,
                "tackles_won": 0.6817,
                "tackles": 1.5678,
                "clearances": 5.3612,
                "total_contest": 0.2161,
                "won_contest": 0.0622,
                "challenges_lost": 0.5864,
                "fouls": 0.5447,
                "fouls_drawn": 0.4032,
                "blocks": 0.4613,
                "big_chances_created": 0.0042,
                "big_chances_missed": 0.021,
                "xgot": 0.0215,
                "ball_carries": 15.8171,
                "total_progression": 41.0992,
                "progressive_carries": 0.4912,
                "shots_off_target": 0.4544,
                "duel_xg_multiplier": 1.1099,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.495,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñigo Ruiz de Galarreta",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.495,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1099,
                  "skill_edge": 0.0307,
                  "height_edge": 0.044,
                  "attacker_skill": 0.5057,
                  "defender_skill": 0.4374,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iñigo Ruiz de Galarreta",
                      "market_value": 1800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.0368
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.4863,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.526,
                  "after": 0.5838
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4094,
                  "after": 0.4544
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1166,
                  "after": 0.1294
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.5101,
                "expected_assists": 0.0393,
                "assist_rate": 0.0547,
                "assists": 0,
                "expected_goals": 0.0368,
                "goal_rate": 0.0437,
                "goals": 0,
                "shots_on_target": 0.1294,
                "total_shots": 0.5838,
                "rating": 6.8552,
                "minutes": 82.95,
                "total_pass": 51.0931,
                "accurate_pass": 44.7451,
                "duels_won": 2.427,
                "total_long_balls": 7.3817,
                "accurate_long_balls": 3.5048,
                "total_own_half_passes": 31.3858,
                "accurate_own_half_passes": 29.0966,
                "total_opp_half_passes": 19.7073,
                "accurate_opp_half_passes": 15.6486,
                "crosses_total": 0.2892,
                "crosses_accurate": 0.0292,
                "touches": 63.106,
                "possession_lost": 7.9281,
                "dispossessed": 0.3483,
                "duels_lost": 2.4043,
                "aerial_won": 1.2,
                "aerial_lost": 0.7708,
                "interceptions": 1.0676,
                "tackles_won": 0.6817,
                "tackles": 1.5678,
                "clearances": 5.3612,
                "total_contest": 0.2161,
                "won_contest": 0.0622,
                "challenges_lost": 0.5864,
                "fouls": 0.5447,
                "fouls_drawn": 0.4032,
                "blocks": 0.4613,
                "big_chances_created": 0.0042,
                "big_chances_missed": 0.021,
                "xgot": 0.0215,
                "ball_carries": 15.8171,
                "total_progression": 41.0992,
                "progressive_carries": 0.4912,
                "shots_off_target": 0.4544,
                "duel_xg_multiplier": 1.1099,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.495,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.5101,
                "expected_assists": 0.0431,
                "assist_rate": 0.0547,
                "assists": 0,
                "expected_goals": 0.0344,
                "goal_rate": 0.0437,
                "goals": 0,
                "shots_on_target": 0.1294,
                "total_shots": 0.5838,
                "rating": 6.8552,
                "minutes": 82.95,
                "total_pass": 51.0931,
                "accurate_pass": 44.7451,
                "duels_won": 2.427,
                "total_long_balls": 7.3817,
                "accurate_long_balls": 3.5048,
                "total_own_half_passes": 31.3858,
                "accurate_own_half_passes": 29.0966,
                "total_opp_half_passes": 19.7073,
                "accurate_opp_half_passes": 15.6486,
                "crosses_total": 0.2892,
                "crosses_accurate": 0.0292,
                "touches": 63.106,
                "possession_lost": 7.9281,
                "dispossessed": 0.3483,
                "duels_lost": 2.4043,
                "aerial_won": 1.2,
                "aerial_lost": 0.7708,
                "interceptions": 1.0676,
                "tackles_won": 0.6817,
                "tackles": 1.5678,
                "clearances": 5.3612,
                "total_contest": 0.2161,
                "won_contest": 0.0622,
                "challenges_lost": 0.5864,
                "fouls": 0.5447,
                "fouls_drawn": 0.4032,
                "blocks": 0.4613,
                "big_chances_created": 0.0042,
                "big_chances_missed": 0.021,
                "xgot": 0.0201,
                "ball_carries": 15.8171,
                "total_progression": 41.0992,
                "progressive_carries": 0.4912,
                "shots_off_target": 0.4544,
                "duel_xg_multiplier": 1.1099,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.495,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0795,
                "creation_factor": 1.1725
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 76.0)",
              "stats": {
                "key_pass": 0.5101,
                "expected_assists": 0.0431,
                "assist_rate": 0.0547,
                "assists": 0,
                "expected_goals": 0.0344,
                "goal_rate": 0.0437,
                "goals": 0,
                "shots_on_target": 0.1294,
                "total_shots": 0.5838,
                "rating": 6.8552,
                "minutes": 82.95,
                "total_pass": 51.0931,
                "accurate_pass": 44.7451,
                "duels_won": 2.427,
                "total_long_balls": 7.3817,
                "accurate_long_balls": 3.5048,
                "total_own_half_passes": 31.3858,
                "accurate_own_half_passes": 29.0966,
                "total_opp_half_passes": 19.7073,
                "accurate_opp_half_passes": 15.6486,
                "crosses_total": 0.2892,
                "crosses_accurate": 0.0292,
                "touches": 63.106,
                "possession_lost": 7.9281,
                "dispossessed": 0.3483,
                "duels_lost": 2.4043,
                "aerial_won": 1.2,
                "aerial_lost": 0.7708,
                "interceptions": 1.0676,
                "tackles_won": 0.6817,
                "tackles": 1.5678,
                "clearances": 5.3612,
                "total_contest": 0.2161,
                "won_contest": 0.0622,
                "challenges_lost": 0.5864,
                "fouls": 0.5447,
                "fouls_drawn": 0.4032,
                "blocks": 0.4613,
                "big_chances_created": 0.0042,
                "big_chances_missed": 0.021,
                "xgot": 0.0201,
                "ball_carries": 15.8171,
                "total_progression": 41.0992,
                "progressive_carries": 0.4912,
                "shots_off_target": 0.4544,
                "duel_xg_multiplier": 1.1099,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.495,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0795,
                "creation_factor": 1.1725,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3207,
                "fifa_rank": 1960.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.5101,
                "expected_assists": 0.0431,
                "assist_rate": 0.0547,
                "assists": 0,
                "expected_goals": 0.0344,
                "goal_rate": 0.0437,
                "goals": 0,
                "shots_on_target": 0.1294,
                "total_shots": 0.5838,
                "rating": 6.8552,
                "minutes": 82.95,
                "total_pass": 51.0931,
                "accurate_pass": 44.7451,
                "duels_won": 2.427,
                "total_long_balls": 7.3817,
                "accurate_long_balls": 3.5048,
                "total_own_half_passes": 31.3858,
                "accurate_own_half_passes": 29.0966,
                "total_opp_half_passes": 19.7073,
                "accurate_opp_half_passes": 15.6486,
                "crosses_total": 0.2892,
                "crosses_accurate": 0.0292,
                "touches": 63.106,
                "possession_lost": 7.9281,
                "dispossessed": 0.3483,
                "duels_lost": 2.4043,
                "aerial_won": 1.2,
                "aerial_lost": 0.7708,
                "interceptions": 1.0676,
                "tackles_won": 0.6817,
                "tackles": 1.5678,
                "clearances": 5.3612,
                "total_contest": 0.2161,
                "won_contest": 0.0622,
                "challenges_lost": 0.5864,
                "fouls": 0.5447,
                "fouls_drawn": 0.4032,
                "blocks": 0.4613,
                "big_chances_created": 0.0042,
                "big_chances_missed": 0.021,
                "xgot": 0.0201,
                "ball_carries": 15.8171,
                "total_progression": 41.0992,
                "progressive_carries": 0.4912,
                "shots_off_target": 0.4544,
                "duel_xg_multiplier": 1.1099,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.495,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0338,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0795,
                "creation_factor": 1.1725,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0338,
                "goal_rate": 0.0437,
                "scorer_weight": 0.0371,
                "squad_weight_total": 1.0105,
                "weight_share": 0.0367,
                "finishing_factor": 1.0795,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.5101,
                "expected_assists": 0.0431,
                "assist_rate": 0.0547,
                "assists": 0,
                "expected_goals": 0.0344,
                "goal_rate": 0.0437,
                "goals": 0,
                "shots_on_target": 0.1294,
                "total_shots": 0.5838,
                "rating": 6.8552,
                "minutes": 82.95,
                "total_pass": 51.0931,
                "accurate_pass": 44.7451,
                "duels_won": 2.427,
                "total_long_balls": 7.3817,
                "accurate_long_balls": 3.5048,
                "total_own_half_passes": 31.3858,
                "accurate_own_half_passes": 29.0966,
                "total_opp_half_passes": 19.7073,
                "accurate_opp_half_passes": 15.6486,
                "crosses_total": 0.2892,
                "crosses_accurate": 0.0292,
                "touches": 63.106,
                "possession_lost": 7.9281,
                "dispossessed": 0.3483,
                "duels_lost": 2.4043,
                "aerial_won": 1.2,
                "aerial_lost": 0.7708,
                "interceptions": 1.0676,
                "tackles_won": 0.6817,
                "tackles": 1.5678,
                "clearances": 5.3612,
                "total_contest": 0.2161,
                "won_contest": 0.0622,
                "challenges_lost": 0.5864,
                "fouls": 0.5447,
                "fouls_drawn": 0.4032,
                "blocks": 0.4613,
                "big_chances_created": 0.0042,
                "big_chances_missed": 0.021,
                "xgot": 0.0201,
                "ball_carries": 15.8171,
                "total_progression": 41.0992,
                "progressive_carries": 0.4912,
                "shots_off_target": 0.4544,
                "duel_xg_multiplier": 1.1099,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.495,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0338,
                "projected_assists": 0,
                "assist_probability": 0.0422,
                "finishing_factor": 1.0795,
                "creation_factor": 1.1725,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0422,
                "assist_rate": 0.0547,
                "provider_weight": 0.0505,
                "squad_weight_total": 0.6588,
                "weight_share": 0.0767,
                "creation_factor": 1.1725,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12
              }
            }
          ]
        },
        "José Luis Gayà": {
          "player_id": 227922,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 14,
          "height": 172,
          "market_value": 4300000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7251,
            "minutes": 82,
            "total_pass": 32,
            "accurate_pass": 29,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 10,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 52,
            "possession_lost": 6.3967,
            "dispossessed": 0.1527,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0063,
            "goals": 0,
            "assist_rate": 0.0433,
            "assists": 0,
            "expected_goals": 0.0138,
            "expected_assists": 0.0633,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0064,
            "ball_carries": 12,
            "total_progression": 50,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "Álex Berenguer",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0137,
            "projected_assists": 0,
            "assist_probability": 0.0613,
            "finishing_factor": 0.8688,
            "creation_factor": 0.8655,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0341,
                "expected_assists": 0.083,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 38,
                "accurate_pass": 35,
                "key_pass": 2,
                "clearances": 2,
                "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": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 82,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0102,
                "expected_assists": 0.0318,
                "total_shots": 1,
                "total_pass": 27,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "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": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.008,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 45,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 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": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 83,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.006,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 30,
                "tackles": 5,
                "tackles_won": 4,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 36,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 13,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 69,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.011,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 20,
                "key_pass": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 63,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0443,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0075,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 24,
                "tackles": 6,
                "tackles_won": 6,
                "clearances": 4,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 73,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0378,
                "expected_assists": 0.0452,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083255,
              "match_date": "2026-04-25",
              "home_team": "Valencia",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.3941,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 22,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 9
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 996,
            "combined_rank_score": 607.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 770.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7251,
            "source_file": "data/player_rankings.csv",
            "player_name": "José Luis Gayà",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Abduvokhid Gulomov",
                  "ranking": 991
                },
                {
                  "player_name": "Danila Forov",
                  "ranking": 992
                },
                {
                  "player_name": "Bradley Lyons",
                  "ranking": 993
                },
                {
                  "player_name": "Dario Šarić",
                  "ranking": 994
                },
                {
                  "player_name": "José Ángel Carmona",
                  "ranking": 995
                }
              ],
              "lower": [
                {
                  "player_name": "Rafael Bauzà",
                  "ranking": 997
                },
                {
                  "player_name": "Asier Osambela",
                  "ranking": 998
                },
                {
                  "player_name": "Nurbek Sarsenbaev",
                  "ranking": 999
                },
                {
                  "player_name": "Diyorbek Mamataliev",
                  "ranking": 1000
                },
                {
                  "player_name": "Vicente Villegas",
                  "ranking": 1001
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.758,
          "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.758,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9982,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "minutes": 68.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "XGBoost regressor (D_service) evaluated 38 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.05, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.8716,
                "tackles": 1.7492,
                "tackles_won": 1.2081,
                "clearances": 2.5362,
                "aerial_won": 0.8773,
                "total_shots": 0.5318,
                "rating": 6.7251,
                "minutes": 81.72,
                "total_pass": 31.7065,
                "accurate_pass": 28.6679,
                "duels_won": 3.9626,
                "total_long_balls": 1.901,
                "accurate_long_balls": 0.9062,
                "total_own_half_passes": 19.4614,
                "accurate_own_half_passes": 18.3929,
                "total_opp_half_passes": 12.2451,
                "accurate_opp_half_passes": 10.275,
                "crosses_total": 2.4788,
                "crosses_accurate": 0.6654,
                "touches": 51.6916,
                "possession_lost": 6.4082,
                "dispossessed": 0.153,
                "duels_lost": 3.0165,
                "aerial_lost": 0.7999,
                "total_contest": 0.6905,
                "won_contest": 0.5663,
                "ball_recovery": 3.1734,
                "challenges_lost": 0.8552,
                "fouls": 1.0884,
                "fouls_drawn": 0.7262,
                "blocks": 0.2514,
                "goals": 0.0063,
                "goal_rate": 0.0063,
                "assists": 0.0436,
                "assist_rate": 0.0436,
                "expected_goals": 0.0148,
                "expected_assists": 0.0579,
                "shots_on_target": 0.0536,
                "big_chances_created": 0.0466,
                "xgot": 0.0068,
                "ball_carries": 11.7543,
                "total_progression": 49.9129,
                "progressive_carries": 0.9386,
                "key_pass": 0.8888,
                "shots_off_target": 0.4782
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Atlético Madrid",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.5472,
                  "aerialWon": 0.3069,
                  "totalClearance_p90": 2.9207,
                  "totalTackle": 2.3983,
                  "defensive_actions": 2.8709
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8715941905975342,
                    "model_output": 0.8716,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1097
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0938
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0288
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.017
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0119
                        }
                      ],
                      "others": 0.0185,
                      "total": 0.8716,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119934
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.101642
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.033373
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.019795
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.013851
                        }
                      ],
                      "others_margin": 0.021512
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.749158501625061,
                    "model_output": 1.7492,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1901
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1022
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0941
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0841
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0608
                        }
                      ],
                      "others": -0.052,
                      "total": 1.7492,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128049
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.0626
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.054379
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.04624
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.033209
                        }
                      ],
                      "others_margin": -0.02931
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.208146572113037,
                    "model_output": 1.2081,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1249
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0788
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0582
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0554
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0572
                        }
                      ],
                      "others": -0.0206,
                      "total": 1.2081,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.136455
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.077437
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.053537
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.048405
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.047688
                        }
                      ],
                      "others_margin": -0.016805
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.5361928939819336,
                    "model_output": 2.5362,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.4612
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4101
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.343
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2485
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1985
                        }
                      ],
                      "others": -0.0554,
                      "total": 2.5362,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.144268
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129276
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.106962
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.085318
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.073794
                        }
                      ],
                      "others_margin": -0.021627
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8772680759429932,
                    "model_output": 0.8773,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4639
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1277
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1001
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0804
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0727
                        }
                      ],
                      "others": -0.1108,
                      "total": 0.8773,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.410735
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.130854
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.091789
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.073053
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.071029
                        }
                      ],
                      "others_margin": -0.118903
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5317931175231934,
                    "model_output": 0.5318,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0631
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.022
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.016
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0105
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0084
                        }
                      ],
                      "others": -0.0417,
                      "total": 0.5318,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.063138
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.021983
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.016009
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.010467
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.008377
                        }
                      ],
                      "others_margin": -0.041748
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.725113391876221,
                    "model_output": 6.7251,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0137
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0132
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0127
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0091
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0069
                        }
                      ],
                      "others": -0.0178,
                      "total": 6.7251,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.01372
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.013172
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012655
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.009135
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.006933
                        }
                      ],
                      "others_margin": -0.017839
                    }
                  }
                ],
                "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 0.9982, quality 0.454)",
              "stats": {
                "interceptions": 0.87,
                "tackles": 1.746,
                "tackles_won": 1.206,
                "clearances": 2.5316,
                "aerial_won": 0.8757,
                "total_shots": 0.5308,
                "rating": 6.7251,
                "minutes": 81.72,
                "total_pass": 31.6494,
                "accurate_pass": 28.6163,
                "duels_won": 3.9555,
                "total_long_balls": 1.8976,
                "accurate_long_balls": 0.9046,
                "total_own_half_passes": 19.4264,
                "accurate_own_half_passes": 18.3598,
                "total_opp_half_passes": 12.2231,
                "accurate_opp_half_passes": 10.2565,
                "crosses_total": 2.4743,
                "crosses_accurate": 0.6642,
                "touches": 51.5986,
                "possession_lost": 6.3967,
                "dispossessed": 0.1527,
                "duels_lost": 3.0111,
                "aerial_lost": 0.7985,
                "total_contest": 0.6893,
                "won_contest": 0.5653,
                "ball_recovery": 3.1677,
                "challenges_lost": 0.8537,
                "fouls": 1.0864,
                "fouls_drawn": 0.7249,
                "blocks": 0.2509,
                "goals": 0.0063,
                "goal_rate": 0.0063,
                "assists": 0.0435,
                "assist_rate": 0.0435,
                "expected_goals": 0.0148,
                "expected_assists": 0.0578,
                "shots_on_target": 0.0535,
                "big_chances_created": 0.0465,
                "xgot": 0.0068,
                "ball_carries": 11.7331,
                "total_progression": 49.8231,
                "progressive_carries": 0.9369,
                "key_pass": 0.8872,
                "shots_off_target": 0.4773
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.9982,
                "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.0040)",
              "stats": {
                "interceptions": 0.8665,
                "tackles": 1.746,
                "tackles_won": 1.2011,
                "clearances": 2.5316,
                "aerial_won": 0.8757,
                "total_shots": 0.5287,
                "rating": 6.7251,
                "minutes": 81.72,
                "total_pass": 31.6494,
                "accurate_pass": 28.6163,
                "duels_won": 3.9555,
                "total_long_balls": 1.8976,
                "accurate_long_balls": 0.9046,
                "total_own_half_passes": 19.4264,
                "accurate_own_half_passes": 18.3598,
                "total_opp_half_passes": 12.2231,
                "accurate_opp_half_passes": 10.2565,
                "crosses_total": 2.4689,
                "crosses_accurate": 0.6642,
                "touches": 51.5986,
                "possession_lost": 6.3967,
                "dispossessed": 0.1527,
                "duels_lost": 3.0111,
                "aerial_lost": 0.7985,
                "total_contest": 0.6893,
                "won_contest": 0.5653,
                "ball_recovery": 3.1677,
                "challenges_lost": 0.8537,
                "fouls": 1.0866,
                "fouls_drawn": 0.7311,
                "blocks": 0.2509,
                "goals": 0.0063,
                "goal_rate": 0.0063,
                "assists": 0.0433,
                "assist_rate": 0.0433,
                "expected_goals": 0.0148,
                "expected_assists": 0.0578,
                "shots_on_target": 0.0533,
                "big_chances_created": 0.0465,
                "xgot": 0.0068,
                "ball_carries": 11.7331,
                "total_progression": 49.8231,
                "progressive_carries": 0.9369,
                "key_pass": 0.8872,
                "shots_off_target": 0.4773
              },
              "params": {
                "blend_weight": 0.004,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.908,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.7249,
                  "after": 0.7311
                },
                {
                  "stat": "totalCross",
                  "before": 2.4743,
                  "after": 2.4689
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8665,
                "tackles": 1.746,
                "tackles_won": 1.2011,
                "clearances": 2.5316,
                "aerial_won": 0.8757,
                "total_shots": 0.5306,
                "rating": 6.7251,
                "minutes": 81.72,
                "total_pass": 31.6494,
                "accurate_pass": 28.6163,
                "duels_won": 3.9555,
                "total_long_balls": 1.8976,
                "accurate_long_balls": 0.9046,
                "total_own_half_passes": 19.4264,
                "accurate_own_half_passes": 18.3598,
                "total_opp_half_passes": 12.2231,
                "accurate_opp_half_passes": 10.2565,
                "crosses_total": 2.4689,
                "crosses_accurate": 0.6642,
                "touches": 51.5986,
                "possession_lost": 6.3967,
                "dispossessed": 0.1527,
                "duels_lost": 3.0111,
                "aerial_lost": 0.7985,
                "total_contest": 0.6893,
                "won_contest": 0.5653,
                "ball_recovery": 3.1677,
                "challenges_lost": 0.8537,
                "fouls": 1.0866,
                "fouls_drawn": 0.7311,
                "blocks": 0.2509,
                "goals": 0.0063,
                "goal_rate": 0.0063,
                "assists": 0.0433,
                "assist_rate": 0.0433,
                "expected_goals": 0.0148,
                "expected_assists": 0.0578,
                "shots_on_target": 0.0533,
                "big_chances_created": 0.0465,
                "xgot": 0.0068,
                "ball_carries": 11.7331,
                "total_progression": 49.8231,
                "progressive_carries": 0.9369,
                "key_pass": 0.8872,
                "shots_off_target": 0.4773
              },
              "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.8665,
                "tackles": 1.746,
                "tackles_won": 1.2011,
                "clearances": 2.5316,
                "aerial_won": 0.8757,
                "total_shots": 0.5306,
                "rating": 6.7251,
                "minutes": 81.72,
                "total_pass": 31.6494,
                "accurate_pass": 28.6163,
                "duels_won": 3.9555,
                "total_long_balls": 1.8976,
                "accurate_long_balls": 0.9046,
                "total_own_half_passes": 19.4264,
                "accurate_own_half_passes": 18.3598,
                "total_opp_half_passes": 12.2231,
                "accurate_opp_half_passes": 10.2565,
                "crosses_total": 2.4689,
                "crosses_accurate": 0.6642,
                "touches": 51.5986,
                "possession_lost": 6.3967,
                "dispossessed": 0.1527,
                "duels_lost": 3.0111,
                "aerial_lost": 0.7985,
                "total_contest": 0.6893,
                "won_contest": 0.5653,
                "ball_recovery": 3.1677,
                "challenges_lost": 0.8537,
                "fouls": 1.0866,
                "fouls_drawn": 0.7311,
                "blocks": 0.2509,
                "goals": 0.0063,
                "goal_rate": 0.0063,
                "assists": 0.0433,
                "assist_rate": 0.0433,
                "expected_goals": 0.0148,
                "expected_assists": 0.0578,
                "shots_on_target": 0.0533,
                "big_chances_created": 0.0465,
                "xgot": 0.0068,
                "ball_carries": 11.7331,
                "total_progression": 49.8231,
                "progressive_carries": 0.9369,
                "key_pass": 0.8872,
                "shots_off_target": 0.4773,
                "opponent_faced": "Álex Berenguer",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Álex Berenguer",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.8665,
                "tackles": 1.746,
                "tackles_won": 1.2011,
                "clearances": 2.5316,
                "aerial_won": 0.8757,
                "total_shots": 0.5306,
                "rating": 6.7251,
                "minutes": 81.72,
                "total_pass": 31.6494,
                "accurate_pass": 28.6163,
                "duels_won": 3.9555,
                "total_long_balls": 1.8976,
                "accurate_long_balls": 0.9046,
                "total_own_half_passes": 19.4264,
                "accurate_own_half_passes": 18.3598,
                "total_opp_half_passes": 12.2231,
                "accurate_opp_half_passes": 10.2565,
                "crosses_total": 2.4689,
                "crosses_accurate": 0.6642,
                "touches": 51.5986,
                "possession_lost": 6.3967,
                "dispossessed": 0.1527,
                "duels_lost": 3.0111,
                "aerial_lost": 0.7985,
                "total_contest": 0.6893,
                "won_contest": 0.5653,
                "ball_recovery": 3.1677,
                "challenges_lost": 0.8537,
                "fouls": 1.0866,
                "fouls_drawn": 0.7311,
                "blocks": 0.2509,
                "goal_rate": 0.0063,
                "goals": 0,
                "assist_rate": 0.0433,
                "assists": 0,
                "expected_goals": 0.0148,
                "expected_assists": 0.0578,
                "shots_on_target": 0.0533,
                "big_chances_created": 0.0465,
                "xgot": 0.0068,
                "ball_carries": 11.7331,
                "total_progression": 49.8231,
                "progressive_carries": 0.9369,
                "key_pass": 0.8872,
                "shots_off_target": 0.4773,
                "opponent_faced": "Álex Berenguer",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.8665,
                "tackles": 1.746,
                "tackles_won": 1.2011,
                "clearances": 2.5316,
                "aerial_won": 0.8757,
                "total_shots": 0.5306,
                "rating": 6.7251,
                "minutes": 81.72,
                "total_pass": 31.6494,
                "accurate_pass": 28.6163,
                "duels_won": 3.9555,
                "total_long_balls": 1.8976,
                "accurate_long_balls": 0.9046,
                "total_own_half_passes": 19.4264,
                "accurate_own_half_passes": 18.3598,
                "total_opp_half_passes": 12.2231,
                "accurate_opp_half_passes": 10.2565,
                "crosses_total": 2.4689,
                "crosses_accurate": 0.6642,
                "touches": 51.5986,
                "possession_lost": 6.3967,
                "dispossessed": 0.1527,
                "duels_lost": 3.0111,
                "aerial_lost": 0.7985,
                "total_contest": 0.6893,
                "won_contest": 0.5653,
                "ball_recovery": 3.1677,
                "challenges_lost": 0.8537,
                "fouls": 1.0866,
                "fouls_drawn": 0.7311,
                "blocks": 0.2509,
                "goal_rate": 0.0063,
                "goals": 0,
                "assist_rate": 0.0433,
                "assists": 0,
                "expected_goals": 0.0138,
                "expected_assists": 0.0633,
                "shots_on_target": 0.0533,
                "big_chances_created": 0.0465,
                "xgot": 0.0064,
                "ball_carries": 11.7331,
                "total_progression": 49.8231,
                "progressive_carries": 0.9369,
                "key_pass": 0.8872,
                "shots_off_target": 0.4773,
                "opponent_faced": "Álex Berenguer",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8688,
                "creation_factor": 0.8655
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0578,
                  "after": 0.0633
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 80.0)",
              "stats": {
                "interceptions": 0.8665,
                "tackles": 1.746,
                "tackles_won": 1.2011,
                "clearances": 2.5316,
                "aerial_won": 0.8757,
                "total_shots": 0.5306,
                "rating": 6.7251,
                "minutes": 81.72,
                "total_pass": 31.6494,
                "accurate_pass": 28.6163,
                "duels_won": 3.9555,
                "total_long_balls": 1.8976,
                "accurate_long_balls": 0.9046,
                "total_own_half_passes": 19.4264,
                "accurate_own_half_passes": 18.3598,
                "total_opp_half_passes": 12.2231,
                "accurate_opp_half_passes": 10.2565,
                "crosses_total": 2.4689,
                "crosses_accurate": 0.6642,
                "touches": 51.5986,
                "possession_lost": 6.3967,
                "dispossessed": 0.1527,
                "duels_lost": 3.0111,
                "aerial_lost": 0.7985,
                "total_contest": 0.6893,
                "won_contest": 0.5653,
                "ball_recovery": 3.1677,
                "challenges_lost": 0.8537,
                "fouls": 1.0866,
                "fouls_drawn": 0.7311,
                "blocks": 0.2509,
                "goal_rate": 0.0063,
                "goals": 0,
                "assist_rate": 0.0433,
                "assists": 0,
                "expected_goals": 0.0138,
                "expected_assists": 0.0633,
                "shots_on_target": 0.0533,
                "big_chances_created": 0.0465,
                "xgot": 0.0064,
                "ball_carries": 11.7331,
                "total_progression": 49.8231,
                "progressive_carries": 0.9369,
                "key_pass": 0.8872,
                "shots_off_target": 0.4773,
                "opponent_faced": "Álex Berenguer",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8688,
                "creation_factor": 0.8655,
                "fifa_overall": 80.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": 996,
                "fifa_rank": 770.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 0.8665,
                "tackles": 1.746,
                "tackles_won": 1.2011,
                "clearances": 2.5316,
                "aerial_won": 0.8757,
                "total_shots": 0.5306,
                "rating": 6.7251,
                "minutes": 81.72,
                "total_pass": 31.6494,
                "accurate_pass": 28.6163,
                "duels_won": 3.9555,
                "total_long_balls": 1.8976,
                "accurate_long_balls": 0.9046,
                "total_own_half_passes": 19.4264,
                "accurate_own_half_passes": 18.3598,
                "total_opp_half_passes": 12.2231,
                "accurate_opp_half_passes": 10.2565,
                "crosses_total": 2.4689,
                "crosses_accurate": 0.6642,
                "touches": 51.5986,
                "possession_lost": 6.3967,
                "dispossessed": 0.1527,
                "duels_lost": 3.0111,
                "aerial_lost": 0.7985,
                "total_contest": 0.6893,
                "won_contest": 0.5653,
                "ball_recovery": 3.1677,
                "challenges_lost": 0.8537,
                "fouls": 1.0866,
                "fouls_drawn": 0.7311,
                "blocks": 0.2509,
                "goal_rate": 0.0063,
                "goals": 0,
                "assist_rate": 0.0433,
                "assists": 0,
                "expected_goals": 0.0138,
                "expected_assists": 0.0633,
                "shots_on_target": 0.0533,
                "big_chances_created": 0.0465,
                "xgot": 0.0064,
                "ball_carries": 11.7331,
                "total_progression": 49.8231,
                "progressive_carries": 0.9369,
                "key_pass": 0.8872,
                "shots_off_target": 0.4773,
                "opponent_faced": "Álex Berenguer",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0137,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8688,
                "creation_factor": 0.8655,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0137,
                "goal_rate": 0.0063,
                "scorer_weight": 0.012,
                "squad_weight_total": 1.0105,
                "weight_share": 0.0119,
                "finishing_factor": 0.8688,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.8665,
                "tackles": 1.746,
                "tackles_won": 1.2011,
                "clearances": 2.5316,
                "aerial_won": 0.8757,
                "total_shots": 0.5306,
                "rating": 6.7251,
                "minutes": 81.72,
                "total_pass": 31.6494,
                "accurate_pass": 28.6163,
                "duels_won": 3.9555,
                "total_long_balls": 1.8976,
                "accurate_long_balls": 0.9046,
                "total_own_half_passes": 19.4264,
                "accurate_own_half_passes": 18.3598,
                "total_opp_half_passes": 12.2231,
                "accurate_opp_half_passes": 10.2565,
                "crosses_total": 2.4689,
                "crosses_accurate": 0.6642,
                "touches": 51.5986,
                "possession_lost": 6.3967,
                "dispossessed": 0.1527,
                "duels_lost": 3.0111,
                "aerial_lost": 0.7985,
                "total_contest": 0.6893,
                "won_contest": 0.5653,
                "ball_recovery": 3.1677,
                "challenges_lost": 0.8537,
                "fouls": 1.0866,
                "fouls_drawn": 0.7311,
                "blocks": 0.2509,
                "goal_rate": 0.0063,
                "goals": 0,
                "assist_rate": 0.0433,
                "assists": 0,
                "expected_goals": 0.0138,
                "expected_assists": 0.0633,
                "shots_on_target": 0.0533,
                "big_chances_created": 0.0465,
                "xgot": 0.0064,
                "ball_carries": 11.7331,
                "total_progression": 49.8231,
                "progressive_carries": 0.9369,
                "key_pass": 0.8872,
                "shots_off_target": 0.4773,
                "opponent_faced": "Álex Berenguer",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0137,
                "projected_assists": 0,
                "assist_probability": 0.0613,
                "finishing_factor": 0.8688,
                "creation_factor": 0.8655,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0613,
                "assist_rate": 0.0433,
                "provider_weight": 0.0548,
                "squad_weight_total": 0.6588,
                "weight_share": 0.0832,
                "creation_factor": 0.8655,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12
              }
            }
          ]
        },
        "Justin De Haas": {
          "player_id": 876255,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 192,
          "market_value": 7700000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.782,
            "minutes": 83,
            "total_pass": 51,
            "accurate_pass": 45,
            "duels_won": 3,
            "total_long_balls": 5,
            "accurate_long_balls": 2,
            "total_own_half_passes": 38,
            "accurate_own_half_passes": 36,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 62,
            "possession_lost": 6.1655,
            "dispossessed": 0.2263,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.3095,
            "assists": 0,
            "expected_goals": 0.0044,
            "expected_assists": 0.0175,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 12,
            "total_progression": 35,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Iñaki Williams",
            "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.0044,
            "projected_assists": 0,
            "assist_probability": 0.0173,
            "finishing_factor": 0.9141,
            "creation_factor": 1.25,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0113,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 41,
                "key_pass": 1,
                "clearances": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0175,
                "expected_assists": 0.0416,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 47,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 4,
                "duels_won": 9,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 82,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 67,
                "accurate_pass": 59,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 34,
                "clearances": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3412,
            "combined_rank_score": 1395.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1968.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.782,
            "source_file": "data/player_rankings.csv",
            "player_name": "Justin De Haas",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jordy Clasie",
                  "ranking": 3407
                },
                {
                  "player_name": "Ethan Pinnock",
                  "ranking": 3408
                },
                {
                  "player_name": "Alassane Pléa",
                  "ranking": 3409
                },
                {
                  "player_name": "Caio Henrique",
                  "ranking": 3410
                },
                {
                  "player_name": "William Osula",
                  "ranking": 3411
                }
              ],
              "lower": [
                {
                  "player_name": "Nahuel Losada",
                  "ranking": 3413
                },
                {
                  "player_name": "Sven Mijnans",
                  "ranking": 3414
                },
                {
                  "player_name": "Dário Essugo",
                  "ranking": 3415
                },
                {
                  "player_name": "Niclas Füllkrug",
                  "ranking": 3416
                },
                {
                  "player_name": "Arthur",
                  "ranking": 3417
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.505,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.505,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9983,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "minutes": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9209,
                "tackles": 1.1515,
                "tackles_won": 0.6483,
                "clearances": 5.211,
                "aerial_won": 1.974,
                "total_shots": 0.4447,
                "rating": 6.782,
                "minutes": 83.01,
                "total_pass": 50.968,
                "accurate_pass": 45.3325,
                "duels_won": 3.4817,
                "total_long_balls": 4.9694,
                "accurate_long_balls": 2.2892,
                "total_own_half_passes": 38.4346,
                "accurate_own_half_passes": 36.2866,
                "total_opp_half_passes": 12.5335,
                "accurate_opp_half_passes": 9.046,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.2263,
                "possession_lost": 6.176,
                "dispossessed": 0.2267,
                "duels_lost": 2.2066,
                "aerial_lost": 1.2937,
                "total_contest": 0.8473,
                "won_contest": 0.8473,
                "ball_recovery": 2.2197,
                "challenges_lost": 0.0,
                "fouls": 0.6862,
                "fouls_drawn": 0.2667,
                "blocks": 1.0269,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.3138,
                "assist_rate": 0.3138,
                "expected_goals": 0.0047,
                "expected_assists": 0.016,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3138,
                "xgot": 0.0,
                "ball_carries": 12.1685,
                "total_progression": 35.1906,
                "progressive_carries": 0.5335,
                "key_pass": 0.8473,
                "shots_off_target": 0.4447
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.101,
                  "aerialWon": 1.6075,
                  "totalClearance_p90": 4.5749,
                  "totalTackle": 0.7602,
                  "defensive_actions": 1.7471
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9209373593330383,
                    "model_output": 0.9209,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.101
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0367
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0298
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0148
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0123
                        }
                      ],
                      "others": -0.0208,
                      "total": 0.9209,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.110919
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.03746
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.030347
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.015408
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.012998
                        }
                      ],
                      "others_margin": -0.022181
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.151537537574768,
                    "model_output": 1.1515,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1739
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1202
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0736
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0483
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0446
                        }
                      ],
                      "others": -0.1272,
                      "total": 1.1515,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.117787
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.079891
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.052292
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.035847
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.034272
                        }
                      ],
                      "others_margin": -0.104773
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6483023166656494,
                    "model_output": 0.6483,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1045
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0961
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0528
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0398
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0231
                        }
                      ],
                      "others": -0.0986,
                      "total": 0.6483,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115399
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.105604
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.06321
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.050414
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.030407
                        }
                      ],
                      "others_margin": -0.141532
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.211010456085205,
                    "model_output": 5.211,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4311
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3834
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.4116
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1802
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1851
                        }
                      ],
                      "others": 0.1869,
                      "total": 5.211,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.118296
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.09461
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.092491
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.037956
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.037537
                        }
                      ],
                      "others_margin": 0.036528
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.9739729166030884,
                    "model_output": 1.974,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1401
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.124
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0892
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0865
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0501
                        }
                      ],
                      "others": 0.1068,
                      "total": 1.974,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.096847
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.078573
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.052919
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.048761
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.027215
                        }
                      ],
                      "others_margin": 0.055599
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.44471779465675354,
                    "model_output": 0.4447,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0751
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0504
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0176
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0119
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0114
                        }
                      ],
                      "others": -0.0222,
                      "total": 0.4447,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.075115
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.050359
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.017612
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011855
                        },
                        {
                          "name": "rating",
                          "margin": 0.011438
                        }
                      ],
                      "others_margin": -0.022221
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.78198766708374,
                    "model_output": 6.782,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": 0.0239
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0175
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0133
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0106
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0095
                        }
                      ],
                      "others": 0.0053,
                      "total": 6.782,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "accuratePass",
                          "margin": 0.023889
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.01749
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01328
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.010553
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.00952
                        }
                      ],
                      "others_margin": 0.0052
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 4,
                  "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.9983, quality 0.495)",
              "stats": {
                "interceptions": 0.9194,
                "tackles": 1.1496,
                "tackles_won": 0.6472,
                "clearances": 5.2022,
                "aerial_won": 1.9706,
                "total_shots": 0.444,
                "rating": 6.782,
                "minutes": 83.01,
                "total_pass": 50.8814,
                "accurate_pass": 45.2554,
                "duels_won": 3.4758,
                "total_long_balls": 4.961,
                "accurate_long_balls": 2.2853,
                "total_own_half_passes": 38.3693,
                "accurate_own_half_passes": 36.2249,
                "total_opp_half_passes": 12.5122,
                "accurate_opp_half_passes": 9.0306,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.1205,
                "possession_lost": 6.1655,
                "dispossessed": 0.2263,
                "duels_lost": 2.2028,
                "aerial_lost": 1.2915,
                "total_contest": 0.8459,
                "won_contest": 0.8459,
                "ball_recovery": 2.2159,
                "challenges_lost": 0.0,
                "fouls": 0.685,
                "fouls_drawn": 0.2662,
                "blocks": 1.0252,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.3133,
                "assist_rate": 0.3133,
                "expected_goals": 0.0047,
                "expected_assists": 0.016,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3133,
                "xgot": 0.0,
                "ball_carries": 12.1478,
                "total_progression": 35.1308,
                "progressive_carries": 0.5326,
                "key_pass": 0.8459,
                "shots_off_target": 0.4439
              },
              "params": {
                "market_value_eur": 7700000,
                "quality_factor": 0.4951,
                "boost_factor": 0.9983,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0120)",
              "stats": {
                "interceptions": 0.9083,
                "tackles": 1.1496,
                "tackles_won": 0.6394,
                "clearances": 5.2022,
                "aerial_won": 1.9706,
                "total_shots": 0.4387,
                "rating": 6.782,
                "minutes": 83.01,
                "total_pass": 50.8814,
                "accurate_pass": 45.2554,
                "duels_won": 3.4758,
                "total_long_balls": 4.961,
                "accurate_long_balls": 2.2853,
                "total_own_half_passes": 38.3693,
                "accurate_own_half_passes": 36.2249,
                "total_opp_half_passes": 12.5122,
                "accurate_opp_half_passes": 9.0306,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.1205,
                "possession_lost": 6.1655,
                "dispossessed": 0.2263,
                "duels_lost": 2.2028,
                "aerial_lost": 1.2915,
                "total_contest": 0.8459,
                "won_contest": 0.8459,
                "ball_recovery": 2.2159,
                "challenges_lost": 0.0,
                "fouls": 0.6989,
                "fouls_drawn": 0.263,
                "blocks": 1.0252,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.3095,
                "assist_rate": 0.3095,
                "expected_goals": 0.0047,
                "expected_assists": 0.016,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3133,
                "xgot": 0.0,
                "ball_carries": 12.1478,
                "total_progression": 35.1308,
                "progressive_carries": 0.5326,
                "key_pass": 0.8459,
                "shots_off_target": 0.4439
              },
              "params": {
                "blend_weight": 0.012,
                "history_matches": 4,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9223,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.685,
                  "after": 0.6989
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9194,
                  "after": 0.9083
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6472,
                  "after": 0.6394
                },
                {
                  "stat": "totalShots",
                  "before": 0.444,
                  "after": 0.4387
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9083,
                "tackles": 1.1496,
                "tackles_won": 0.6394,
                "clearances": 5.2022,
                "aerial_won": 1.9706,
                "total_shots": 0.4439,
                "rating": 6.782,
                "minutes": 83.01,
                "total_pass": 50.8814,
                "accurate_pass": 45.2554,
                "duels_won": 3.4758,
                "total_long_balls": 4.961,
                "accurate_long_balls": 2.2853,
                "total_own_half_passes": 38.3693,
                "accurate_own_half_passes": 36.2249,
                "total_opp_half_passes": 12.5122,
                "accurate_opp_half_passes": 9.0306,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.1205,
                "possession_lost": 6.1655,
                "dispossessed": 0.2263,
                "duels_lost": 2.2028,
                "aerial_lost": 1.2915,
                "total_contest": 0.8459,
                "won_contest": 0.8459,
                "ball_recovery": 2.2159,
                "challenges_lost": 0.0,
                "fouls": 0.6989,
                "fouls_drawn": 0.263,
                "blocks": 1.0252,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.3095,
                "assist_rate": 0.3095,
                "expected_goals": 0.0047,
                "expected_assists": 0.016,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3133,
                "xgot": 0.0,
                "ball_carries": 12.1478,
                "total_progression": 35.1308,
                "progressive_carries": 0.5326,
                "key_pass": 0.8459,
                "shots_off_target": 0.4439
              },
              "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.9083,
                "tackles": 1.1496,
                "tackles_won": 0.6394,
                "clearances": 5.2022,
                "aerial_won": 1.9706,
                "total_shots": 0.4439,
                "rating": 6.782,
                "minutes": 83.01,
                "total_pass": 50.8814,
                "accurate_pass": 45.2554,
                "duels_won": 3.4758,
                "total_long_balls": 4.961,
                "accurate_long_balls": 2.2853,
                "total_own_half_passes": 38.3693,
                "accurate_own_half_passes": 36.2249,
                "total_opp_half_passes": 12.5122,
                "accurate_opp_half_passes": 9.0306,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.1205,
                "possession_lost": 6.1655,
                "dispossessed": 0.2263,
                "duels_lost": 2.2028,
                "aerial_lost": 1.2915,
                "total_contest": 0.8459,
                "won_contest": 0.8459,
                "ball_recovery": 2.2159,
                "challenges_lost": 0.0,
                "fouls": 0.6989,
                "fouls_drawn": 0.263,
                "blocks": 1.0252,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.3095,
                "assist_rate": 0.3095,
                "expected_goals": 0.0047,
                "expected_assists": 0.016,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3133,
                "xgot": 0.0,
                "ball_carries": 12.1478,
                "total_progression": 35.1308,
                "progressive_carries": 0.5326,
                "key_pass": 0.8459,
                "shots_off_target": 0.4439,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "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": "Iñaki Williams",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.9083,
                "tackles": 1.1496,
                "tackles_won": 0.6394,
                "clearances": 5.2022,
                "aerial_won": 1.9706,
                "total_shots": 0.4439,
                "rating": 6.782,
                "minutes": 83.01,
                "total_pass": 50.8814,
                "accurate_pass": 45.2554,
                "duels_won": 3.4758,
                "total_long_balls": 4.961,
                "accurate_long_balls": 2.2853,
                "total_own_half_passes": 38.3693,
                "accurate_own_half_passes": 36.2249,
                "total_opp_half_passes": 12.5122,
                "accurate_opp_half_passes": 9.0306,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.1205,
                "possession_lost": 6.1655,
                "dispossessed": 0.2263,
                "duels_lost": 2.2028,
                "aerial_lost": 1.2915,
                "total_contest": 0.8459,
                "won_contest": 0.8459,
                "ball_recovery": 2.2159,
                "challenges_lost": 0.0,
                "fouls": 0.6989,
                "fouls_drawn": 0.263,
                "blocks": 1.0252,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.3095,
                "assists": 0,
                "expected_goals": 0.0047,
                "expected_assists": 0.016,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3133,
                "xgot": 0.0,
                "ball_carries": 12.1478,
                "total_progression": 35.1308,
                "progressive_carries": 0.5326,
                "key_pass": 0.8459,
                "shots_off_target": 0.4439,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9083,
                "tackles": 1.1496,
                "tackles_won": 0.6394,
                "clearances": 5.2022,
                "aerial_won": 1.9706,
                "total_shots": 0.4439,
                "rating": 6.782,
                "minutes": 83.01,
                "total_pass": 50.8814,
                "accurate_pass": 45.2554,
                "duels_won": 3.4758,
                "total_long_balls": 4.961,
                "accurate_long_balls": 2.2853,
                "total_own_half_passes": 38.3693,
                "accurate_own_half_passes": 36.2249,
                "total_opp_half_passes": 12.5122,
                "accurate_opp_half_passes": 9.0306,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.1205,
                "possession_lost": 6.1655,
                "dispossessed": 0.2263,
                "duels_lost": 2.2028,
                "aerial_lost": 1.2915,
                "total_contest": 0.8459,
                "won_contest": 0.8459,
                "ball_recovery": 2.2159,
                "challenges_lost": 0.0,
                "fouls": 0.6989,
                "fouls_drawn": 0.263,
                "blocks": 1.0252,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.3095,
                "assists": 0,
                "expected_goals": 0.0044,
                "expected_assists": 0.0175,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3133,
                "xgot": 0.0,
                "ball_carries": 12.1478,
                "total_progression": 35.1308,
                "progressive_carries": 0.5326,
                "key_pass": 0.8459,
                "shots_off_target": 0.4439,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "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.9141,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 76.0)",
              "stats": {
                "interceptions": 0.9083,
                "tackles": 1.1496,
                "tackles_won": 0.6394,
                "clearances": 5.2022,
                "aerial_won": 1.9706,
                "total_shots": 0.4439,
                "rating": 6.782,
                "minutes": 83.01,
                "total_pass": 50.8814,
                "accurate_pass": 45.2554,
                "duels_won": 3.4758,
                "total_long_balls": 4.961,
                "accurate_long_balls": 2.2853,
                "total_own_half_passes": 38.3693,
                "accurate_own_half_passes": 36.2249,
                "total_opp_half_passes": 12.5122,
                "accurate_opp_half_passes": 9.0306,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.1205,
                "possession_lost": 6.1655,
                "dispossessed": 0.2263,
                "duels_lost": 2.2028,
                "aerial_lost": 1.2915,
                "total_contest": 0.8459,
                "won_contest": 0.8459,
                "ball_recovery": 2.2159,
                "challenges_lost": 0.0,
                "fouls": 0.6989,
                "fouls_drawn": 0.263,
                "blocks": 1.0252,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.3095,
                "assists": 0,
                "expected_goals": 0.0044,
                "expected_assists": 0.0175,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3133,
                "xgot": 0.0,
                "ball_carries": 12.1478,
                "total_progression": 35.1308,
                "progressive_carries": 0.5326,
                "key_pass": 0.8459,
                "shots_off_target": 0.4439,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "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.9141,
                "creation_factor": 1.25,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3412,
                "fifa_rank": 1968.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 0.9083,
                "tackles": 1.1496,
                "tackles_won": 0.6394,
                "clearances": 5.2022,
                "aerial_won": 1.9706,
                "total_shots": 0.4439,
                "rating": 6.782,
                "minutes": 83.01,
                "total_pass": 50.8814,
                "accurate_pass": 45.2554,
                "duels_won": 3.4758,
                "total_long_balls": 4.961,
                "accurate_long_balls": 2.2853,
                "total_own_half_passes": 38.3693,
                "accurate_own_half_passes": 36.2249,
                "total_opp_half_passes": 12.5122,
                "accurate_opp_half_passes": 9.0306,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.1205,
                "possession_lost": 6.1655,
                "dispossessed": 0.2263,
                "duels_lost": 2.2028,
                "aerial_lost": 1.2915,
                "total_contest": 0.8459,
                "won_contest": 0.8459,
                "ball_recovery": 2.2159,
                "challenges_lost": 0.0,
                "fouls": 0.6989,
                "fouls_drawn": 0.263,
                "blocks": 1.0252,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.3095,
                "assists": 0,
                "expected_goals": 0.0044,
                "expected_assists": 0.0175,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3133,
                "xgot": 0.0,
                "ball_carries": 12.1478,
                "total_progression": 35.1308,
                "progressive_carries": 0.5326,
                "key_pass": 0.8459,
                "shots_off_target": 0.4439,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "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.0044,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9141,
                "creation_factor": 1.25,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0044,
                "goal_rate": 0.0,
                "scorer_weight": 0.004,
                "squad_weight_total": 1.0105,
                "weight_share": 0.004,
                "finishing_factor": 0.9141,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.9083,
                "tackles": 1.1496,
                "tackles_won": 0.6394,
                "clearances": 5.2022,
                "aerial_won": 1.9706,
                "total_shots": 0.4439,
                "rating": 6.782,
                "minutes": 83.01,
                "total_pass": 50.8814,
                "accurate_pass": 45.2554,
                "duels_won": 3.4758,
                "total_long_balls": 4.961,
                "accurate_long_balls": 2.2853,
                "total_own_half_passes": 38.3693,
                "accurate_own_half_passes": 36.2249,
                "total_opp_half_passes": 12.5122,
                "accurate_opp_half_passes": 9.0306,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.1205,
                "possession_lost": 6.1655,
                "dispossessed": 0.2263,
                "duels_lost": 2.2028,
                "aerial_lost": 1.2915,
                "total_contest": 0.8459,
                "won_contest": 0.8459,
                "ball_recovery": 2.2159,
                "challenges_lost": 0.0,
                "fouls": 0.6989,
                "fouls_drawn": 0.263,
                "blocks": 1.0252,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.3095,
                "assists": 0,
                "expected_goals": 0.0044,
                "expected_assists": 0.0175,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3133,
                "xgot": 0.0,
                "ball_carries": 12.1478,
                "total_progression": 35.1308,
                "progressive_carries": 0.5326,
                "key_pass": 0.8459,
                "shots_off_target": 0.4439,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "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.0044,
                "projected_assists": 0,
                "assist_probability": 0.0173,
                "finishing_factor": 0.9141,
                "creation_factor": 1.25,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0173,
                "assist_rate": 0.3095,
                "provider_weight": 0.0219,
                "squad_weight_total": 0.6588,
                "weight_share": 0.0332,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12
              }
            }
          ]
        },
        "Mouctar Diakhaby": {
          "player_id": 797306,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 192,
          "market_value": 1500000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.7536,
            "minutes": 73,
            "total_pass": 38,
            "accurate_pass": 33,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 26,
            "accurate_own_half_passes": 24,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 50,
            "possession_lost": 6.9725,
            "dispossessed": 0.1791,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0342,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0309,
            "expected_assists": 0.0081,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0335,
            "ball_carries": 11,
            "total_progression": 37,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Iñaki Williams",
            "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.0304,
            "projected_assists": 0,
            "assist_probability": 0.0081,
            "finishing_factor": 1.0145,
            "creation_factor": 0.8711,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 25,
                "tackles": 1,
                "clearances": 4,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 62,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 10,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 65,
                "accurate_pass": 55,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0992,
                "expected_assists": 0.0042,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 28,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0065,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 26,
                "interceptions": 2,
                "clearances": 4,
                "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": 14083196,
              "match_date": "2026-01-03",
              "home_team": "Celta Vigo",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 5.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0191,
                "total_shots": 0,
                "total_pass": 75,
                "accurate_pass": 68,
                "interceptions": 4,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083615,
              "match_date": "2025-10-04",
              "home_team": "Girona FC",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083601,
              "match_date": "2025-09-30",
              "home_team": "Valencia",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0187,
                "expected_assists": 0.0354,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 70,
                "accurate_pass": 61,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083407,
              "match_date": "2025-09-23",
              "home_team": "Espanyol",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 35,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 4,
                "clearances": 15,
                "aerial_won": 5,
                "duels_won": 9,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083298,
              "match_date": "2025-09-20",
              "home_team": "Valencia",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.202,
                "expected_assists": 0.0041,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 35,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 8,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3305,
            "combined_rank_score": 1258.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 558.0,
            "sofascore_rating": 6.8143,
            "sofascore_appearances": 8.0,
            "fifa_rank": 1959.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7536,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mouctar Diakhaby",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Raíllo",
                  "ranking": 3300
                },
                {
                  "player_name": "Gelson Martins",
                  "ranking": 3301
                },
                {
                  "player_name": "Abel Bretones",
                  "ranking": 3302
                },
                {
                  "player_name": "Chiquinho",
                  "ranking": 3303
                },
                {
                  "player_name": "Kaiki",
                  "ranking": 3304
                }
              ],
              "lower": [
                {
                  "player_name": "Diego Carlos",
                  "ranking": 3306
                },
                {
                  "player_name": "André Onana",
                  "ranking": 3307
                },
                {
                  "player_name": "Luca Ranieri",
                  "ranking": 3308
                },
                {
                  "player_name": "Răzvan Marin",
                  "ranking": 3309
                },
                {
                  "player_name": "Diego Coppola",
                  "ranking": 3310
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 13,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 13,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9944,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 225.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.8,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (D_service) evaluated 13 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.17, 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.0704,
                "tackles": 1.2017,
                "tackles_won": 0.6561,
                "clearances": 4.9448,
                "aerial_won": 1.9684,
                "total_shots": 0.4837,
                "rating": 6.7536,
                "minutes": 72.95,
                "total_pass": 38.5464,
                "accurate_pass": 32.9402,
                "duels_won": 3.1029,
                "total_long_balls": 2.9776,
                "accurate_long_balls": 1.0534,
                "total_own_half_passes": 26.2011,
                "accurate_own_half_passes": 24.0572,
                "total_opp_half_passes": 12.3453,
                "accurate_opp_half_passes": 8.883,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 50.1421,
                "possession_lost": 7.0118,
                "dispossessed": 0.1801,
                "duels_lost": 2.2316,
                "aerial_lost": 0.8813,
                "total_contest": 0.6469,
                "won_contest": 0.2211,
                "ball_recovery": 3.4653,
                "challenges_lost": 0.1302,
                "fouls": 0.6497,
                "fouls_drawn": 0.2827,
                "blocks": 0.2136,
                "goals": 0.0355,
                "goal_rate": 0.0355,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0332,
                "expected_assists": 0.0074,
                "shots_on_target": 0.1525,
                "big_chances_created": 0.0,
                "xgot": 0.036,
                "ball_carries": 11.4715,
                "total_progression": 37.3599,
                "progressive_carries": 0.2696,
                "key_pass": 0.0679,
                "shots_off_target": 0.3312
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1706,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.145,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1233,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1048,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0891,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0757,
                    "rating": 5.1
                  },
                  {
                    "match_date": "2025-10-04",
                    "opponent": "Girona FC",
                    "minutes": 6.0,
                    "is_starting": true,
                    "weight": 0.0644,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2025-09-30",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0547,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0465,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2025-09-20",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0395,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 13.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.7964,
                  "aerialWon": 1.6671,
                  "totalClearance_p90": 7.1282,
                  "totalTackle": 0.7384,
                  "defensive_actions": 1.9716
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.070425033569336,
                    "model_output": 1.0704,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0976
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.1032
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0291
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0291
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0189
                        }
                      ],
                      "others": -0.0102,
                      "total": 1.0704,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.107429
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.102297
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.027786
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.027748
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.017667
                        }
                      ],
                      "others_margin": -0.009492
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2017476558685303,
                    "model_output": 1.2017,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1797
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1086
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.072
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0624
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0486
                        }
                      ],
                      "others": -0.0779,
                      "total": 1.2017,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121455
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.071649
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.050449
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.045943
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.037255
                        }
                      ],
                      "others_margin": -0.062769
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6560869812965393,
                    "model_output": 0.6561,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1147
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0716
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0633
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0451
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0357
                        }
                      ],
                      "others": -0.0971,
                      "total": 0.6561,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125992
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.076735
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.073123
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.05553
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.046361
                        }
                      ],
                      "others_margin": -0.138076
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.944770812988281,
                    "model_output": 4.9448,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4656
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.5043
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3527
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3261
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.1522
                        }
                      ],
                      "others": 0.0156,
                      "total": 4.9448,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127188
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.121656
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.077068
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.066328
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.03041
                        }
                      ],
                      "others_margin": 0.003143
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.968357801437378,
                    "model_output": 1.9684,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.1734
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1654
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1386
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1221
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.1098
                        }
                      ],
                      "others": 0.1014,
                      "total": 1.9684,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.118593
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.101361
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.077664
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.06375
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.057154
                        }
                      ],
                      "others_margin": 0.052852
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4837154448032379,
                    "model_output": 0.4837,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0564
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0299
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0214
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0103
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0095
                        }
                      ],
                      "others": -0.0379,
                      "total": 0.4837,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.056383
                        },
                        {
                          "name": "rating",
                          "margin": -0.029869
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.021441
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.010333
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.00954
                        }
                      ],
                      "others_margin": -0.037947
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.753645896911621,
                    "model_output": 6.7536,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.016
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0125
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0109
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0089
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0079
                        }
                      ],
                      "others": -0.0247,
                      "total": 6.7536,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.016024
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012504
                        },
                        {
                          "name": "rating",
                          "margin": -0.010931
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.008859
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.00791
                        }
                      ],
                      "others_margin": -0.024594
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 13,
                  "role_matches": 11,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9944, quality 0.437)",
              "stats": {
                "interceptions": 1.0644,
                "tackles": 1.195,
                "tackles_won": 0.6524,
                "clearances": 4.9171,
                "aerial_won": 1.9573,
                "total_shots": 0.481,
                "rating": 6.7536,
                "minutes": 72.95,
                "total_pass": 38.3305,
                "accurate_pass": 32.7557,
                "duels_won": 3.0855,
                "total_long_balls": 2.9609,
                "accurate_long_balls": 1.0475,
                "total_own_half_passes": 26.0544,
                "accurate_own_half_passes": 23.9225,
                "total_opp_half_passes": 12.2762,
                "accurate_opp_half_passes": 8.8333,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 49.8613,
                "possession_lost": 6.9725,
                "dispossessed": 0.1791,
                "duels_lost": 2.2191,
                "aerial_lost": 0.8764,
                "total_contest": 0.6433,
                "won_contest": 0.2199,
                "ball_recovery": 3.4459,
                "challenges_lost": 0.1295,
                "fouls": 0.6461,
                "fouls_drawn": 0.2811,
                "blocks": 0.2124,
                "goals": 0.0353,
                "goal_rate": 0.0353,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.033,
                "expected_assists": 0.0074,
                "shots_on_target": 0.1516,
                "big_chances_created": 0.0,
                "xgot": 0.0358,
                "ball_carries": 11.4073,
                "total_progression": 37.1507,
                "progressive_carries": 0.2681,
                "key_pass": 0.0675,
                "shots_off_target": 0.3293
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9944,
                "reference_quality": 0.505,
                "history_matches": 13,
                "history_shrink": 0.2778,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0301)",
              "stats": {
                "interceptions": 1.0812,
                "tackles": 1.195,
                "tackles_won": 0.6425,
                "clearances": 4.9171,
                "aerial_won": 1.9573,
                "total_shots": 0.486,
                "rating": 6.7536,
                "minutes": 72.95,
                "total_pass": 38.3305,
                "accurate_pass": 32.7557,
                "duels_won": 3.0855,
                "total_long_balls": 2.9609,
                "accurate_long_balls": 1.0475,
                "total_own_half_passes": 26.0544,
                "accurate_own_half_passes": 23.9225,
                "total_opp_half_passes": 12.2762,
                "accurate_opp_half_passes": 8.8333,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 49.8613,
                "possession_lost": 6.9725,
                "dispossessed": 0.1791,
                "duels_lost": 2.2191,
                "aerial_lost": 0.8764,
                "total_contest": 0.6433,
                "won_contest": 0.2199,
                "ball_recovery": 3.4459,
                "challenges_lost": 0.1295,
                "fouls": 0.6364,
                "fouls_drawn": 0.2824,
                "blocks": 0.2124,
                "goals": 0.0342,
                "goal_rate": 0.0342,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.033,
                "expected_assists": 0.0074,
                "shots_on_target": 0.147,
                "big_chances_created": 0.0,
                "xgot": 0.0358,
                "ball_carries": 11.4073,
                "total_progression": 37.1507,
                "progressive_carries": 0.2681,
                "key_pass": 0.0675,
                "shots_off_target": 0.3293
              },
              "params": {
                "blend_weight": 0.0301,
                "history_matches": 13,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8106,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.0644,
                  "after": 1.0812
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6524,
                  "after": 0.6425
                },
                {
                  "stat": "fouls",
                  "before": 0.6461,
                  "after": 0.6364
                },
                {
                  "stat": "totalShots",
                  "before": 0.481,
                  "after": 0.486
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0812,
                "tackles": 1.195,
                "tackles_won": 0.6425,
                "clearances": 4.9171,
                "aerial_won": 1.9573,
                "total_shots": 0.486,
                "rating": 6.7536,
                "minutes": 72.95,
                "total_pass": 38.3305,
                "accurate_pass": 32.7557,
                "duels_won": 3.0855,
                "total_long_balls": 2.9609,
                "accurate_long_balls": 1.0475,
                "total_own_half_passes": 26.0544,
                "accurate_own_half_passes": 23.9225,
                "total_opp_half_passes": 12.2762,
                "accurate_opp_half_passes": 8.8333,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 49.8613,
                "possession_lost": 6.9725,
                "dispossessed": 0.1791,
                "duels_lost": 2.2191,
                "aerial_lost": 0.8764,
                "total_contest": 0.6433,
                "won_contest": 0.2199,
                "ball_recovery": 3.4459,
                "challenges_lost": 0.1295,
                "fouls": 0.6364,
                "fouls_drawn": 0.2824,
                "blocks": 0.2124,
                "goals": 0.0342,
                "goal_rate": 0.0342,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.033,
                "expected_assists": 0.0074,
                "shots_on_target": 0.147,
                "big_chances_created": 0.0,
                "xgot": 0.0358,
                "ball_carries": 11.4073,
                "total_progression": 37.1507,
                "progressive_carries": 0.2681,
                "key_pass": 0.0675,
                "shots_off_target": 0.3293
              },
              "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.0812,
                "tackles": 1.195,
                "tackles_won": 0.6425,
                "clearances": 4.9171,
                "aerial_won": 1.9573,
                "total_shots": 0.486,
                "rating": 6.7536,
                "minutes": 72.95,
                "total_pass": 38.3305,
                "accurate_pass": 32.7557,
                "duels_won": 3.0855,
                "total_long_balls": 2.9609,
                "accurate_long_balls": 1.0475,
                "total_own_half_passes": 26.0544,
                "accurate_own_half_passes": 23.9225,
                "total_opp_half_passes": 12.2762,
                "accurate_opp_half_passes": 8.8333,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 49.8613,
                "possession_lost": 6.9725,
                "dispossessed": 0.1791,
                "duels_lost": 2.2191,
                "aerial_lost": 0.8764,
                "total_contest": 0.6433,
                "won_contest": 0.2199,
                "ball_recovery": 3.4459,
                "challenges_lost": 0.1295,
                "fouls": 0.6364,
                "fouls_drawn": 0.2824,
                "blocks": 0.2124,
                "goals": 0.0342,
                "goal_rate": 0.0342,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.033,
                "expected_assists": 0.0074,
                "shots_on_target": 0.147,
                "big_chances_created": 0.0,
                "xgot": 0.0358,
                "ball_carries": 11.4073,
                "total_progression": 37.1507,
                "progressive_carries": 0.2681,
                "key_pass": 0.0675,
                "shots_off_target": 0.3293,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "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": "Iñaki Williams",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0812,
                "tackles": 1.195,
                "tackles_won": 0.6425,
                "clearances": 4.9171,
                "aerial_won": 1.9573,
                "total_shots": 0.486,
                "rating": 6.7536,
                "minutes": 72.95,
                "total_pass": 38.3305,
                "accurate_pass": 32.7557,
                "duels_won": 3.0855,
                "total_long_balls": 2.9609,
                "accurate_long_balls": 1.0475,
                "total_own_half_passes": 26.0544,
                "accurate_own_half_passes": 23.9225,
                "total_opp_half_passes": 12.2762,
                "accurate_opp_half_passes": 8.8333,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 49.8613,
                "possession_lost": 6.9725,
                "dispossessed": 0.1791,
                "duels_lost": 2.2191,
                "aerial_lost": 0.8764,
                "total_contest": 0.6433,
                "won_contest": 0.2199,
                "ball_recovery": 3.4459,
                "challenges_lost": 0.1295,
                "fouls": 0.6364,
                "fouls_drawn": 0.2824,
                "blocks": 0.2124,
                "goal_rate": 0.0342,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.033,
                "expected_assists": 0.0074,
                "shots_on_target": 0.147,
                "big_chances_created": 0.0,
                "xgot": 0.0358,
                "ball_carries": 11.4073,
                "total_progression": 37.1507,
                "progressive_carries": 0.2681,
                "key_pass": 0.0675,
                "shots_off_target": 0.3293,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.0812,
                "tackles": 1.195,
                "tackles_won": 0.6425,
                "clearances": 4.9171,
                "aerial_won": 1.9573,
                "total_shots": 0.486,
                "rating": 6.7536,
                "minutes": 72.95,
                "total_pass": 38.3305,
                "accurate_pass": 32.7557,
                "duels_won": 3.0855,
                "total_long_balls": 2.9609,
                "accurate_long_balls": 1.0475,
                "total_own_half_passes": 26.0544,
                "accurate_own_half_passes": 23.9225,
                "total_opp_half_passes": 12.2762,
                "accurate_opp_half_passes": 8.8333,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 49.8613,
                "possession_lost": 6.9725,
                "dispossessed": 0.1791,
                "duels_lost": 2.2191,
                "aerial_lost": 0.8764,
                "total_contest": 0.6433,
                "won_contest": 0.2199,
                "ball_recovery": 3.4459,
                "challenges_lost": 0.1295,
                "fouls": 0.6364,
                "fouls_drawn": 0.2824,
                "blocks": 0.2124,
                "goal_rate": 0.0342,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0309,
                "expected_assists": 0.0081,
                "shots_on_target": 0.147,
                "big_chances_created": 0.0,
                "xgot": 0.0335,
                "ball_carries": 11.4073,
                "total_progression": 37.1507,
                "progressive_carries": 0.2681,
                "key_pass": 0.0675,
                "shots_off_target": 0.3293,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "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.0145,
                "creation_factor": 0.8711
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 76.0)",
              "stats": {
                "interceptions": 1.0812,
                "tackles": 1.195,
                "tackles_won": 0.6425,
                "clearances": 4.9171,
                "aerial_won": 1.9573,
                "total_shots": 0.486,
                "rating": 6.7536,
                "minutes": 72.95,
                "total_pass": 38.3305,
                "accurate_pass": 32.7557,
                "duels_won": 3.0855,
                "total_long_balls": 2.9609,
                "accurate_long_balls": 1.0475,
                "total_own_half_passes": 26.0544,
                "accurate_own_half_passes": 23.9225,
                "total_opp_half_passes": 12.2762,
                "accurate_opp_half_passes": 8.8333,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 49.8613,
                "possession_lost": 6.9725,
                "dispossessed": 0.1791,
                "duels_lost": 2.2191,
                "aerial_lost": 0.8764,
                "total_contest": 0.6433,
                "won_contest": 0.2199,
                "ball_recovery": 3.4459,
                "challenges_lost": 0.1295,
                "fouls": 0.6364,
                "fouls_drawn": 0.2824,
                "blocks": 0.2124,
                "goal_rate": 0.0342,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0309,
                "expected_assists": 0.0081,
                "shots_on_target": 0.147,
                "big_chances_created": 0.0,
                "xgot": 0.0335,
                "ball_carries": 11.4073,
                "total_progression": 37.1507,
                "progressive_carries": 0.2681,
                "key_pass": 0.0675,
                "shots_off_target": 0.3293,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "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.0145,
                "creation_factor": 0.8711,
                "fifa_overall": 76.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": 3305,
                "fifa_rank": 1959.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.0812,
                "tackles": 1.195,
                "tackles_won": 0.6425,
                "clearances": 4.9171,
                "aerial_won": 1.9573,
                "total_shots": 0.486,
                "rating": 6.7536,
                "minutes": 72.95,
                "total_pass": 38.3305,
                "accurate_pass": 32.7557,
                "duels_won": 3.0855,
                "total_long_balls": 2.9609,
                "accurate_long_balls": 1.0475,
                "total_own_half_passes": 26.0544,
                "accurate_own_half_passes": 23.9225,
                "total_opp_half_passes": 12.2762,
                "accurate_opp_half_passes": 8.8333,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 49.8613,
                "possession_lost": 6.9725,
                "dispossessed": 0.1791,
                "duels_lost": 2.2191,
                "aerial_lost": 0.8764,
                "total_contest": 0.6433,
                "won_contest": 0.2199,
                "ball_recovery": 3.4459,
                "challenges_lost": 0.1295,
                "fouls": 0.6364,
                "fouls_drawn": 0.2824,
                "blocks": 0.2124,
                "goal_rate": 0.0342,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0309,
                "expected_assists": 0.0081,
                "shots_on_target": 0.147,
                "big_chances_created": 0.0,
                "xgot": 0.0335,
                "ball_carries": 11.4073,
                "total_progression": 37.1507,
                "progressive_carries": 0.2681,
                "key_pass": 0.0675,
                "shots_off_target": 0.3293,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "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.0304,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0145,
                "creation_factor": 0.8711,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0304,
                "goal_rate": 0.0342,
                "scorer_weight": 0.0313,
                "squad_weight_total": 1.0105,
                "weight_share": 0.031,
                "finishing_factor": 1.0145,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.0812,
                "tackles": 1.195,
                "tackles_won": 0.6425,
                "clearances": 4.9171,
                "aerial_won": 1.9573,
                "total_shots": 0.486,
                "rating": 6.7536,
                "minutes": 72.95,
                "total_pass": 38.3305,
                "accurate_pass": 32.7557,
                "duels_won": 3.0855,
                "total_long_balls": 2.9609,
                "accurate_long_balls": 1.0475,
                "total_own_half_passes": 26.0544,
                "accurate_own_half_passes": 23.9225,
                "total_opp_half_passes": 12.2762,
                "accurate_opp_half_passes": 8.8333,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 49.8613,
                "possession_lost": 6.9725,
                "dispossessed": 0.1791,
                "duels_lost": 2.2191,
                "aerial_lost": 0.8764,
                "total_contest": 0.6433,
                "won_contest": 0.2199,
                "ball_recovery": 3.4459,
                "challenges_lost": 0.1295,
                "fouls": 0.6364,
                "fouls_drawn": 0.2824,
                "blocks": 0.2124,
                "goal_rate": 0.0342,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0309,
                "expected_assists": 0.0081,
                "shots_on_target": 0.147,
                "big_chances_created": 0.0,
                "xgot": 0.0335,
                "ball_carries": 11.4073,
                "total_progression": 37.1507,
                "progressive_carries": 0.2681,
                "key_pass": 0.0675,
                "shots_off_target": 0.3293,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Iñaki Williams",
                "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.0304,
                "projected_assists": 0,
                "assist_probability": 0.0081,
                "finishing_factor": 1.0145,
                "creation_factor": 0.8711,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0081,
                "assist_rate": 0.0,
                "provider_weight": 0.0071,
                "squad_weight_total": 0.6588,
                "weight_share": 0.0107,
                "creation_factor": 0.8711,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12
              }
            }
          ]
        },
        "Pablo Maffeo": {
          "player_id": 788216,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 24,
          "height": 173,
          "market_value": 2400000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.634,
            "minutes": 82,
            "total_pass": 33,
            "accurate_pass": 26,
            "duels_won": 4,
            "total_long_balls": 5,
            "accurate_long_balls": 1,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 13,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 57,
            "possession_lost": 14.0153,
            "dispossessed": 0.3707,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0012,
            "goals": 0,
            "assist_rate": 0.0876,
            "assists": 0,
            "expected_goals": 0.0122,
            "expected_assists": 0.0705,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0131,
            "ball_carries": 12,
            "total_progression": 36,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.5,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.478,
            "opponent_faced": "Peio Canales",
            "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.0121,
            "projected_assists": 0,
            "assist_probability": 0.0681,
            "finishing_factor": 0.8127,
            "creation_factor": 1.2038,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 86,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0102,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 27,
                "tackles": 1,
                "interceptions": 4,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0195,
                "expected_assists": 0.0247,
                "total_shots": 1,
                "total_pass": 47,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 82,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0453,
                "expected_assists": 0.0486,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 41,
                "accurate_pass": 31,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 28,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 6,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 54,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 55,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0102,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 21,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 1,
                "clearances": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083727,
              "match_date": "2026-05-23",
              "home_team": "Mallorca",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.4961,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 32,
                "key_pass": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083676,
              "match_date": "2026-05-17",
              "home_team": "Levante UD",
              "away_team": "Mallorca",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0989,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 35,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083618,
              "match_date": "2026-05-13",
              "home_team": "Getafe",
              "away_team": "Mallorca",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0354,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 33,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 3,
                "aerial_won": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 883,
            "combined_rank_score": 407.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 417.0,
            "sofascore_rating": 6.9258,
            "sofascore_appearances": 31.0,
            "fifa_rank": 398.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.634,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Maffeo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kim Hyeong-jin",
                  "ranking": 878
                },
                {
                  "player_name": "Sancet",
                  "ranking": 879
                },
                {
                  "player_name": "Jaloliddin Jumaboyev",
                  "ranking": 880
                },
                {
                  "player_name": "Vivian",
                  "ranking": 881
                },
                {
                  "player_name": "Edmond Tapsoba",
                  "ranking": 882
                }
              ],
              "lower": [
                {
                  "player_name": "Giuliano",
                  "ranking": 884
                },
                {
                  "player_name": "Odin Luras Bjørtuft",
                  "ranking": 885
                },
                {
                  "player_name": "Young-woo Jang",
                  "ranking": 886
                },
                {
                  "player_name": "Shaylon",
                  "ranking": 887
                },
                {
                  "player_name": "Yeferson Soteldo",
                  "ranking": 888
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.758,
          "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.758,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9976,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 76.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "XGBoost regressor (D_service) evaluated 38 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.05, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1603,
                "tackles": 1.765,
                "tackles_won": 1.0942,
                "clearances": 2.7783,
                "aerial_won": 0.9514,
                "total_shots": 0.3632,
                "rating": 6.634,
                "minutes": 82.05,
                "total_pass": 33.3342,
                "accurate_pass": 25.7402,
                "duels_won": 4.122,
                "total_long_balls": 5.1722,
                "accurate_long_balls": 1.2977,
                "total_own_half_passes": 15.0267,
                "accurate_own_half_passes": 12.9092,
                "total_opp_half_passes": 18.3074,
                "accurate_opp_half_passes": 12.831,
                "crosses_total": 3.1965,
                "crosses_accurate": 0.5212,
                "touches": 56.9124,
                "possession_lost": 14.049,
                "dispossessed": 0.3716,
                "duels_lost": 4.385,
                "aerial_lost": 0.898,
                "total_contest": 2.076,
                "won_contest": 1.1848,
                "ball_recovery": 3.4178,
                "challenges_lost": 1.2613,
                "fouls": 0.9628,
                "fouls_drawn": 0.6567,
                "blocks": 0.5566,
                "goals": 0.0012,
                "goal_rate": 0.0012,
                "assists": 0.0882,
                "assist_rate": 0.0882,
                "expected_goals": 0.013,
                "expected_assists": 0.0645,
                "shots_on_target": 0.1099,
                "big_chances_created": 0.1565,
                "xgot": 0.014,
                "ball_carries": 12.2763,
                "total_progression": 36.3814,
                "progressive_carries": 0.5658,
                "key_pass": 0.5287,
                "shots_off_target": 0.2533
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.9791,
                  "aerialWon": 0.8486,
                  "totalClearance_p90": 2.9096,
                  "totalTackle": 1.2341,
                  "defensive_actions": 2.7694
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1603435277938843,
                    "model_output": 1.1603,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1136
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0923
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0303
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0257
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0206
                        }
                      ],
                      "others": 0.0683,
                      "total": 1.1603,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123909
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.090465
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.027994
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.023667
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.019065
                        }
                      ],
                      "others_margin": 0.060758
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7650419473648071,
                    "model_output": 1.765,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1891
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0637
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0577
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0369
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0354
                        }
                      ],
                      "others": 0.1181,
                      "total": 1.765,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127393
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.041164
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.03735
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.023187
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.021708
                        }
                      ],
                      "others_margin": 0.069315
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.0942089557647705,
                    "model_output": 1.0942,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1271
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0623
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0338
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0328
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0242
                        }
                      ],
                      "others": 0.0844,
                      "total": 1.0942,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.138747
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.065574
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.03609
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.033827
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.024287
                        }
                      ],
                      "others_margin": 0.080284
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.7783265113830566,
                    "model_output": 2.7783,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5886
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3856
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2403
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2095
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0965
                        }
                      ],
                      "others": 0.0949,
                      "total": 2.7783,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.188091
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127131
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.077322
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.072666
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.035317
                        }
                      ],
                      "others_margin": 0.034757
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9513855576515198,
                    "model_output": 0.9514,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.2982
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1497
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0992
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0807
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0318
                        }
                      ],
                      "others": -0.0657,
                      "total": 0.9514,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.243971
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129894
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.08417
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.074144
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.03075
                        }
                      ],
                      "others_margin": -0.066829
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3632090091705322,
                    "model_output": 0.3632,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0795
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0512
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0356
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.011
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.009
                        }
                      ],
                      "others": -0.0454,
                      "total": 0.3632,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.079542
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.051245
                        },
                        {
                          "name": "rating",
                          "margin": -0.03564
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.011018
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.009006
                        }
                      ],
                      "others_margin": -0.045343
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.634008884429932,
                    "model_output": 6.634,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0282
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0249
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0205
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0138
                        }
                      ],
                      "others": -0.0438,
                      "total": 6.634,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.02819
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.024869
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.020519
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.019523
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013837
                        }
                      ],
                      "others_margin": -0.043755
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "role_matches": 35,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9976, quality 0.437)",
              "stats": {
                "interceptions": 1.1576,
                "tackles": 1.7608,
                "tackles_won": 1.0916,
                "clearances": 2.7717,
                "aerial_won": 0.9491,
                "total_shots": 0.3623,
                "rating": 6.634,
                "minutes": 82.05,
                "total_pass": 33.2542,
                "accurate_pass": 25.6784,
                "duels_won": 4.1121,
                "total_long_balls": 5.1598,
                "accurate_long_balls": 1.2946,
                "total_own_half_passes": 14.9906,
                "accurate_own_half_passes": 12.8782,
                "total_opp_half_passes": 18.2635,
                "accurate_opp_half_passes": 12.8002,
                "crosses_total": 3.1888,
                "crosses_accurate": 0.5199,
                "touches": 56.7758,
                "possession_lost": 14.0153,
                "dispossessed": 0.3707,
                "duels_lost": 4.3745,
                "aerial_lost": 0.8958,
                "total_contest": 2.071,
                "won_contest": 1.182,
                "ball_recovery": 3.4096,
                "challenges_lost": 1.2583,
                "fouls": 0.9605,
                "fouls_drawn": 0.6551,
                "blocks": 0.5553,
                "goals": 0.0012,
                "goal_rate": 0.0012,
                "assists": 0.088,
                "assist_rate": 0.088,
                "expected_goals": 0.013,
                "expected_assists": 0.0643,
                "shots_on_target": 0.1096,
                "big_chances_created": 0.1561,
                "xgot": 0.014,
                "ball_carries": 12.2468,
                "total_progression": 36.2941,
                "progressive_carries": 0.5644,
                "key_pass": 0.5274,
                "shots_off_target": 0.2527
              },
              "params": {
                "market_value_eur": 2400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9976,
                "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.0040)",
              "stats": {
                "interceptions": 1.1575,
                "tackles": 1.7608,
                "tackles_won": 1.0918,
                "clearances": 2.7717,
                "aerial_won": 0.9491,
                "total_shots": 0.3608,
                "rating": 6.634,
                "minutes": 82.05,
                "total_pass": 33.2542,
                "accurate_pass": 25.6784,
                "duels_won": 4.1121,
                "total_long_balls": 5.1598,
                "accurate_long_balls": 1.2946,
                "total_own_half_passes": 14.9906,
                "accurate_own_half_passes": 12.8782,
                "total_opp_half_passes": 18.2635,
                "accurate_opp_half_passes": 12.8002,
                "crosses_total": 3.1989,
                "crosses_accurate": 0.5199,
                "touches": 56.7758,
                "possession_lost": 14.0153,
                "dispossessed": 0.3707,
                "duels_lost": 4.3745,
                "aerial_lost": 0.8958,
                "total_contest": 2.071,
                "won_contest": 1.182,
                "ball_recovery": 3.4096,
                "challenges_lost": 1.2583,
                "fouls": 0.9566,
                "fouls_drawn": 0.6571,
                "blocks": 0.5553,
                "goals": 0.0012,
                "goal_rate": 0.0012,
                "assists": 0.0876,
                "assist_rate": 0.0876,
                "expected_goals": 0.013,
                "expected_assists": 0.0643,
                "shots_on_target": 0.1092,
                "big_chances_created": 0.1561,
                "xgot": 0.014,
                "ball_carries": 12.2468,
                "total_progression": 36.2941,
                "progressive_carries": 0.5644,
                "key_pass": 0.5274,
                "shots_off_target": 0.2527
              },
              "params": {
                "blend_weight": 0.004,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9117,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 3.1888,
                  "after": 3.1989
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1575,
                "tackles": 1.7608,
                "tackles_won": 1.0918,
                "clearances": 2.7717,
                "aerial_won": 0.9491,
                "total_shots": 0.3619,
                "rating": 6.634,
                "minutes": 82.05,
                "total_pass": 33.2542,
                "accurate_pass": 25.6784,
                "duels_won": 4.1121,
                "total_long_balls": 5.1598,
                "accurate_long_balls": 1.2946,
                "total_own_half_passes": 14.9906,
                "accurate_own_half_passes": 12.8782,
                "total_opp_half_passes": 18.2635,
                "accurate_opp_half_passes": 12.8002,
                "crosses_total": 3.1989,
                "crosses_accurate": 0.5199,
                "touches": 56.7758,
                "possession_lost": 14.0153,
                "dispossessed": 0.3707,
                "duels_lost": 4.3745,
                "aerial_lost": 0.8958,
                "total_contest": 2.071,
                "won_contest": 1.182,
                "ball_recovery": 3.4096,
                "challenges_lost": 1.2583,
                "fouls": 0.9566,
                "fouls_drawn": 0.6571,
                "blocks": 0.5553,
                "goals": 0.0012,
                "goal_rate": 0.0012,
                "assists": 0.0876,
                "assist_rate": 0.0876,
                "expected_goals": 0.013,
                "expected_assists": 0.0643,
                "shots_on_target": 0.1092,
                "big_chances_created": 0.1561,
                "xgot": 0.014,
                "ball_carries": 12.2468,
                "total_progression": 36.2941,
                "progressive_carries": 0.5644,
                "key_pass": 0.5274,
                "shots_off_target": 0.2527
              },
              "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.1575,
                "tackles": 1.7608,
                "tackles_won": 1.0918,
                "clearances": 2.7717,
                "aerial_won": 0.9491,
                "total_shots": 0.3619,
                "rating": 6.634,
                "minutes": 82.05,
                "total_pass": 33.2542,
                "accurate_pass": 25.6784,
                "duels_won": 4.1121,
                "total_long_balls": 5.1598,
                "accurate_long_balls": 1.2946,
                "total_own_half_passes": 14.9906,
                "accurate_own_half_passes": 12.8782,
                "total_opp_half_passes": 18.2635,
                "accurate_opp_half_passes": 12.8002,
                "crosses_total": 3.1989,
                "crosses_accurate": 0.5199,
                "touches": 56.7758,
                "possession_lost": 14.0153,
                "dispossessed": 0.3707,
                "duels_lost": 4.3745,
                "aerial_lost": 0.8958,
                "total_contest": 2.071,
                "won_contest": 1.182,
                "ball_recovery": 3.4096,
                "challenges_lost": 1.2583,
                "fouls": 0.9566,
                "fouls_drawn": 0.6571,
                "blocks": 0.5553,
                "goals": 0.0012,
                "goal_rate": 0.0012,
                "assists": 0.0876,
                "assist_rate": 0.0876,
                "expected_goals": 0.013,
                "expected_assists": 0.0643,
                "shots_on_target": 0.1092,
                "big_chances_created": 0.1561,
                "xgot": 0.014,
                "ball_carries": 12.2468,
                "total_progression": 36.2941,
                "progressive_carries": 0.5644,
                "key_pass": 0.5274,
                "shots_off_target": 0.2527,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.478,
                "opponent_faced": "Peio Canales",
                "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": "Peio Canales",
                  "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 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.1575,
                "tackles": 1.7608,
                "tackles_won": 1.0918,
                "clearances": 2.7717,
                "aerial_won": 0.9491,
                "total_shots": 0.3619,
                "rating": 6.634,
                "minutes": 82.05,
                "total_pass": 33.2542,
                "accurate_pass": 25.6784,
                "duels_won": 4.1121,
                "total_long_balls": 5.1598,
                "accurate_long_balls": 1.2946,
                "total_own_half_passes": 14.9906,
                "accurate_own_half_passes": 12.8782,
                "total_opp_half_passes": 18.2635,
                "accurate_opp_half_passes": 12.8002,
                "crosses_total": 3.1989,
                "crosses_accurate": 0.5199,
                "touches": 56.7758,
                "possession_lost": 14.0153,
                "dispossessed": 0.3707,
                "duels_lost": 4.3745,
                "aerial_lost": 0.8958,
                "total_contest": 2.071,
                "won_contest": 1.182,
                "ball_recovery": 3.4096,
                "challenges_lost": 1.2583,
                "fouls": 0.9566,
                "fouls_drawn": 0.6571,
                "blocks": 0.5553,
                "goal_rate": 0.0012,
                "goals": 0,
                "assist_rate": 0.0876,
                "assists": 0,
                "expected_goals": 0.013,
                "expected_assists": 0.0643,
                "shots_on_target": 0.1092,
                "big_chances_created": 0.1561,
                "xgot": 0.014,
                "ball_carries": 12.2468,
                "total_progression": 36.2941,
                "progressive_carries": 0.5644,
                "key_pass": 0.5274,
                "shots_off_target": 0.2527,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.478,
                "opponent_faced": "Peio Canales",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.1575,
                "tackles": 1.7608,
                "tackles_won": 1.0918,
                "clearances": 2.7717,
                "aerial_won": 0.9491,
                "total_shots": 0.3619,
                "rating": 6.634,
                "minutes": 82.05,
                "total_pass": 33.2542,
                "accurate_pass": 25.6784,
                "duels_won": 4.1121,
                "total_long_balls": 5.1598,
                "accurate_long_balls": 1.2946,
                "total_own_half_passes": 14.9906,
                "accurate_own_half_passes": 12.8782,
                "total_opp_half_passes": 18.2635,
                "accurate_opp_half_passes": 12.8002,
                "crosses_total": 3.1989,
                "crosses_accurate": 0.5199,
                "touches": 56.7758,
                "possession_lost": 14.0153,
                "dispossessed": 0.3707,
                "duels_lost": 4.3745,
                "aerial_lost": 0.8958,
                "total_contest": 2.071,
                "won_contest": 1.182,
                "ball_recovery": 3.4096,
                "challenges_lost": 1.2583,
                "fouls": 0.9566,
                "fouls_drawn": 0.6571,
                "blocks": 0.5553,
                "goal_rate": 0.0012,
                "goals": 0,
                "assist_rate": 0.0876,
                "assists": 0,
                "expected_goals": 0.0122,
                "expected_assists": 0.0705,
                "shots_on_target": 0.1092,
                "big_chances_created": 0.1561,
                "xgot": 0.0131,
                "ball_carries": 12.2468,
                "total_progression": 36.2941,
                "progressive_carries": 0.5644,
                "key_pass": 0.5274,
                "shots_off_target": 0.2527,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.478,
                "opponent_faced": "Peio Canales",
                "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.8127,
                "creation_factor": 1.2038
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0643,
                  "after": 0.0705
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 82.0)",
              "stats": {
                "interceptions": 1.1575,
                "tackles": 1.7608,
                "tackles_won": 1.0918,
                "clearances": 2.7717,
                "aerial_won": 0.9491,
                "total_shots": 0.3619,
                "rating": 6.634,
                "minutes": 82.05,
                "total_pass": 33.2542,
                "accurate_pass": 25.6784,
                "duels_won": 4.1121,
                "total_long_balls": 5.1598,
                "accurate_long_balls": 1.2946,
                "total_own_half_passes": 14.9906,
                "accurate_own_half_passes": 12.8782,
                "total_opp_half_passes": 18.2635,
                "accurate_opp_half_passes": 12.8002,
                "crosses_total": 3.1989,
                "crosses_accurate": 0.5199,
                "touches": 56.7758,
                "possession_lost": 14.0153,
                "dispossessed": 0.3707,
                "duels_lost": 4.3745,
                "aerial_lost": 0.8958,
                "total_contest": 2.071,
                "won_contest": 1.182,
                "ball_recovery": 3.4096,
                "challenges_lost": 1.2583,
                "fouls": 0.9566,
                "fouls_drawn": 0.6571,
                "blocks": 0.5553,
                "goal_rate": 0.0012,
                "goals": 0,
                "assist_rate": 0.0876,
                "assists": 0,
                "expected_goals": 0.0122,
                "expected_assists": 0.0705,
                "shots_on_target": 0.1092,
                "big_chances_created": 0.1561,
                "xgot": 0.0131,
                "ball_carries": 12.2468,
                "total_progression": 36.2941,
                "progressive_carries": 0.5644,
                "key_pass": 0.5274,
                "shots_off_target": 0.2527,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.478,
                "opponent_faced": "Peio Canales",
                "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.8127,
                "creation_factor": 1.2038,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 883,
                "fifa_rank": 398.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.1575,
                "tackles": 1.7608,
                "tackles_won": 1.0918,
                "clearances": 2.7717,
                "aerial_won": 0.9491,
                "total_shots": 0.3619,
                "rating": 6.634,
                "minutes": 82.05,
                "total_pass": 33.2542,
                "accurate_pass": 25.6784,
                "duels_won": 4.1121,
                "total_long_balls": 5.1598,
                "accurate_long_balls": 1.2946,
                "total_own_half_passes": 14.9906,
                "accurate_own_half_passes": 12.8782,
                "total_opp_half_passes": 18.2635,
                "accurate_opp_half_passes": 12.8002,
                "crosses_total": 3.1989,
                "crosses_accurate": 0.5199,
                "touches": 56.7758,
                "possession_lost": 14.0153,
                "dispossessed": 0.3707,
                "duels_lost": 4.3745,
                "aerial_lost": 0.8958,
                "total_contest": 2.071,
                "won_contest": 1.182,
                "ball_recovery": 3.4096,
                "challenges_lost": 1.2583,
                "fouls": 0.9566,
                "fouls_drawn": 0.6571,
                "blocks": 0.5553,
                "goal_rate": 0.0012,
                "goals": 0,
                "assist_rate": 0.0876,
                "assists": 0,
                "expected_goals": 0.0122,
                "expected_assists": 0.0705,
                "shots_on_target": 0.1092,
                "big_chances_created": 0.1561,
                "xgot": 0.0131,
                "ball_carries": 12.2468,
                "total_progression": 36.2941,
                "progressive_carries": 0.5644,
                "key_pass": 0.5274,
                "shots_off_target": 0.2527,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.478,
                "opponent_faced": "Peio Canales",
                "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.0121,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8127,
                "creation_factor": 1.2038,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0121,
                "goal_rate": 0.0012,
                "scorer_weight": 0.0099,
                "squad_weight_total": 1.0105,
                "weight_share": 0.0098,
                "finishing_factor": 0.8127,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.1575,
                "tackles": 1.7608,
                "tackles_won": 1.0918,
                "clearances": 2.7717,
                "aerial_won": 0.9491,
                "total_shots": 0.3619,
                "rating": 6.634,
                "minutes": 82.05,
                "total_pass": 33.2542,
                "accurate_pass": 25.6784,
                "duels_won": 4.1121,
                "total_long_balls": 5.1598,
                "accurate_long_balls": 1.2946,
                "total_own_half_passes": 14.9906,
                "accurate_own_half_passes": 12.8782,
                "total_opp_half_passes": 18.2635,
                "accurate_opp_half_passes": 12.8002,
                "crosses_total": 3.1989,
                "crosses_accurate": 0.5199,
                "touches": 56.7758,
                "possession_lost": 14.0153,
                "dispossessed": 0.3707,
                "duels_lost": 4.3745,
                "aerial_lost": 0.8958,
                "total_contest": 2.071,
                "won_contest": 1.182,
                "ball_recovery": 3.4096,
                "challenges_lost": 1.2583,
                "fouls": 0.9566,
                "fouls_drawn": 0.6571,
                "blocks": 0.5553,
                "goal_rate": 0.0012,
                "goals": 0,
                "assist_rate": 0.0876,
                "assists": 0,
                "expected_goals": 0.0122,
                "expected_assists": 0.0705,
                "shots_on_target": 0.1092,
                "big_chances_created": 0.1561,
                "xgot": 0.0131,
                "ball_carries": 12.2468,
                "total_progression": 36.2941,
                "progressive_carries": 0.5644,
                "key_pass": 0.5274,
                "shots_off_target": 0.2527,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.478,
                "opponent_faced": "Peio Canales",
                "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.0121,
                "projected_assists": 0,
                "assist_probability": 0.0681,
                "finishing_factor": 0.8127,
                "creation_factor": 1.2038,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0681,
                "assist_rate": 0.0876,
                "provider_weight": 0.0849,
                "squad_weight_total": 0.6588,
                "weight_share": 0.1288,
                "creation_factor": 1.2038,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12
              }
            }
          ]
        },
        "Stole Dimitrievski": {
          "player_id": 97951,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 188,
          "market_value": 2100000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.1065,
            "rating": 6.9229,
            "minutes": 90,
            "total_pass": 33,
            "accurate_pass": 19,
            "total_long_balls": 19,
            "accurate_long_balls": 5,
            "touches": 46,
            "clearances": 1,
            "ball_recovery": 10,
            "high_claims": 2,
            "punches": 0.6167,
            "aerial_won": 0,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 2,
            "possession_lost": 15.29,
            "duels_won": 1,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 15,
            "gk_engine_opponent_lambda": 0.9807,
            "shots_faced": 9.5,
            "expected_saves": 2.32,
            "high_pressure_saves": 0.8,
            "opponent_faced": "Iñaki Williams, Robert Navarro",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 12,
                "duels_won": 1,
                "ball_recovery": 14,
                "saves": 9,
                "goals_prevented": 0.2949
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 18,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 6,
                "saves": 3,
                "goals_prevented": -0.3169
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 20,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 3,
                "goals_prevented": 0.3457
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 29,
                "ball_recovery": 11,
                "saves": 3,
                "goals_prevented": -0.2532
              },
              "has_player_stats": true,
              "league_name": "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": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 13,
                "clearances": 2,
                "ball_recovery": 9,
                "saves": 5,
                "goals_prevented": 0.0829
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 21,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": -2.2955
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 19,
                "clearances": 2,
                "ball_recovery": 12,
                "saves": 2,
                "goals_prevented": -0.4455
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 19,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 3,
                "goals_prevented": 0.0564
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 9,
                "clearances": 2,
                "ball_recovery": 6,
                "saves": 3,
                "goals_prevented": 0.9127
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 18,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 1,
                "goals_prevented": -1.3388
              },
              "has_player_stats": true,
              "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": 2524,
            "combined_rank_score": 913.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 280.0,
            "sofascore_rating": 7.065,
            "sofascore_appearances": 20.0,
            "fifa_rank": 1546.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9229,
            "source_file": "data/player_rankings.csv",
            "player_name": "Stole Dimitrievski",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Thiago Almada",
                  "ranking": 2519
                },
                {
                  "player_name": "Jacob Ramsey",
                  "ranking": 2520
                },
                {
                  "player_name": "Wilfried Singo",
                  "ranking": 2521
                },
                {
                  "player_name": "Noah Okafor",
                  "ranking": 2522
                },
                {
                  "player_name": "Noah Atubolu",
                  "ranking": 2523
                }
              ],
              "lower": [
                {
                  "player_name": "Samuele Ricci",
                  "ranking": 2525
                },
                {
                  "player_name": "Yahir Salazar",
                  "ranking": 2526
                },
                {
                  "player_name": "Jae-hwan Lee",
                  "ranking": 2527
                },
                {
                  "player_name": "Yanis Lhéry",
                  "ranking": 2528
                },
                {
                  "player_name": "Thomas Kevin Aquilina",
                  "ranking": 2529
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 28,
          "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": 28,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9969,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "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 28 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3.1444,
                "goals_prevented": -0.1068,
                "rating": 6.9229,
                "minutes": 90.0,
                "total_pass": 33.5055,
                "accurate_pass": 18.5603,
                "total_long_balls": 19.0074,
                "accurate_long_balls": 4.7713,
                "touches": 45.8971,
                "clearances": 0.8614,
                "ball_recovery": 9.8541,
                "high_claims": 1.7413,
                "punches": 0.6186,
                "aerial_won": 0.2091,
                "sweeper_actions": 1.1127,
                "sweeper_accurate": 1.0936,
                "saves_inside_box": 2.352,
                "possession_lost": 15.3375,
                "duels_won": 0.5481,
                "duels_lost": 0.0216,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3316,
                "total_own_half_passes": 19.248,
                "accurate_own_half_passes": 15.4182
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-17T10:04:09.876591+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1516,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1289,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1095,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0931,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0791,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0673,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0572,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0486,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0413,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 6.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateLongBalls": 4.7713,
                  "save_contribution": 3.7918,
                  "distribution_accuracy": 0.7757,
                  "accurateOwnHalfPasses": 15.4183,
                  "passValueNormalized": 0.0608,
                  "totalOwnHalfPasses": 19.248
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.1443710327148438,
                    "model_output": 3.1444,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "goodHighClaim",
                          "contribution": 0.0656
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0363
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0361
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0333
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.018
                        }
                      ],
                      "others": 0.0141,
                      "total": 3.1444,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "goodHighClaim",
                          "margin": 0.022059
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.012003
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": 0.011801
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.010742
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.005781
                        }
                      ],
                      "others_margin": 0.004464
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.10680698603391647,
                    "model_output": -0.1068,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0228
                        },
                        {
                          "name": "saves",
                          "contribution": -0.0197
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0146
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0117
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0218,
                      "total": -0.1068,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.02277
                        },
                        {
                          "name": "saves",
                          "margin": -0.019679
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.01459
                        },
                        {
                          "name": "punches",
                          "margin": 0.011657
                        },
                        {
                          "name": "commanding_index",
                          "margin": -0.011461
                        }
                      ],
                      "others_margin": -0.021851
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.922903537750244,
                    "model_output": 6.9229,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0329
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0192
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0184
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0169
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0163
                        }
                      ],
                      "others": -0.0414,
                      "total": 6.9229,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.032948
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.019176
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.01842
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": 0.016904
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.016255
                        }
                      ],
                      "others_margin": -0.041446
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 28,
                  "role_matches": 28,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9969, quality 0.437)",
              "stats": {
                "saves": 3.1346,
                "goals_prevented": -0.1065,
                "rating": 6.9229,
                "minutes": 90.0,
                "total_pass": 33.4016,
                "accurate_pass": 18.5028,
                "total_long_balls": 18.9485,
                "accurate_long_balls": 4.7565,
                "touches": 45.7548,
                "clearances": 0.8587,
                "ball_recovery": 9.8236,
                "high_claims": 1.7359,
                "punches": 0.6167,
                "aerial_won": 0.2085,
                "sweeper_actions": 1.1093,
                "sweeper_accurate": 1.0902,
                "saves_inside_box": 2.3447,
                "possession_lost": 15.29,
                "duels_won": 0.5464,
                "duels_lost": 0.0215,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3306,
                "total_own_half_passes": 19.1883,
                "accurate_own_half_passes": 15.3704
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9969,
                "reference_quality": 0.505,
                "history_matches": 28,
                "history_shrink": 0.1515,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0197)",
              "stats": {
                "saves": 3.1254,
                "goals_prevented": -0.1065,
                "rating": 6.9229,
                "minutes": 90.0,
                "total_pass": 33.4016,
                "accurate_pass": 18.5028,
                "total_long_balls": 18.9485,
                "accurate_long_balls": 4.7565,
                "touches": 45.7548,
                "clearances": 0.8587,
                "ball_recovery": 9.8236,
                "high_claims": 1.7359,
                "punches": 0.6167,
                "aerial_won": 0.2085,
                "sweeper_actions": 1.1093,
                "sweeper_accurate": 1.0902,
                "saves_inside_box": 2.3447,
                "possession_lost": 15.29,
                "duels_won": 0.5464,
                "duels_lost": 0.0215,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3241,
                "total_own_half_passes": 19.1883,
                "accurate_own_half_passes": 15.3704
              },
              "params": {
                "blend_weight": 0.0197,
                "history_matches": 28,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 3.1346,
                  "after": 3.1254
                },
                {
                  "stat": "wasFouled",
                  "before": 0.3306,
                  "after": 0.3241
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3.1254,
                "goals_prevented": -0.1065,
                "rating": 6.9229,
                "minutes": 90.0,
                "total_pass": 33.4016,
                "accurate_pass": 18.5028,
                "total_long_balls": 18.9485,
                "accurate_long_balls": 4.7565,
                "touches": 45.7548,
                "clearances": 0.8587,
                "ball_recovery": 9.8236,
                "high_claims": 1.7359,
                "punches": 0.6167,
                "aerial_won": 0.2085,
                "sweeper_actions": 1.1093,
                "sweeper_accurate": 1.0902,
                "saves_inside_box": 2.3447,
                "possession_lost": 15.29,
                "duels_won": 0.5464,
                "duels_lost": 0.0215,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3241,
                "total_own_half_passes": 19.1883,
                "accurate_own_half_passes": 15.3704
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 3.1254,
                "goals_prevented": -0.1065,
                "rating": 6.9229,
                "minutes": 90.0,
                "total_pass": 33.4016,
                "accurate_pass": 18.5028,
                "total_long_balls": 18.9485,
                "accurate_long_balls": 4.7565,
                "touches": 45.7548,
                "clearances": 0.8587,
                "ball_recovery": 9.8236,
                "high_claims": 1.7359,
                "punches": 0.6167,
                "aerial_won": 0.2085,
                "sweeper_actions": 1.1093,
                "sweeper_accurate": 1.0902,
                "saves_inside_box": 2.3447,
                "possession_lost": 15.29,
                "duels_won": 0.5464,
                "duels_lost": 0.0215,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3241,
                "total_own_half_passes": 19.1883,
                "accurate_own_half_passes": 15.3704,
                "gk_engine_opponent_lambda": 0.9807,
                "shots_faced": 9.3,
                "expected_saves": 2.27,
                "high_pressure_saves": 0.78,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñaki Williams, Robert Navarro",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 0.9807
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 3.1254,
                "goals_prevented": -0.1065,
                "rating": 6.9229,
                "minutes": 90.0,
                "total_pass": 33.4016,
                "accurate_pass": 18.5028,
                "total_long_balls": 18.9485,
                "accurate_long_balls": 4.7565,
                "touches": 45.7548,
                "clearances": 0.8587,
                "ball_recovery": 9.8236,
                "high_claims": 1.7359,
                "punches": 0.6167,
                "aerial_won": 0.2085,
                "sweeper_actions": 1.1093,
                "sweeper_accurate": 1.0902,
                "saves_inside_box": 2.3447,
                "possession_lost": 15.29,
                "duels_won": 0.5464,
                "duels_lost": 0.0215,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3241,
                "total_own_half_passes": 19.1883,
                "accurate_own_half_passes": 15.3704,
                "gk_engine_opponent_lambda": 0.9807,
                "shots_faced": 9.3,
                "expected_saves": 2.27,
                "high_pressure_saves": 0.78,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "saves": 3.1254,
                "goals_prevented": -0.1065,
                "rating": 6.9229,
                "minutes": 90.0,
                "total_pass": 33.4016,
                "accurate_pass": 18.5028,
                "total_long_balls": 18.9485,
                "accurate_long_balls": 4.7565,
                "touches": 45.7548,
                "clearances": 0.8587,
                "ball_recovery": 9.8236,
                "high_claims": 1.7359,
                "punches": 0.6167,
                "aerial_won": 0.2085,
                "sweeper_actions": 1.1093,
                "sweeper_accurate": 1.0902,
                "saves_inside_box": 2.3447,
                "possession_lost": 15.29,
                "duels_won": 0.5464,
                "duels_lost": 0.0215,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3241,
                "total_own_half_passes": 19.1883,
                "accurate_own_half_passes": 15.3704,
                "gk_engine_opponent_lambda": 0.9807,
                "shots_faced": 9.5,
                "expected_saves": 2.32,
                "high_pressure_saves": 0.8,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 9.3,
                  "after": 9.5
                },
                {
                  "stat": "expected_saves",
                  "before": 2.27,
                  "after": 2.32
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.78,
                  "after": 0.8
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 77.0)",
              "stats": {
                "saves": 3.1254,
                "goals_prevented": -0.1065,
                "rating": 6.9229,
                "minutes": 90.0,
                "total_pass": 33.4016,
                "accurate_pass": 18.5028,
                "total_long_balls": 18.9485,
                "accurate_long_balls": 4.7565,
                "touches": 45.7548,
                "clearances": 0.8587,
                "ball_recovery": 9.8236,
                "high_claims": 1.7359,
                "punches": 0.6167,
                "aerial_won": 0.2085,
                "sweeper_actions": 1.1093,
                "sweeper_accurate": 1.0902,
                "saves_inside_box": 2.3447,
                "possession_lost": 15.29,
                "duels_won": 0.5464,
                "duels_lost": 0.0215,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3241,
                "total_own_half_passes": 19.1883,
                "accurate_own_half_passes": 15.3704,
                "gk_engine_opponent_lambda": 0.9807,
                "shots_faced": 9.5,
                "expected_saves": 2.32,
                "high_pressure_saves": 0.8,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2524,
                "fifa_rank": 1546.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "saves": 3.1254,
                "goals_prevented": -0.1065,
                "rating": 6.9229,
                "minutes": 90.0,
                "total_pass": 33.4016,
                "accurate_pass": 18.5028,
                "total_long_balls": 18.9485,
                "accurate_long_balls": 4.7565,
                "touches": 45.7548,
                "clearances": 0.8587,
                "ball_recovery": 9.8236,
                "high_claims": 1.7359,
                "punches": 0.6167,
                "aerial_won": 0.2085,
                "sweeper_actions": 1.1093,
                "sweeper_accurate": 1.0902,
                "saves_inside_box": 2.3447,
                "possession_lost": 15.29,
                "duels_won": 0.5464,
                "duels_lost": 0.0215,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3241,
                "total_own_half_passes": 19.1883,
                "accurate_own_half_passes": 15.3704,
                "gk_engine_opponent_lambda": 0.9807,
                "shots_faced": 9.5,
                "expected_saves": 2.32,
                "high_pressure_saves": 0.8,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.0105,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "saves": 3.1254,
                "goals_prevented": -0.1065,
                "rating": 6.9229,
                "minutes": 90.0,
                "total_pass": 33.4016,
                "accurate_pass": 18.5028,
                "total_long_balls": 18.9485,
                "accurate_long_balls": 4.7565,
                "touches": 45.7548,
                "clearances": 0.8587,
                "ball_recovery": 9.8236,
                "high_claims": 1.7359,
                "punches": 0.6167,
                "aerial_won": 0.2085,
                "sweeper_actions": 1.1093,
                "sweeper_accurate": 1.0902,
                "saves_inside_box": 2.3447,
                "possession_lost": 15.29,
                "duels_won": 0.5464,
                "duels_lost": 0.0215,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3241,
                "total_own_half_passes": 19.1883,
                "accurate_own_half_passes": 15.3704,
                "gk_engine_opponent_lambda": 0.9807,
                "shots_faced": 9.5,
                "expected_saves": 2.32,
                "high_pressure_saves": 0.8,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.6588,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0
              }
            }
          ]
        },
        "David Otorbi": {
          "player_id": 1580022,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 27,
          "height": 180,
          "market_value": 3300000,
          "stats": {
            "expected_goals": 0.1401,
            "goal_rate": 0.1824,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.098,
            "key_pass": 1,
            "rating": 6.9368,
            "minutes": 82,
            "total_pass": 13,
            "accurate_pass": 11,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 5.9538,
            "dispossessed": 0.4678,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1004,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 56,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9286,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
            "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1307,
            "projected_assists": 0,
            "assist_probability": 0.0934,
            "finishing_factor": 1.1632,
            "creation_factor": 0.8,
            "fifa_overall": 64.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 32,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4826,
                "expected_assists": 0.2502,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 10,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1355,
                "expected_assists": 0.2583,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 15,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 20,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0566,
                "expected_assists": 0.0432,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 2,
                "accurate_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": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0541,
                "expected_assists": 0.0101,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 16,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 76,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0062,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "tackles": 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": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 30,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1705,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 19,
                "key_pass": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 9,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_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"
            }
          ],
          "ranking": {
            "global_player_rank": 8270,
            "combined_rank_score": 6797.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 641.0,
            "sofascore_rating": 6.75,
            "sofascore_appearances": 2.0,
            "fifa_rank": 12953.0,
            "fifa_overall": 64.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9368,
            "source_file": "data/player_rankings.csv",
            "player_name": "David Otorbi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Giorgio Altare",
                  "ranking": 8265
                },
                {
                  "player_name": "James Abankwah",
                  "ranking": 8266
                },
                {
                  "player_name": "Giorgio Cittadini",
                  "ranking": 8267
                },
                {
                  "player_name": "Leonardo Buta",
                  "ranking": 8268
                },
                {
                  "player_name": "Gaby Jean",
                  "ranking": 8269
                }
              ],
              "lower": [
                {
                  "player_name": "Medon Berisha",
                  "ranking": 8271
                },
                {
                  "player_name": "Edoardo Corvi",
                  "ranking": 8272
                },
                {
                  "player_name": "Danilo Veiga",
                  "ranking": 8273
                },
                {
                  "player_name": "Luca Lipani",
                  "ranking": 8274
                },
                {
                  "player_name": "Richie Sagrado",
                  "ranking": 8275
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.692,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.692,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.992,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 34.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "XGBoost regressor (F_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1626,
                "goals": 0.1994,
                "goal_rate": 0.1994,
                "shots_on_target": 0.4519,
                "total_shots": 1.3405,
                "expected_assists": 0.0901,
                "key_pass": 1.0998,
                "rating": 6.9368,
                "minutes": 81.78,
                "total_pass": 13.3042,
                "accurate_pass": 10.7302,
                "duels_won": 2.5797,
                "total_long_balls": 0.1152,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.0199,
                "accurate_opp_half_passes": 7.4314,
                "crosses_total": 2.0033,
                "crosses_accurate": 0.3187,
                "touches": 23.4555,
                "possession_lost": 6.0018,
                "dispossessed": 0.4716,
                "duels_lost": 1.8079,
                "aerial_lost": 0.2951,
                "total_contest": 1.3324,
                "won_contest": 0.848,
                "ball_recovery": 2.3992,
                "challenges_lost": 0.5568,
                "fouls": 0.0,
                "fouls_drawn": 0.358,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3232,
                "tackles_won": 0.6512,
                "tackles": 0.902,
                "clearances": 0.2208,
                "blocks": 0.1356,
                "big_chances_created": 0.4084,
                "big_chances_missed": 0.0,
                "xgot": 0.1166,
                "offsides": 0.0,
                "ball_carries": 6.7008,
                "total_progression": 56.1584,
                "progressive_carries": 2.191,
                "shots_off_target": 0.8886
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1877,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1595,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 9.0199,
                  "expectedGoals": 0.1483,
                  "accurateOppositionHalfPasses": 7.4314,
                  "accuratePass": 10.7302,
                  "totalShots": 1.112
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1625748872756958,
                    "model_output": 0.1626,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.06
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0353
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0148
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0128
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0079
                        }
                      ],
                      "others": -0.0241,
                      "total": 0.1626,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.265355
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.147282
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.068809
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.063922
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.041251
                        }
                      ],
                      "others_margin": -0.138791
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.19942396879196167,
                    "model_output": 0.1994,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0659
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0472
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0126
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0116
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0131,
                      "total": 0.1994,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.280523
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.192589
                        },
                        {
                          "name": "goals",
                          "margin": 0.05529
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.050481
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.048577
                        }
                      ],
                      "others_margin": -0.0637
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4519402086734772,
                    "model_output": 0.4519,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1636
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.058
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0328
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0303
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0282
                        }
                      ],
                      "others": -0.1,
                      "total": 0.4519,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.265621
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.086365
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.052372
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.050992
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.04984
                        }
                      ],
                      "others_margin": -0.199709
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3405276536941528,
                    "model_output": 1.3405,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4264
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1674
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0575
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0385
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0364
                        }
                      ],
                      "others": -0.1599,
                      "total": 1.3405,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.426447
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.167405
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.057543
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.038465
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.03641
                        }
                      ],
                      "others_margin": -0.159937
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09014372527599335,
                    "model_output": 0.0901,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0163
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.008
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0068
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0064
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0067
                        }
                      ],
                      "others": -0.0047,
                      "total": 0.0901,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.225986
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.095128
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.079309
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.075495
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.073706
                        }
                      ],
                      "others_margin": -0.051846
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.0997514724731445,
                    "model_output": 1.0998,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2266
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0746
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0388
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0368
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.038
                        }
                      ],
                      "others": 0.0892,
                      "total": 1.0998,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.290077
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.079639
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.04067
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.038597
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.03831
                        }
                      ],
                      "others_margin": 0.084594
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.936818599700928,
                    "model_output": 6.9368,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0881
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0616
                        },
                        {
                          "name": "rating",
                          "contribution": 0.058
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.021
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0176
                        }
                      ],
                      "others": -0.0345,
                      "total": 6.9368,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.088096
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.061608
                        },
                        {
                          "name": "rating",
                          "margin": 0.058023
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.020983
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.017575
                        }
                      ],
                      "others_margin": -0.034502
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9920, quality 0.441)",
              "stats": {
                "expected_goals": 0.1613,
                "goals": 0.1978,
                "goal_rate": 0.1978,
                "shots_on_target": 0.4483,
                "total_shots": 1.3298,
                "expected_assists": 0.0894,
                "key_pass": 1.091,
                "rating": 6.9368,
                "minutes": 81.78,
                "total_pass": 13.1978,
                "accurate_pass": 10.6444,
                "duels_won": 2.5591,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.9477,
                "accurate_opp_half_passes": 7.3719,
                "crosses_total": 1.9873,
                "crosses_accurate": 0.3162,
                "touches": 23.2679,
                "possession_lost": 5.9538,
                "dispossessed": 0.4678,
                "duels_lost": 1.7934,
                "aerial_lost": 0.2927,
                "total_contest": 1.3217,
                "won_contest": 0.8412,
                "ball_recovery": 2.38,
                "challenges_lost": 0.5523,
                "fouls": 0.0,
                "fouls_drawn": 0.3551,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3206,
                "tackles_won": 0.646,
                "tackles": 0.8948,
                "clearances": 0.219,
                "blocks": 0.1345,
                "big_chances_created": 0.4051,
                "big_chances_missed": 0.0,
                "xgot": 0.1157,
                "offsides": 0.0,
                "ball_carries": 6.6472,
                "total_progression": 55.7091,
                "progressive_carries": 2.1735,
                "shots_off_target": 0.8815
              },
              "params": {
                "market_value_eur": 3300000,
                "quality_factor": 0.4412,
                "boost_factor": 0.992,
                "reference_quality": 0.505,
                "history_matches": 7,
                "history_shrink": 0.4167,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0072)",
              "stats": {
                "expected_goals": 0.1613,
                "goals": 0.1964,
                "goal_rate": 0.1964,
                "shots_on_target": 0.4451,
                "total_shots": 1.3202,
                "expected_assists": 0.0894,
                "key_pass": 1.091,
                "rating": 6.9368,
                "minutes": 81.78,
                "total_pass": 13.1978,
                "accurate_pass": 10.6444,
                "duels_won": 2.5591,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.9477,
                "accurate_opp_half_passes": 7.3719,
                "crosses_total": 2.0715,
                "crosses_accurate": 0.3162,
                "touches": 23.2679,
                "possession_lost": 5.9538,
                "dispossessed": 0.4678,
                "duels_lost": 1.7934,
                "aerial_lost": 0.2927,
                "total_contest": 1.3217,
                "won_contest": 0.8412,
                "ball_recovery": 2.38,
                "challenges_lost": 0.5523,
                "fouls": 0.0,
                "fouls_drawn": 0.369,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3183,
                "tackles_won": 0.6578,
                "tackles": 0.8948,
                "clearances": 0.219,
                "blocks": 0.1345,
                "big_chances_created": 0.4051,
                "big_chances_missed": 0.0,
                "xgot": 0.1157,
                "offsides": 0.0,
                "ball_carries": 6.6472,
                "total_progression": 55.7091,
                "progressive_carries": 2.1735,
                "shots_off_target": 0.8815
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9087,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.9873,
                  "after": 2.0715
                },
                {
                  "stat": "wasFouled",
                  "before": 0.3551,
                  "after": 0.369
                },
                {
                  "stat": "wonTackle",
                  "before": 0.646,
                  "after": 0.6578
                },
                {
                  "stat": "totalShots",
                  "before": 1.3298,
                  "after": 1.3202
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1613,
                "goals": 0.1964,
                "goal_rate": 0.1964,
                "shots_on_target": 0.4451,
                "total_shots": 1.3266,
                "expected_assists": 0.0894,
                "key_pass": 1.091,
                "rating": 6.9368,
                "minutes": 81.78,
                "total_pass": 13.1978,
                "accurate_pass": 10.6444,
                "duels_won": 2.5591,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.9477,
                "accurate_opp_half_passes": 7.3719,
                "crosses_total": 2.0715,
                "crosses_accurate": 0.3162,
                "touches": 23.2679,
                "possession_lost": 5.9538,
                "dispossessed": 0.4678,
                "duels_lost": 1.7934,
                "aerial_lost": 0.2927,
                "total_contest": 1.3217,
                "won_contest": 0.8412,
                "ball_recovery": 2.38,
                "challenges_lost": 0.5523,
                "fouls": 0.0,
                "fouls_drawn": 0.369,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3183,
                "tackles_won": 0.6578,
                "tackles": 0.8948,
                "clearances": 0.219,
                "blocks": 0.1345,
                "big_chances_created": 0.4051,
                "big_chances_missed": 0.0,
                "xgot": 0.1157,
                "offsides": 0.0,
                "ball_carries": 6.6472,
                "total_progression": 55.7091,
                "progressive_carries": 2.1735,
                "shots_off_target": 0.8815
              },
              "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.1498,
                "goals": 0.1824,
                "goal_rate": 0.1824,
                "shots_on_target": 0.4133,
                "total_shots": 1.2319,
                "expected_assists": 0.0894,
                "key_pass": 1.091,
                "rating": 6.9368,
                "minutes": 81.78,
                "total_pass": 13.1978,
                "accurate_pass": 10.6444,
                "duels_won": 2.5591,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.9477,
                "accurate_opp_half_passes": 7.3719,
                "crosses_total": 2.0715,
                "crosses_accurate": 0.3162,
                "touches": 23.2679,
                "possession_lost": 5.9538,
                "dispossessed": 0.4678,
                "duels_lost": 1.7934,
                "aerial_lost": 0.2927,
                "total_contest": 1.3217,
                "won_contest": 0.8412,
                "ball_recovery": 2.38,
                "challenges_lost": 0.5523,
                "fouls": 0.0,
                "fouls_drawn": 0.369,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3183,
                "tackles_won": 0.6578,
                "tackles": 0.8948,
                "clearances": 0.219,
                "blocks": 0.1345,
                "big_chances_created": 0.4051,
                "big_chances_missed": 0.0,
                "xgot": 0.1074,
                "offsides": 0.0,
                "ball_carries": 6.6472,
                "total_progression": 55.7091,
                "progressive_carries": 2.1735,
                "shots_off_target": 0.8186,
                "duel_xg_multiplier": 0.9286,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9286,
                  "skill_edge": -0.0206,
                  "height_edge": -0.028,
                  "attacker_skill": 0.4412,
                  "defender_skill": 0.4869,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Aymeric Laporte",
                      "market_value": 8400000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5365
                    },
                    {
                      "player": "Yeray Álvarez",
                      "market_value": 930000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1498
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.3266,
                  "after": 1.2319
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8815,
                  "after": 0.8186
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4451,
                  "after": 0.4133
                },
                {
                  "stat": "goals",
                  "before": 0.1964,
                  "after": 0.1824
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1613,
                  "after": 0.1498
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1157,
                  "after": 0.1074
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1498,
                "goal_rate": 0.1824,
                "goals": 0,
                "shots_on_target": 0.4133,
                "total_shots": 1.2319,
                "expected_assists": 0.0894,
                "key_pass": 1.091,
                "rating": 6.9368,
                "minutes": 81.78,
                "total_pass": 13.1978,
                "accurate_pass": 10.6444,
                "duels_won": 2.5591,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.9477,
                "accurate_opp_half_passes": 7.3719,
                "crosses_total": 2.0715,
                "crosses_accurate": 0.3162,
                "touches": 23.2679,
                "possession_lost": 5.9538,
                "dispossessed": 0.4678,
                "duels_lost": 1.7934,
                "aerial_lost": 0.2927,
                "total_contest": 1.3217,
                "won_contest": 0.8412,
                "ball_recovery": 2.38,
                "challenges_lost": 0.5523,
                "fouls": 0.0,
                "fouls_drawn": 0.369,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3183,
                "tackles_won": 0.6578,
                "tackles": 0.8948,
                "clearances": 0.219,
                "blocks": 0.1345,
                "big_chances_created": 0.4051,
                "big_chances_missed": 0.0,
                "xgot": 0.1074,
                "offsides": 0.0,
                "ball_carries": 6.6472,
                "total_progression": 55.7091,
                "progressive_carries": 2.1735,
                "shots_off_target": 0.8186,
                "duel_xg_multiplier": 0.9286,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1401,
                "goal_rate": 0.1824,
                "goals": 0,
                "shots_on_target": 0.4133,
                "total_shots": 1.2319,
                "expected_assists": 0.098,
                "key_pass": 1.091,
                "rating": 6.9368,
                "minutes": 81.78,
                "total_pass": 13.1978,
                "accurate_pass": 10.6444,
                "duels_won": 2.5591,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.9477,
                "accurate_opp_half_passes": 7.3719,
                "crosses_total": 2.0715,
                "crosses_accurate": 0.3162,
                "touches": 23.2679,
                "possession_lost": 5.9538,
                "dispossessed": 0.4678,
                "duels_lost": 1.7934,
                "aerial_lost": 0.2927,
                "total_contest": 1.3217,
                "won_contest": 0.8412,
                "ball_recovery": 2.38,
                "challenges_lost": 0.5523,
                "fouls": 0.0,
                "fouls_drawn": 0.369,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3183,
                "tackles_won": 0.6578,
                "tackles": 0.8948,
                "clearances": 0.219,
                "blocks": 0.1345,
                "big_chances_created": 0.4051,
                "big_chances_missed": 0.0,
                "xgot": 0.1004,
                "offsides": 0.0,
                "ball_carries": 6.6472,
                "total_progression": 55.7091,
                "progressive_carries": 2.1735,
                "shots_off_target": 0.8186,
                "duel_xg_multiplier": 0.9286,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1632,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1498,
                  "after": 0.1401
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0894,
                  "after": 0.098
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 64.0)",
              "stats": {
                "expected_goals": 0.1401,
                "goal_rate": 0.1824,
                "goals": 0,
                "shots_on_target": 0.4133,
                "total_shots": 1.2319,
                "expected_assists": 0.098,
                "key_pass": 1.091,
                "rating": 6.9368,
                "minutes": 81.78,
                "total_pass": 13.1978,
                "accurate_pass": 10.6444,
                "duels_won": 2.5591,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.9477,
                "accurate_opp_half_passes": 7.3719,
                "crosses_total": 2.0715,
                "crosses_accurate": 0.3162,
                "touches": 23.2679,
                "possession_lost": 5.9538,
                "dispossessed": 0.4678,
                "duels_lost": 1.7934,
                "aerial_lost": 0.2927,
                "total_contest": 1.3217,
                "won_contest": 0.8412,
                "ball_recovery": 2.38,
                "challenges_lost": 0.5523,
                "fouls": 0.0,
                "fouls_drawn": 0.369,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3183,
                "tackles_won": 0.6578,
                "tackles": 0.8948,
                "clearances": 0.219,
                "blocks": 0.1345,
                "big_chances_created": 0.4051,
                "big_chances_missed": 0.0,
                "xgot": 0.1004,
                "offsides": 0.0,
                "ball_carries": 6.6472,
                "total_progression": 55.7091,
                "progressive_carries": 2.1735,
                "shots_off_target": 0.8186,
                "duel_xg_multiplier": 0.9286,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1632,
                "creation_factor": 0.8,
                "fifa_overall": 64.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": 8270,
                "fifa_rank": 12953.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 64.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1401,
                "goal_rate": 0.1824,
                "goals": 0,
                "shots_on_target": 0.4133,
                "total_shots": 1.2319,
                "expected_assists": 0.098,
                "key_pass": 1.091,
                "rating": 6.9368,
                "minutes": 81.78,
                "total_pass": 13.1978,
                "accurate_pass": 10.6444,
                "duels_won": 2.5591,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.9477,
                "accurate_opp_half_passes": 7.3719,
                "crosses_total": 2.0715,
                "crosses_accurate": 0.3162,
                "touches": 23.2679,
                "possession_lost": 5.9538,
                "dispossessed": 0.4678,
                "duels_lost": 1.7934,
                "aerial_lost": 0.2927,
                "total_contest": 1.3217,
                "won_contest": 0.8412,
                "ball_recovery": 2.38,
                "challenges_lost": 0.5523,
                "fouls": 0.0,
                "fouls_drawn": 0.369,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3183,
                "tackles_won": 0.6578,
                "tackles": 0.8948,
                "clearances": 0.219,
                "blocks": 0.1345,
                "big_chances_created": 0.4051,
                "big_chances_missed": 0.0,
                "xgot": 0.1004,
                "offsides": 0.0,
                "ball_carries": 6.6472,
                "total_progression": 55.7091,
                "progressive_carries": 2.1735,
                "shots_off_target": 0.8186,
                "duel_xg_multiplier": 0.9286,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1307,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1632,
                "creation_factor": 0.8,
                "fifa_overall": 64.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1307,
                "goal_rate": 0.1824,
                "scorer_weight": 0.163,
                "squad_weight_total": 1.0105,
                "weight_share": 0.1613,
                "finishing_factor": 1.1632,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1401,
                "goal_rate": 0.1824,
                "goals": 0,
                "shots_on_target": 0.4133,
                "total_shots": 1.2319,
                "expected_assists": 0.098,
                "key_pass": 1.091,
                "rating": 6.9368,
                "minutes": 81.78,
                "total_pass": 13.1978,
                "accurate_pass": 10.6444,
                "duels_won": 2.5591,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.9477,
                "accurate_opp_half_passes": 7.3719,
                "crosses_total": 2.0715,
                "crosses_accurate": 0.3162,
                "touches": 23.2679,
                "possession_lost": 5.9538,
                "dispossessed": 0.4678,
                "duels_lost": 1.7934,
                "aerial_lost": 0.2927,
                "total_contest": 1.3217,
                "won_contest": 0.8412,
                "ball_recovery": 2.38,
                "challenges_lost": 0.5523,
                "fouls": 0.0,
                "fouls_drawn": 0.369,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3183,
                "tackles_won": 0.6578,
                "tackles": 0.8948,
                "clearances": 0.219,
                "blocks": 0.1345,
                "big_chances_created": 0.4051,
                "big_chances_missed": 0.0,
                "xgot": 0.1004,
                "offsides": 0.0,
                "ball_carries": 6.6472,
                "total_progression": 55.7091,
                "progressive_carries": 2.1735,
                "shots_off_target": 0.8186,
                "duel_xg_multiplier": 0.9286,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1307,
                "projected_assists": 0,
                "assist_probability": 0.0934,
                "finishing_factor": 1.1632,
                "creation_factor": 0.8,
                "fifa_overall": 64.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0934,
                "assist_rate": 0.0,
                "provider_weight": 0.0784,
                "squad_weight_total": 0.6588,
                "weight_share": 0.119,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12
              }
            }
          ]
        }
      },
      "bench_players": {
        "Kayne van Oevelen": {
          "player_id": 1393970,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 199,
          "market_value": 4099999,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.0227,
            "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.0148,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1186,
            "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.111,
            "bench_expected_minutes": 4.45,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 69.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 5230,
            "combined_rank_score": 3406.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 6597.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Kayne van Oevelen",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Grady Diangana",
                  "ranking": 5225
                },
                {
                  "player_name": "Max Rosenfelder",
                  "ranking": 5226
                },
                {
                  "player_name": "Bilal Nadir",
                  "ranking": 5227
                },
                {
                  "player_name": "Stephen Mfuni",
                  "ranking": 5228
                },
                {
                  "player_name": "Yukhym Konoplia",
                  "ranking": 5229
                }
              ],
              "lower": [
                {
                  "player_name": "Martin Adeline",
                  "ranking": 5231
                },
                {
                  "player_name": "Abdülkadir Ömür",
                  "ranking": 5232
                },
                {
                  "player_name": "Tom Rothe",
                  "ranking": 5233
                },
                {
                  "player_name": "Derry Scherhant",
                  "ranking": 5234
                },
                {
                  "player_name": "Pierce Charles",
                  "ranking": 5235
                }
              ]
            }
          },
          "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.446242177473513,
            "bench_appearance_prob": 0.11119282624879602,
            "market_value_adjustment": 0.4511,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "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 (€4,099,999) 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.45)",
              "stats": {
                "saves": 2.9,
                "goals_prevented": 0.46,
                "rating": 6.8,
                "minutes": 90.0,
                "total_pass": 27.0,
                "accurate_pass": 20.0,
                "total_long_balls": 9.0,
                "accurate_long_balls": 4.0,
                "touches": 32.0,
                "clearances": 1.0,
                "ball_recovery": 1.2,
                "high_claims": 0.6,
                "punches": 0.3,
                "aerial_won": 0.7,
                "sweeper_actions": 1.2,
                "sweeper_accurate": 0.8,
                "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": 17.0
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 90.0 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.1433,
                "goals_prevented": 0.0227,
                "rating": 6.8,
                "minutes": 4.45,
                "total_pass": 1.3339,
                "accurate_pass": 0.9881,
                "total_long_balls": 0.4446,
                "accurate_long_balls": 0.1976,
                "touches": 1.5809,
                "clearances": 0.0494,
                "ball_recovery": 0.0593,
                "high_claims": 0.0296,
                "punches": 0.0148,
                "aerial_won": 0.0346,
                "sweeper_actions": 0.0593,
                "sweeper_accurate": 0.0395,
                "saves_inside_box": 0.0593,
                "possession_lost": 0.1186,
                "duels_won": 0.0198,
                "duels_lost": 0.0099,
                "total_contest": 0.0198,
                "won_contest": 0.0099,
                "fouls": 0.0099,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0375,
                "accurate_own_half_passes": 0.8398,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45
              },
              "params": {
                "expected_minutes": 4.45,
                "projection_minutes": 90.0,
                "minutes_scale": 0.0494,
                "appearance_probability": 0.111
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.1433,
                "goals_prevented": 0.0227,
                "rating": 6.8,
                "minutes": 4.45,
                "total_pass": 1.3339,
                "accurate_pass": 0.9881,
                "total_long_balls": 0.4446,
                "accurate_long_balls": 0.1976,
                "touches": 1.5809,
                "clearances": 0.0494,
                "ball_recovery": 0.0593,
                "high_claims": 0.0296,
                "punches": 0.0148,
                "aerial_won": 0.0346,
                "sweeper_actions": 0.0593,
                "sweeper_accurate": 0.0395,
                "saves_inside_box": 0.0593,
                "possession_lost": 0.1186,
                "duels_won": 0.0198,
                "duels_lost": 0.0099,
                "total_contest": 0.0198,
                "won_contest": 0.0099,
                "fouls": 0.0099,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0375,
                "accurate_own_half_passes": 0.8398,
                "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.1433,
                "goals_prevented": 0.0227,
                "rating": 6.8,
                "minutes": 4.45,
                "total_pass": 1.3339,
                "accurate_pass": 0.9881,
                "total_long_balls": 0.4446,
                "accurate_long_balls": 0.1976,
                "touches": 1.5809,
                "clearances": 0.0494,
                "ball_recovery": 0.0593,
                "high_claims": 0.0296,
                "punches": 0.0148,
                "aerial_won": 0.0346,
                "sweeper_actions": 0.0593,
                "sweeper_accurate": 0.0395,
                "saves_inside_box": 0.0593,
                "possession_lost": 0.1186,
                "duels_won": 0.0198,
                "duels_lost": 0.0099,
                "total_contest": 0.0198,
                "won_contest": 0.0099,
                "fouls": 0.0099,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0375,
                "accurate_own_half_passes": 0.8398,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.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 69.0)",
              "stats": {
                "saves": 0.1433,
                "goals_prevented": 0.0227,
                "rating": 6.8,
                "minutes": 4.45,
                "total_pass": 1.3339,
                "accurate_pass": 0.9881,
                "total_long_balls": 0.4446,
                "accurate_long_balls": 0.1976,
                "touches": 1.5809,
                "clearances": 0.0494,
                "ball_recovery": 0.0593,
                "high_claims": 0.0296,
                "punches": 0.0148,
                "aerial_won": 0.0346,
                "sweeper_actions": 0.0593,
                "sweeper_accurate": 0.0395,
                "saves_inside_box": 0.0593,
                "possession_lost": 0.1186,
                "duels_won": 0.0198,
                "duels_lost": 0.0099,
                "total_contest": 0.0198,
                "won_contest": 0.0099,
                "fouls": 0.0099,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0375,
                "accurate_own_half_passes": 0.8398,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 69.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": 5230,
                "fifa_rank": 6597.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Arnau Martínez": {
          "player_id": 1084081,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 181,
          "market_value": 10800000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6683,
            "minutes": 14,
            "total_pass": 6,
            "accurate_pass": 4,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 10,
            "possession_lost": 3.6081,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0151,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.225,
            "bench_expected_minutes": 13.95,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2,
                "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": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 8,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 1,
                "tackles": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 62,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0228,
                "expected_assists": 0.0197,
                "total_shots": 1,
                "total_pass": 25,
                "accurate_pass": 16,
                "interceptions": 1,
                "clearances": 1,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 82,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0251,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 59,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Elche",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1542,
                "expected_assists": 0.0014,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 11,
                "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": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 77,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0598,
                "expected_assists": 0.0295,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 43,
                "accurate_pass": 39,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.4528,
                "expected_assists": 0.3026,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 56,
                "key_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083598,
              "match_date": "2026-05-11",
              "home_team": "Rayo Vallecano",
              "away_team": "Girona FC",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 72,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0086,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083457,
              "match_date": "2026-05-01",
              "home_team": "Girona FC",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0275,
                "expected_assists": 0.0966,
                "total_shots": 1,
                "total_pass": 46,
                "accurate_pass": 38,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3113,
            "combined_rank_score": 1076.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 565.0,
            "sofascore_rating": 6.8114,
            "sofascore_appearances": 35.0,
            "fifa_rank": 1587.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6683,
            "source_file": "data/player_rankings.csv",
            "player_name": "Arnau Martínez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Zakaria El Ouahdi",
                  "ranking": 3108
                },
                {
                  "player_name": "Haris Tabaković",
                  "ranking": 3109
                },
                {
                  "player_name": "Guus Til",
                  "ranking": 3110
                },
                {
                  "player_name": "Carlos Álvarez",
                  "ranking": 3111
                },
                {
                  "player_name": "Tsuyoshi Watanabe",
                  "ranking": 3112
                }
              ],
              "lower": [
                {
                  "player_name": "Ayase Ueda",
                  "ranking": 3114
                },
                {
                  "player_name": "Mika Godts",
                  "ranking": 3115
                },
                {
                  "player_name": "Youri Baas",
                  "ranking": 3116
                },
                {
                  "player_name": "Martín Satriano",
                  "ranking": 3117
                },
                {
                  "player_name": "Marcos Leonardo",
                  "ranking": 3118
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.759,
          "history_matches": 40,
          "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": 40,
            "data_confidence": 0.759,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.945977174234963,
            "bench_appearance_prob": 0.225,
            "market_value_adjustment": 1.0009,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.06
            },
            "rationale": "Bench projection scaled from XGBoost D_service (40 historical appearances) to 13.9 expected mins (appearance prob 0.23); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.2487,
                "tackles": 0.5712,
                "tackles_won": 0.4086,
                "clearances": 0.9041,
                "aerial_won": 0.2679,
                "total_shots": 0.1439,
                "rating": 6.6683,
                "minutes": 12.92,
                "total_pass": 5.9725,
                "accurate_pass": 3.9665,
                "duels_won": 1.04,
                "total_long_balls": 1.4725,
                "accurate_long_balls": 0.1927,
                "total_own_half_passes": 3.3018,
                "accurate_own_half_passes": 2.6742,
                "total_opp_half_passes": 2.6707,
                "accurate_opp_half_passes": 1.2923,
                "crosses_total": 0.2267,
                "crosses_accurate": 0.2267,
                "touches": 9.2932,
                "possession_lost": 3.3397,
                "dispossessed": 0.0,
                "duels_lost": 0.9189,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.4194,
                "challenges_lost": 0.2667,
                "fouls": 0.6522,
                "fouls_drawn": 0.5065,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.014,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.5405,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1439
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Elche",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Rayo Vallecano",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-01",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.5263,
                  "aerialWon": 0.6215,
                  "totalClearance_p90": 1.7008,
                  "totalTackle": 1.1624,
                  "defensive_actions": 1.705
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.2487151026725769,
                    "model_output": 0.2487,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4993
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.044
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0099
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0084
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0081
                        }
                      ],
                      "others": -0.0425,
                      "total": 0.2487,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.867565
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.129628
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.031744
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.027574
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.0275
                        }
                      ],
                      "others_margin": -0.157629
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5712350606918335,
                    "model_output": 0.5712,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8042
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0239
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0207
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0162
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0147
                        }
                      ],
                      "others": 0.0116,
                      "total": 0.5712,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.862577
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.039904
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.034416
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.027844
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.025846
                        }
                      ],
                      "others_margin": 0.020439
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.408611536026001,
                    "model_output": 0.4086,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4599
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0263
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0212
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0219
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0175
                        }
                      ],
                      "others": -0.0376,
                      "total": 0.4086,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.77299
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.064516
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.049099
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.048279
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.038391
                        }
                      ],
                      "others_margin": -0.087874
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.9041441082954407,
                    "model_output": 0.9041,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0978
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2823
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0649
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0258
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0193
                        }
                      ],
                      "others": -0.0385,
                      "total": 0.9041,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.94446
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.237552
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.063655
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.026465
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.020271
                        }
                      ],
                      "others_margin": -0.04172
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.26789310574531555,
                    "model_output": 0.2679,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8063
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1713
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0495
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0327
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.0392,
                      "total": 0.2679,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.880435
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.356614
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.132062
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.098155
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.033358
                        }
                      ],
                      "others_margin": -0.136678
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.14385102689266205,
                    "model_output": 0.1439,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2438
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0249
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0091
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0083
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0078
                        }
                      ],
                      "others": -0.0367,
                      "total": 0.1439,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.243823
                        },
                        {
                          "name": "rating",
                          "margin": -0.02485
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.009107
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.008344
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.007847
                        }
                      ],
                      "others_margin": -0.036677
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.668334484100342,
                    "model_output": 6.6683,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0228
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0135
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0135
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0124
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0086
                        }
                      ],
                      "others": -0.0456,
                      "total": 6.6683,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.02281
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.013494
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.013456
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01237
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.008624
                        }
                      ],
                      "others_margin": -0.045615
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 40,
                  "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.0009, quality 0.532)",
              "stats": {
                "interceptions": 0.2489,
                "tackles": 0.5717,
                "tackles_won": 0.409,
                "clearances": 0.905,
                "aerial_won": 0.2681,
                "total_shots": 0.144,
                "rating": 6.6683,
                "minutes": 12.92,
                "total_pass": 5.9779,
                "accurate_pass": 3.9701,
                "duels_won": 1.0409,
                "total_long_balls": 1.4738,
                "accurate_long_balls": 0.1929,
                "total_own_half_passes": 3.3048,
                "accurate_own_half_passes": 2.6766,
                "total_opp_half_passes": 2.6731,
                "accurate_opp_half_passes": 1.2935,
                "crosses_total": 0.2269,
                "crosses_accurate": 0.2269,
                "touches": 9.3016,
                "possession_lost": 3.3427,
                "dispossessed": 0.0,
                "duels_lost": 0.9197,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.4198,
                "challenges_lost": 0.2669,
                "fouls": 0.6528,
                "fouls_drawn": 0.507,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.014,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.541,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.144
              },
              "params": {
                "market_value_eur": 10800000,
                "quality_factor": 0.5318,
                "boost_factor": 1.0009,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0043)",
              "stats": {
                "interceptions": 0.2485,
                "tackles": 0.5717,
                "tackles_won": 0.4079,
                "clearances": 0.905,
                "aerial_won": 0.2681,
                "total_shots": 0.1434,
                "rating": 6.6683,
                "minutes": 12.92,
                "total_pass": 5.9779,
                "accurate_pass": 3.9701,
                "duels_won": 1.0409,
                "total_long_balls": 1.4738,
                "accurate_long_balls": 0.1929,
                "total_own_half_passes": 3.3048,
                "accurate_own_half_passes": 2.6766,
                "total_opp_half_passes": 2.6731,
                "accurate_opp_half_passes": 1.2935,
                "crosses_total": 0.2273,
                "crosses_accurate": 0.2269,
                "touches": 9.3016,
                "possession_lost": 3.3427,
                "dispossessed": 0.0,
                "duels_lost": 0.9197,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.4198,
                "challenges_lost": 0.2669,
                "fouls": 0.65,
                "fouls_drawn": 0.5048,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.014,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.541,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.144
              },
              "params": {
                "blend_weight": 0.0043,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1436,
                "prior_reliability": 0.06,
                "competition": "La Liga",
                "squad": "Valencia"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 12.9 to 13.9 expected minutes (appearance prob 0.23)",
              "stats": {
                "interceptions": 0.2682,
                "tackles": 0.6171,
                "tackles_won": 0.4403,
                "clearances": 0.9769,
                "aerial_won": 0.2894,
                "total_shots": 0.1554,
                "rating": 6.6683,
                "minutes": 13.95,
                "total_pass": 6.4526,
                "accurate_pass": 4.2854,
                "duels_won": 1.1236,
                "total_long_balls": 1.5908,
                "accurate_long_balls": 0.2082,
                "total_own_half_passes": 3.5672,
                "accurate_own_half_passes": 2.8891,
                "total_opp_half_passes": 2.8854,
                "accurate_opp_half_passes": 1.3962,
                "crosses_total": 0.2453,
                "crosses_accurate": 0.2449,
                "touches": 10.0402,
                "possession_lost": 3.6081,
                "dispossessed": 0.0,
                "duels_lost": 0.9927,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.4531,
                "challenges_lost": 0.2669,
                "fouls": 0.7016,
                "fouls_drawn": 0.5449,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0151,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.584,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1554,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.95
              },
              "params": {
                "expected_minutes": 13.95,
                "projection_minutes": 12.92,
                "minutes_scale": 1.0794,
                "appearance_probability": 0.225
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2682,
                "tackles": 0.6171,
                "tackles_won": 0.4403,
                "clearances": 0.9769,
                "aerial_won": 0.2894,
                "total_shots": 0.1554,
                "rating": 6.6683,
                "minutes": 13.95,
                "total_pass": 6.4526,
                "accurate_pass": 4.2854,
                "duels_won": 1.1236,
                "total_long_balls": 1.5908,
                "accurate_long_balls": 0.2082,
                "total_own_half_passes": 3.5672,
                "accurate_own_half_passes": 2.8891,
                "total_opp_half_passes": 2.8854,
                "accurate_opp_half_passes": 1.3962,
                "crosses_total": 0.2453,
                "crosses_accurate": 0.2449,
                "touches": 10.0402,
                "possession_lost": 3.6081,
                "dispossessed": 0.0,
                "duels_lost": 0.9927,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.4531,
                "challenges_lost": 0.2669,
                "fouls": 0.7016,
                "fouls_drawn": 0.5449,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0151,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.584,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1554,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.95
              },
              "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.2682,
                "tackles": 0.6171,
                "tackles_won": 0.4403,
                "clearances": 0.9769,
                "aerial_won": 0.2894,
                "total_shots": 0.1554,
                "rating": 6.6683,
                "minutes": 13.95,
                "total_pass": 6.4526,
                "accurate_pass": 4.2854,
                "duels_won": 1.1236,
                "total_long_balls": 1.5908,
                "accurate_long_balls": 0.2082,
                "total_own_half_passes": 3.5672,
                "accurate_own_half_passes": 2.8891,
                "total_opp_half_passes": 2.8854,
                "accurate_opp_half_passes": 1.3962,
                "crosses_total": 0.2453,
                "crosses_accurate": 0.2449,
                "touches": 10.0402,
                "possession_lost": 3.6081,
                "dispossessed": 0.0,
                "duels_lost": 0.9927,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.4531,
                "challenges_lost": 0.2669,
                "fouls": 0.7016,
                "fouls_drawn": 0.5449,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0151,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.584,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1554,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.95,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.225,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 77.0)",
              "stats": {
                "interceptions": 0.2682,
                "tackles": 0.6171,
                "tackles_won": 0.4403,
                "clearances": 0.9769,
                "aerial_won": 0.2894,
                "total_shots": 0.1554,
                "rating": 6.6683,
                "minutes": 13.95,
                "total_pass": 6.4526,
                "accurate_pass": 4.2854,
                "duels_won": 1.1236,
                "total_long_balls": 1.5908,
                "accurate_long_balls": 0.2082,
                "total_own_half_passes": 3.5672,
                "accurate_own_half_passes": 2.8891,
                "total_opp_half_passes": 2.8854,
                "accurate_opp_half_passes": 1.3962,
                "crosses_total": 0.2453,
                "crosses_accurate": 0.2449,
                "touches": 10.0402,
                "possession_lost": 3.6081,
                "dispossessed": 0.0,
                "duels_lost": 0.9927,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.4531,
                "challenges_lost": 0.2669,
                "fouls": 0.7016,
                "fouls_drawn": 0.5449,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0151,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.584,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1554,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.95,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3113,
                "fifa_rank": 1587.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "César Tárrega": {
          "player_id": 996928,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 5,
          "height": 193,
          "market_value": 9300000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7822,
            "minutes": 14,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 7,
            "possession_lost": 1.0781,
            "dispossessed": 0.3139,
            "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.0,
            "expected_assists": 0.0005,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 4,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.223,
            "bench_expected_minutes": 13.88,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 24,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0037,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "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": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 36,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 5,
                "interceptions": 3,
                "clearances": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0214,
                "expected_assists": 0.0109,
                "total_shots": 1,
                "total_pass": 64,
                "accurate_pass": 57,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 6,
                "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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1193,
                "expected_assists": 0.0176,
                "total_shots": 2,
                "total_pass": 54,
                "accurate_pass": 49,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 3,
                "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": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0184,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 54,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0344,
                "expected_assists": 0.0002,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 17,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "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": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 5.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 45,
                "tackles": 4,
                "tackles_won": 2,
                "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": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1487,
                "expected_assists": 0.0009,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 23,
                "tackles": 3,
                "interceptions": 3,
                "clearances": 9,
                "aerial_won": 7,
                "duels_won": 12,
                "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": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 36,
                "interceptions": 1,
                "clearances": 13,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0109,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 59,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3439,
            "combined_rank_score": 1429.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2413.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7822,
            "source_file": "data/player_rankings.csv",
            "player_name": "César Tárrega",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ryan Manning",
                  "ranking": 3434
                },
                {
                  "player_name": "Sebastiaan Bornauw",
                  "ranking": 3435
                },
                {
                  "player_name": "Lorenzo Melgarejo",
                  "ranking": 3436
                },
                {
                  "player_name": "Tomáš Chorý",
                  "ranking": 3437
                },
                {
                  "player_name": "Ferran Jutglà",
                  "ranking": 3438
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Stassin",
                  "ranking": 3440
                },
                {
                  "player_name": "Nelson Deossa",
                  "ranking": 3441
                },
                {
                  "player_name": "Filip Jörgensen",
                  "ranking": 3442
                },
                {
                  "player_name": "Luis Muriel",
                  "ranking": 3443
                },
                {
                  "player_name": "Ethan Nwaneri",
                  "ranking": 3444
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 37,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 37,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.876230585396506,
            "bench_appearance_prob": 0.223,
            "market_value_adjustment": 1.0003,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost D_service (37 historical appearances) to 13.9 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.4471,
                "tackles": 0.5884,
                "tackles_won": 0.3056,
                "clearances": 2.0581,
                "aerial_won": 0.6588,
                "total_shots": 0.1534,
                "rating": 6.7822,
                "minutes": 20.44,
                "total_pass": 5.4162,
                "accurate_pass": 4.1424,
                "duels_won": 0.8789,
                "total_long_balls": 0.926,
                "accurate_long_balls": 0.4195,
                "total_own_half_passes": 3.1943,
                "accurate_own_half_passes": 2.374,
                "total_opp_half_passes": 2.2219,
                "accurate_opp_half_passes": 1.7685,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.8372,
                "possession_lost": 1.5876,
                "dispossessed": 0.3138,
                "duels_lost": 0.8944,
                "aerial_lost": 0.2667,
                "total_contest": 0.4194,
                "won_contest": 0.4194,
                "ball_recovery": 0.1927,
                "challenges_lost": 0.0,
                "fouls": 0.3138,
                "fouls_drawn": 0.0,
                "blocks": 0.2267,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.818,
                "total_progression": 5.2767,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1534
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 24.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.1278,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 5.4
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 5.3186,
                  "aerialWon": 1.3641,
                  "totalClearance_p90": 8.0193,
                  "totalTackle": 1.5733,
                  "defensive_actions": 2.495
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.4470561742782593,
                    "model_output": 0.4471,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4657
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0275
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0148
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0109
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0086
                        }
                      ],
                      "others": -0.0099,
                      "total": 0.4471,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.778673
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.067294
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.034326
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.024585
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.018955
                        }
                      ],
                      "others_margin": -0.02175
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5883954167366028,
                    "model_output": 0.5884,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7522
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0228
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0189
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0178
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0144
                        }
                      ],
                      "others": -0.0148,
                      "total": 0.5884,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.777766
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.036239
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.030248
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.028423
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.023565
                        }
                      ],
                      "others_margin": -0.024997
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.30563682317733765,
                    "model_output": 0.3056,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4784
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0207
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.018
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.016
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0122
                        }
                      ],
                      "others": -0.0277,
                      "total": 0.3056,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.821137
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.056633
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.052082
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.048575
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.03725
                        }
                      ],
                      "others_margin": -0.086552
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.0581107139587402,
                    "model_output": 2.0581,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0992
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3498
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.161
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0907
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0755
                        }
                      ],
                      "others": 0.0476,
                      "total": 2.0581,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.945515
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.232927
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.091359
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.047983
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.038252
                        }
                      ],
                      "others_margin": 0.023426
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6587984561920166,
                    "model_output": 0.6588,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8042
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0493
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0435
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0435
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0292
                        }
                      ],
                      "others": -0.0798,
                      "total": 0.6588,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.876864
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.082578
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.067522
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.063258
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.040336
                        }
                      ],
                      "others_margin": -0.114302
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.15335464477539062,
                    "model_output": 0.1534,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2375
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0155
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0109
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0082
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0076
                        }
                      ],
                      "others": -0.0414,
                      "total": 0.1534,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.237548
                        },
                        {
                          "name": "rating",
                          "margin": -0.015466
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.010859
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.008232
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.007646
                        }
                      ],
                      "others_margin": -0.041395
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.782153606414795,
                    "model_output": 6.7822,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.018
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0149
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0134
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0103
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0089
                        }
                      ],
                      "others": 0.0184,
                      "total": 6.7822,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.017976
                        },
                        {
                          "name": "rating",
                          "margin": -0.014856
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.013447
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010338
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.008891
                        }
                      ],
                      "others_margin": 0.018283
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 37,
                  "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.0003, quality 0.514)",
              "stats": {
                "interceptions": 0.4472,
                "tackles": 0.5886,
                "tackles_won": 0.3057,
                "clearances": 2.0587,
                "aerial_won": 0.659,
                "total_shots": 0.1534,
                "rating": 6.7822,
                "minutes": 20.44,
                "total_pass": 5.4178,
                "accurate_pass": 4.1436,
                "duels_won": 0.8792,
                "total_long_balls": 0.9263,
                "accurate_long_balls": 0.4196,
                "total_own_half_passes": 3.1953,
                "accurate_own_half_passes": 2.3747,
                "total_opp_half_passes": 2.2226,
                "accurate_opp_half_passes": 1.769,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.8405,
                "possession_lost": 1.5881,
                "dispossessed": 0.3139,
                "duels_lost": 0.8947,
                "aerial_lost": 0.2668,
                "total_contest": 0.4195,
                "won_contest": 0.4195,
                "ball_recovery": 0.1928,
                "challenges_lost": 0.0,
                "fouls": 0.3139,
                "fouls_drawn": 0.0,
                "blocks": 0.2268,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.8185,
                "total_progression": 5.2783,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1534
              },
              "params": {
                "market_value_eur": 9300000,
                "quality_factor": 0.5142,
                "boost_factor": 1.0003,
                "reference_quality": 0.505,
                "history_matches": 37,
                "history_shrink": 0.119,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0155)",
              "stats": {
                "interceptions": 0.4415,
                "tackles": 0.5886,
                "tackles_won": 0.3068,
                "clearances": 2.0587,
                "aerial_won": 0.659,
                "total_shots": 0.1545,
                "rating": 6.7822,
                "minutes": 20.44,
                "total_pass": 5.4178,
                "accurate_pass": 4.1436,
                "duels_won": 0.8792,
                "total_long_balls": 0.9263,
                "accurate_long_balls": 0.4196,
                "total_own_half_passes": 3.1953,
                "accurate_own_half_passes": 2.3747,
                "total_opp_half_passes": 2.2226,
                "accurate_opp_half_passes": 1.769,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.8405,
                "possession_lost": 1.5881,
                "dispossessed": 0.3139,
                "duels_lost": 0.8947,
                "aerial_lost": 0.2668,
                "total_contest": 0.4195,
                "won_contest": 0.4195,
                "ball_recovery": 0.1928,
                "challenges_lost": 0.0,
                "fouls": 0.3149,
                "fouls_drawn": 0.0035,
                "blocks": 0.2268,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.8185,
                "total_progression": 5.2783,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1534
              },
              "params": {
                "blend_weight": 0.0155,
                "history_matches": 37,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2271,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.4472,
                  "after": 0.4415
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.4 to 13.9 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0.2997,
                "tackles": 0.3996,
                "tackles_won": 0.2083,
                "clearances": 1.3976,
                "aerial_won": 0.4474,
                "total_shots": 0.1049,
                "rating": 6.7822,
                "minutes": 13.88,
                "total_pass": 3.678,
                "accurate_pass": 2.813,
                "duels_won": 0.5969,
                "total_long_balls": 0.6288,
                "accurate_long_balls": 0.2849,
                "total_own_half_passes": 2.1692,
                "accurate_own_half_passes": 1.6121,
                "total_opp_half_passes": 1.5089,
                "accurate_opp_half_passes": 1.2009,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 7.3594,
                "possession_lost": 1.0781,
                "dispossessed": 0.3139,
                "duels_lost": 0.6074,
                "aerial_lost": 0.2668,
                "total_contest": 0.2848,
                "won_contest": 0.2848,
                "ball_recovery": 0.1309,
                "challenges_lost": 0.0,
                "fouls": 0.2138,
                "fouls_drawn": 0.0024,
                "blocks": 0.154,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0005,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.2345,
                "total_progression": 3.5833,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1041,
                "bench_appearance_probability": 0.223,
                "bench_expected_minutes": 13.88
              },
              "params": {
                "expected_minutes": 13.88,
                "projection_minutes": 20.44,
                "minutes_scale": 0.6789,
                "appearance_probability": 0.223
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2997,
                "tackles": 0.3996,
                "tackles_won": 0.2083,
                "clearances": 1.3976,
                "aerial_won": 0.4474,
                "total_shots": 0.1049,
                "rating": 6.7822,
                "minutes": 13.88,
                "total_pass": 3.678,
                "accurate_pass": 2.813,
                "duels_won": 0.5969,
                "total_long_balls": 0.6288,
                "accurate_long_balls": 0.2849,
                "total_own_half_passes": 2.1692,
                "accurate_own_half_passes": 1.6121,
                "total_opp_half_passes": 1.5089,
                "accurate_opp_half_passes": 1.2009,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 7.3594,
                "possession_lost": 1.0781,
                "dispossessed": 0.3139,
                "duels_lost": 0.6074,
                "aerial_lost": 0.2668,
                "total_contest": 0.2848,
                "won_contest": 0.2848,
                "ball_recovery": 0.1309,
                "challenges_lost": 0.0,
                "fouls": 0.2138,
                "fouls_drawn": 0.0024,
                "blocks": 0.154,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0005,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.2345,
                "total_progression": 3.5833,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1041,
                "bench_appearance_probability": 0.223,
                "bench_expected_minutes": 13.88
              },
              "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.2997,
                "tackles": 0.3996,
                "tackles_won": 0.2083,
                "clearances": 1.3976,
                "aerial_won": 0.4474,
                "total_shots": 0.1049,
                "rating": 6.7822,
                "minutes": 13.88,
                "total_pass": 3.678,
                "accurate_pass": 2.813,
                "duels_won": 0.5969,
                "total_long_balls": 0.6288,
                "accurate_long_balls": 0.2849,
                "total_own_half_passes": 2.1692,
                "accurate_own_half_passes": 1.6121,
                "total_opp_half_passes": 1.5089,
                "accurate_opp_half_passes": 1.2009,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 7.3594,
                "possession_lost": 1.0781,
                "dispossessed": 0.3139,
                "duels_lost": 0.6074,
                "aerial_lost": 0.2668,
                "total_contest": 0.2848,
                "won_contest": 0.2848,
                "ball_recovery": 0.1309,
                "challenges_lost": 0.0,
                "fouls": 0.2138,
                "fouls_drawn": 0.0024,
                "blocks": 0.154,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0005,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.2345,
                "total_progression": 3.5833,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1041,
                "bench_appearance_probability": 0.223,
                "bench_expected_minutes": 13.88,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.223,
                "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 75.0)",
              "stats": {
                "interceptions": 0.2997,
                "tackles": 0.3996,
                "tackles_won": 0.2083,
                "clearances": 1.3976,
                "aerial_won": 0.4474,
                "total_shots": 0.1049,
                "rating": 6.7822,
                "minutes": 13.88,
                "total_pass": 3.678,
                "accurate_pass": 2.813,
                "duels_won": 0.5969,
                "total_long_balls": 0.6288,
                "accurate_long_balls": 0.2849,
                "total_own_half_passes": 2.1692,
                "accurate_own_half_passes": 1.6121,
                "total_opp_half_passes": 1.5089,
                "accurate_opp_half_passes": 1.2009,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 7.3594,
                "possession_lost": 1.0781,
                "dispossessed": 0.3139,
                "duels_lost": 0.6074,
                "aerial_lost": 0.2668,
                "total_contest": 0.2848,
                "won_contest": 0.2848,
                "ball_recovery": 0.1309,
                "challenges_lost": 0.0,
                "fouls": 0.2138,
                "fouls_drawn": 0.0024,
                "blocks": 0.154,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0005,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.2345,
                "total_progression": 3.5833,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1041,
                "bench_appearance_probability": 0.223,
                "bench_expected_minutes": 13.88,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3439,
                "fifa_rank": 2413.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Harvey Elliott": {
          "player_id": 955245,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 170,
          "market_value": 21000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0234,
            "assist_rate": 0.0298,
            "assists": 0,
            "expected_goals": 0.0509,
            "goal_rate": 0.0468,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6716,
            "minutes": 23,
            "total_pass": 16,
            "accurate_pass": 13,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 3.8238,
            "dispossessed": 0.0,
            "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.0122,
            "ball_carries": 7,
            "total_progression": 14,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.535,
            "bench_expected_minutes": 22.78,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 32,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0169,
                "expected_assists": 0.0102,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 15,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 21,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0347,
                "expected_assists": 0.0698,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 14,
                "key_pass": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 28,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.006,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 36,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0627,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14025125,
              "match_date": "2026-02-01",
              "home_team": "Aston Villa",
              "away_team": "Brentford",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Aston Villa",
              "opponent": "Brentford",
              "stats": {
                "minutes": 13,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0958,
                "expected_assists": 0.0225,
                "total_shots": 2,
                "total_pass": 17,
                "accurate_pass": 15,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025181,
              "match_date": "2025-09-28",
              "home_team": "Aston Villa",
              "away_team": "Fulham",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Aston Villa",
              "opponent": "Fulham",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0238,
                "expected_assists": 0.0079,
                "total_shots": 1,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14025172,
              "match_date": "2025-09-21",
              "home_team": "Sunderland",
              "away_team": "Aston Villa",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Aston Villa",
              "opponent": "Sunderland",
              "stats": {
                "minutes": 32,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1714,
                "expected_assists": 0.0566,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 30,
                "accurate_pass": 26,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14025136,
              "match_date": "2025-09-13",
              "home_team": "Everton",
              "away_team": "Aston Villa",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Aston Villa",
              "opponent": "Everton",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14147154,
              "match_date": "2025-08-25",
              "home_team": "Newcastle United",
              "away_team": "Liverpool FC",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Liverpool FC",
              "opponent": "Newcastle United",
              "stats": {
                "minutes": 8,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 4
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3214,
            "combined_rank_score": 1163.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 901.0,
            "sofascore_rating": 6.52,
            "sofascore_appearances": 5.0,
            "fifa_rank": 1426.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6716,
            "source_file": "data/player_rankings.csv",
            "player_name": "Harvey Elliott",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Robin Gosens",
                  "ranking": 3209
                },
                {
                  "player_name": "Álvaro Núñez",
                  "ranking": 3210
                },
                {
                  "player_name": "Marvin Schwäbe",
                  "ranking": 3211
                },
                {
                  "player_name": "Moi Gómez",
                  "ranking": 3212
                },
                {
                  "player_name": "Benjamin Henrichs",
                  "ranking": 3213
                }
              ],
              "lower": [
                {
                  "player_name": "Azor Matusiwa",
                  "ranking": 3215
                },
                {
                  "player_name": "Eljif Elmas",
                  "ranking": 3216
                },
                {
                  "player_name": "Lazaros Rota",
                  "ranking": 3217
                },
                {
                  "player_name": "Joshua Zirkzee",
                  "ranking": 3218
                },
                {
                  "player_name": "Camilo Vargas",
                  "ranking": 3219
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 9,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 9,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.77746860076133,
            "bench_appearance_prob": 0.5353394818527877,
            "market_value_adjustment": 1.0145,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (9 historical appearances) to 22.8 expected mins (appearance prob 0.54)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4493,
                "expected_assists": 0.0244,
                "assists": 0.0311,
                "assist_rate": 0.0311,
                "expected_goals": 0.0531,
                "goals": 0.0488,
                "goal_rate": 0.0488,
                "shots_on_target": 0.2246,
                "total_shots": 0.5217,
                "rating": 6.6716,
                "minutes": 24.07,
                "total_pass": 16.9534,
                "accurate_pass": 13.8414,
                "duels_won": 0.6448,
                "total_long_balls": 1.0089,
                "accurate_long_balls": 0.4319,
                "total_own_half_passes": 3.9504,
                "accurate_own_half_passes": 3.4952,
                "total_opp_half_passes": 13.0029,
                "accurate_opp_half_passes": 10.3461,
                "crosses_total": 0.2745,
                "crosses_accurate": 0.0915,
                "touches": 20.3981,
                "possession_lost": 3.983,
                "dispossessed": 0.0,
                "duels_lost": 0.539,
                "aerial_won": 0.3138,
                "aerial_lost": 0.2977,
                "interceptions": 0.0,
                "tackles_won": 0.2532,
                "tackles": 0.2532,
                "clearances": 0.2839,
                "total_contest": 0.2414,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0778,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0127,
                "ball_carries": 6.9904,
                "total_progression": 14.3961,
                "progressive_carries": 0.1408,
                "shots_off_target": 0.2971
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.1952,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1659,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.141,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.1199,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Brentford",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1019,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-28",
                    "opponent": "Fulham",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0866,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-21",
                    "opponent": "Sunderland",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0736,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-09-13",
                    "opponent": "Everton",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0626,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2025-08-25",
                    "opponent": "Newcastle United",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0532,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7988,
                  "creative_index": 0.2692,
                  "expectedGoals": 0.0335,
                  "expectedAssists": 0.0294,
                  "onTargetScoringAttempt": 0.1659
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.44933411478996277,
                    "model_output": 0.4493,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3702
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0676
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0493
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0445
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0401
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.4493,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535488
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.121692
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.08729
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.08575
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.08423
                        }
                      ],
                      "others_margin": -0.015733
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.024376031011343002,
                    "model_output": 0.0244,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.039
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0081
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0047
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0027
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0047,
                      "total": 0.0244,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.608234
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.189845
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.129425
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.083838
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.067685
                        }
                      ],
                      "others_margin": -0.177527
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03105275146663189,
                    "model_output": 0.0311,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.026
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0117
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0064
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.005
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0038,
                      "total": 0.0311,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.353564
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.211049
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.137232
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.123094
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.086762
                        }
                      ],
                      "others_margin": -0.121296
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05306720733642578,
                    "model_output": 0.0531,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.04
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0084
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0067
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0043
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0087,
                      "total": 0.0531,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.552794
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.143495
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.101868
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.064073
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.052319
                        }
                      ],
                      "others_margin": -0.151046
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.048758700489997864,
                    "model_output": 0.0488,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0429
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0042
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0034
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0034
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.0488,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.576623
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.080287
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.064861
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.060223
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.058989
                        }
                      ],
                      "others_margin": -0.10511
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2246452122926712,
                    "model_output": 0.2246,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1387
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0266
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0182
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0094
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0088
                        }
                      ],
                      "others": -0.0078,
                      "total": 0.2246,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.555017
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.13292
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.081582
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.039791
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.037249
                        }
                      ],
                      "others_margin": -0.033573
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5217371582984924,
                    "model_output": 0.5217,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4556
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0693
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.053
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0318
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0212
                        }
                      ],
                      "others": -0.0451,
                      "total": 0.5217,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.455616
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.069342
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.053036
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.031824
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.021244
                        }
                      ],
                      "others_margin": -0.045067
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.671581268310547,
                    "model_output": 6.6716,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.091
                        },
                        {
                          "name": "rating",
                          "contribution": -0.037
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0246
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0116
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0086
                        }
                      ],
                      "others": -0.0259,
                      "total": 6.6716,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.090968
                        },
                        {
                          "name": "rating",
                          "margin": -0.036963
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.024613
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011552
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.008606
                        }
                      ],
                      "others_margin": -0.025985
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 9,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0145, quality 0.641)",
              "stats": {
                "key_pass": 0.4558,
                "expected_assists": 0.0247,
                "assists": 0.0315,
                "assist_rate": 0.0315,
                "expected_goals": 0.0538,
                "goals": 0.0495,
                "goal_rate": 0.0495,
                "shots_on_target": 0.2279,
                "total_shots": 0.5293,
                "rating": 6.6716,
                "minutes": 24.07,
                "total_pass": 17.1992,
                "accurate_pass": 14.0421,
                "duels_won": 0.6541,
                "total_long_balls": 1.0235,
                "accurate_long_balls": 0.4382,
                "total_own_half_passes": 4.0077,
                "accurate_own_half_passes": 3.5459,
                "total_opp_half_passes": 13.1914,
                "accurate_opp_half_passes": 10.4961,
                "crosses_total": 0.2785,
                "crosses_accurate": 0.0928,
                "touches": 20.6939,
                "possession_lost": 4.0408,
                "dispossessed": 0.0,
                "duels_lost": 0.5468,
                "aerial_won": 0.3184,
                "aerial_lost": 0.302,
                "interceptions": 0.0,
                "tackles_won": 0.2569,
                "tackles": 0.2569,
                "clearances": 0.288,
                "total_contest": 0.2449,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0789,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0129,
                "ball_carries": 7.0918,
                "total_progression": 14.6048,
                "progressive_carries": 0.1428,
                "shots_off_target": 0.3014
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0145,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.1 to 22.8 expected minutes (appearance prob 0.54)",
              "stats": {
                "key_pass": 0.4313,
                "expected_assists": 0.0234,
                "assists": 0.0298,
                "assist_rate": 0.0298,
                "expected_goals": 0.0509,
                "goals": 0.0468,
                "goal_rate": 0.0468,
                "shots_on_target": 0.2157,
                "total_shots": 0.5009,
                "rating": 6.6716,
                "minutes": 22.78,
                "total_pass": 16.2756,
                "accurate_pass": 13.2881,
                "duels_won": 0.619,
                "total_long_balls": 0.9685,
                "accurate_long_balls": 0.4147,
                "total_own_half_passes": 3.7925,
                "accurate_own_half_passes": 3.3555,
                "total_opp_half_passes": 12.483,
                "accurate_opp_half_passes": 9.9325,
                "crosses_total": 0.2635,
                "crosses_accurate": 0.0878,
                "touches": 19.5827,
                "possession_lost": 3.8238,
                "dispossessed": 0.0,
                "duels_lost": 0.5174,
                "aerial_won": 0.3013,
                "aerial_lost": 0.302,
                "interceptions": 0.0,
                "tackles_won": 0.2431,
                "tackles": 0.2431,
                "clearances": 0.2725,
                "total_contest": 0.2317,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0747,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "ball_carries": 6.711,
                "total_progression": 13.8205,
                "progressive_carries": 0.1351,
                "shots_off_target": 0.2852,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78
              },
              "params": {
                "expected_minutes": 22.78,
                "projection_minutes": 24.07,
                "minutes_scale": 0.9463,
                "appearance_probability": 0.535
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4313,
                "expected_assists": 0.0234,
                "assists": 0.0298,
                "assist_rate": 0.0298,
                "expected_goals": 0.0509,
                "goals": 0.0468,
                "goal_rate": 0.0468,
                "shots_on_target": 0.2157,
                "total_shots": 0.5009,
                "rating": 6.6716,
                "minutes": 22.78,
                "total_pass": 16.2756,
                "accurate_pass": 13.2881,
                "duels_won": 0.619,
                "total_long_balls": 0.9685,
                "accurate_long_balls": 0.4147,
                "total_own_half_passes": 3.7925,
                "accurate_own_half_passes": 3.3555,
                "total_opp_half_passes": 12.483,
                "accurate_opp_half_passes": 9.9325,
                "crosses_total": 0.2635,
                "crosses_accurate": 0.0878,
                "touches": 19.5827,
                "possession_lost": 3.8238,
                "dispossessed": 0.0,
                "duels_lost": 0.5174,
                "aerial_won": 0.3013,
                "aerial_lost": 0.302,
                "interceptions": 0.0,
                "tackles_won": 0.2431,
                "tackles": 0.2431,
                "clearances": 0.2725,
                "total_contest": 0.2317,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0747,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "ball_carries": 6.711,
                "total_progression": 13.8205,
                "progressive_carries": 0.1351,
                "shots_off_target": 0.2852,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78
              },
              "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.4313,
                "expected_assists": 0.0234,
                "assist_rate": 0.0298,
                "assists": 0,
                "expected_goals": 0.0509,
                "goal_rate": 0.0468,
                "goals": 0,
                "shots_on_target": 0.2157,
                "total_shots": 0.5009,
                "rating": 6.6716,
                "minutes": 22.78,
                "total_pass": 16.2756,
                "accurate_pass": 13.2881,
                "duels_won": 0.619,
                "total_long_balls": 0.9685,
                "accurate_long_balls": 0.4147,
                "total_own_half_passes": 3.7925,
                "accurate_own_half_passes": 3.3555,
                "total_opp_half_passes": 12.483,
                "accurate_opp_half_passes": 9.9325,
                "crosses_total": 0.2635,
                "crosses_accurate": 0.0878,
                "touches": 19.5827,
                "possession_lost": 3.8238,
                "dispossessed": 0.0,
                "duels_lost": 0.5174,
                "aerial_won": 0.3013,
                "aerial_lost": 0.302,
                "interceptions": 0.0,
                "tackles_won": 0.2431,
                "tackles": 0.2431,
                "clearances": 0.2725,
                "total_contest": 0.2317,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0747,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "ball_carries": 6.711,
                "total_progression": 13.8205,
                "progressive_carries": 0.1351,
                "shots_off_target": 0.2852,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.535,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 77.0)",
              "stats": {
                "key_pass": 0.4313,
                "expected_assists": 0.0234,
                "assist_rate": 0.0298,
                "assists": 0,
                "expected_goals": 0.0509,
                "goal_rate": 0.0468,
                "goals": 0,
                "shots_on_target": 0.2157,
                "total_shots": 0.5009,
                "rating": 6.6716,
                "minutes": 22.78,
                "total_pass": 16.2756,
                "accurate_pass": 13.2881,
                "duels_won": 0.619,
                "total_long_balls": 0.9685,
                "accurate_long_balls": 0.4147,
                "total_own_half_passes": 3.7925,
                "accurate_own_half_passes": 3.3555,
                "total_opp_half_passes": 12.483,
                "accurate_opp_half_passes": 9.9325,
                "crosses_total": 0.2635,
                "crosses_accurate": 0.0878,
                "touches": 19.5827,
                "possession_lost": 3.8238,
                "dispossessed": 0.0,
                "duels_lost": 0.5174,
                "aerial_won": 0.3013,
                "aerial_lost": 0.302,
                "interceptions": 0.0,
                "tackles_won": 0.2431,
                "tackles": 0.2431,
                "clearances": 0.2725,
                "total_contest": 0.2317,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0747,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "ball_carries": 6.711,
                "total_progression": 13.8205,
                "progressive_carries": 0.1351,
                "shots_off_target": 0.2852,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3214,
                "fifa_rank": 1426.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Filip Ugrinić": {
          "player_id": 857482,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 23,
          "height": 185,
          "market_value": 5700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.062,
            "assist_rate": 0.064,
            "assists": 0,
            "expected_goals": 0.033,
            "goal_rate": 0.0429,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.751,
            "minutes": 30,
            "total_pass": 15,
            "accurate_pass": 13,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 9,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 24,
            "possession_lost": 6.2864,
            "dispossessed": 0.5482,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 6,
            "total_progression": 17,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.438,
            "bench_expected_minutes": 29.75,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 58,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1223,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0113,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 30,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0059,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 40,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416330,
              "match_date": "2026-09-11",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0497,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 36,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0091,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 28,
                "key_pass": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2432,
                "expected_assists": 0.0588,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 71,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "duels_won": 10,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 35,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0521,
                "expected_assists": 0.0417,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416298,
              "match_date": "2026-08-22",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 69,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.119,
                "expected_assists": 0.1259,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 40,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 1,
                "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": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.019,
                "expected_assists": 0.059,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 15,
                "key_pass": 2,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 73,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0394,
                "expected_assists": 0.0067,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 30,
                "accurate_pass": 26,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3510,
            "combined_rank_score": 1488.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 576.0,
            "sofascore_rating": 6.8037,
            "sofascore_appearances": 27.0,
            "fifa_rank": 2401.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.751,
            "source_file": "data/player_rankings.csv",
            "player_name": "Filip Ugrinić",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Arthur Masuaku",
                  "ranking": 3505
                },
                {
                  "player_name": "Mario Götze",
                  "ranking": 3506
                },
                {
                  "player_name": "Pere Milla",
                  "ranking": 3507
                },
                {
                  "player_name": "Mitchell Weiser",
                  "ranking": 3508
                },
                {
                  "player_name": "Frank Onyeka",
                  "ranking": 3509
                }
              ],
              "lower": [
                {
                  "player_name": "Robin Zentner",
                  "ranking": 3511
                },
                {
                  "player_name": "Kevin Diks",
                  "ranking": 3512
                },
                {
                  "player_name": "Zuriko Davitashvili",
                  "ranking": 3513
                },
                {
                  "player_name": "Grischa Prömel",
                  "ranking": 3514
                },
                {
                  "player_name": "Pol Lozano",
                  "ranking": 3515
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.772,
          "history_matches": 35,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.772,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 29.75,
            "bench_appearance_prob": 0.438,
            "market_value_adjustment": 0.9987,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 36.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "Bench projection scaled from XGBoost M_service (35 historical appearances) to 29.8 expected mins (appearance prob 0.44); FBref playing time empirical prior: 1.0 sub appearances, 36.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4903,
                "expected_assists": 0.053,
                "assists": 0.0553,
                "assist_rate": 0.0553,
                "expected_goals": 0.0282,
                "goals": 0.037,
                "goal_rate": 0.037,
                "shots_on_target": 0.1138,
                "total_shots": 0.3686,
                "rating": 6.751,
                "minutes": 25.37,
                "total_pass": 13.2218,
                "accurate_pass": 10.8331,
                "duels_won": 1.5111,
                "total_long_balls": 1.051,
                "accurate_long_balls": 0.527,
                "total_own_half_passes": 4.1798,
                "accurate_own_half_passes": 3.5528,
                "total_opp_half_passes": 9.042,
                "accurate_opp_half_passes": 7.2803,
                "crosses_total": 1.9181,
                "crosses_accurate": 0.8778,
                "touches": 20.5911,
                "possession_lost": 5.3679,
                "dispossessed": 0.5489,
                "duels_lost": 1.4846,
                "aerial_won": 0.2821,
                "aerial_lost": 0.3681,
                "interceptions": 0.0,
                "tackles_won": 0.2047,
                "tackles": 0.7286,
                "clearances": 0.8242,
                "total_contest": 0.4063,
                "won_contest": 0.2261,
                "challenges_lost": 0.1479,
                "fouls": 0.2397,
                "fouls_drawn": 0.2742,
                "blocks": 0.1106,
                "big_chances_created": 0.5121,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.8829,
                "total_progression": 14.4878,
                "progressive_carries": 0.4471,
                "shots_off_target": 0.2548
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Real Racing Club",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.5503,
                  "creative_index": 0.3131,
                  "expectedGoals": 0.0331,
                  "expectedAssists": 0.066,
                  "onTargetScoringAttempt": 0.1677
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.49032074213027954,
                    "model_output": 0.4903,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3999
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0312
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0247
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0193
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0164
                        }
                      ],
                      "others": -0.0064,
                      "total": 0.4903,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.593845
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.061399
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.04834
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.0394
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.033567
                        }
                      ],
                      "others_margin": -0.012888
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05299009755253792,
                    "model_output": 0.053,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0367
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0118
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0059
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0038
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0039,
                      "total": 0.053,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.559912
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.216106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.10233
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.067247
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.028757
                        }
                      ],
                      "others_margin": -0.072403
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05534996837377548,
                    "model_output": 0.0553,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0238
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0059
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.005
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0036
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0077,
                      "total": 0.0554,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.319136
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.097698
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.084125
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.056049
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.047068
                        }
                      ],
                      "others_margin": -0.131278
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.02817729115486145,
                    "model_output": 0.0282,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0429
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0051
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0034
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0057,
                      "total": 0.0282,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.606428
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.149064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.12208
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.090351
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.053372
                        }
                      ],
                      "others_margin": -0.186617
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.03701089695096016,
                    "model_output": 0.037,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0355
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0053
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0041
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0044,
                      "total": 0.037,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.45041
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.146912
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.103583
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.088633
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.069781
                        }
                      ],
                      "others_margin": -0.112277
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.11376602202653885,
                    "model_output": 0.1138,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1458
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0356
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0212
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0032
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.1138,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.593773
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.220424
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.158853
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.025963
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.021944
                        }
                      ],
                      "others_margin": -0.082892
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3685222268104553,
                    "model_output": 0.3685,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.334
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1735
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0369
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0223
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0161
                        }
                      ],
                      "others": -0.121,
                      "total": 0.3685,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.333985
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.173484
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.036854
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.022318
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.01611
                        }
                      ],
                      "others_margin": -0.121118
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.750979423522949,
                    "model_output": 6.751,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0841
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0386
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0173
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0164
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0154
                        }
                      ],
                      "others": 0.0043,
                      "total": 6.751,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.084098
                        },
                        {
                          "name": "rating",
                          "margin": -0.038649
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.017287
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.016398
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.015387
                        }
                      ],
                      "others_margin": 0.004395
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 35,
                  "role_matches": 11,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9987, quality 0.471)",
              "stats": {
                "key_pass": 0.4897,
                "expected_assists": 0.0529,
                "assists": 0.0553,
                "assist_rate": 0.0553,
                "expected_goals": 0.0281,
                "goals": 0.037,
                "goal_rate": 0.037,
                "shots_on_target": 0.1136,
                "total_shots": 0.3681,
                "rating": 6.751,
                "minutes": 25.37,
                "total_pass": 13.2046,
                "accurate_pass": 10.819,
                "duels_won": 1.5091,
                "total_long_balls": 1.0496,
                "accurate_long_balls": 0.5263,
                "total_own_half_passes": 4.1744,
                "accurate_own_half_passes": 3.5482,
                "total_opp_half_passes": 9.0302,
                "accurate_opp_half_passes": 7.2708,
                "crosses_total": 1.9156,
                "crosses_accurate": 0.8767,
                "touches": 20.5643,
                "possession_lost": 5.3609,
                "dispossessed": 0.5482,
                "duels_lost": 1.4827,
                "aerial_won": 0.2817,
                "aerial_lost": 0.3676,
                "interceptions": 0.0,
                "tackles_won": 0.2044,
                "tackles": 0.7277,
                "clearances": 0.8231,
                "total_contest": 0.4058,
                "won_contest": 0.2258,
                "challenges_lost": 0.1477,
                "fouls": 0.2394,
                "fouls_drawn": 0.2738,
                "blocks": 0.1105,
                "big_chances_created": 0.5114,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.8766,
                "total_progression": 14.469,
                "progressive_carries": 0.4465,
                "shots_off_target": 0.2545
              },
              "params": {
                "market_value_eur": 5700000,
                "quality_factor": 0.4708,
                "boost_factor": 0.9987,
                "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.0119)",
              "stats": {
                "key_pass": 0.4897,
                "expected_assists": 0.0529,
                "assists": 0.0546,
                "assist_rate": 0.0546,
                "expected_goals": 0.0281,
                "goals": 0.0366,
                "goal_rate": 0.0366,
                "shots_on_target": 0.1154,
                "total_shots": 0.3731,
                "rating": 6.751,
                "minutes": 25.37,
                "total_pass": 13.2046,
                "accurate_pass": 10.819,
                "duels_won": 1.5091,
                "total_long_balls": 1.0496,
                "accurate_long_balls": 0.5263,
                "total_own_half_passes": 4.1744,
                "accurate_own_half_passes": 3.5482,
                "total_opp_half_passes": 9.0302,
                "accurate_opp_half_passes": 7.2708,
                "crosses_total": 1.9096,
                "crosses_accurate": 0.8767,
                "touches": 20.5643,
                "possession_lost": 5.3609,
                "dispossessed": 0.5482,
                "duels_lost": 1.4827,
                "aerial_won": 0.2817,
                "aerial_lost": 0.3676,
                "interceptions": 0.0031,
                "tackles_won": 0.2065,
                "tackles": 0.7277,
                "clearances": 0.8231,
                "total_contest": 0.4058,
                "won_contest": 0.2258,
                "challenges_lost": 0.1477,
                "fouls": 0.2396,
                "fouls_drawn": 0.2828,
                "blocks": 0.1105,
                "big_chances_created": 0.5114,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.8766,
                "total_progression": 14.469,
                "progressive_carries": 0.4465,
                "shots_off_target": 0.2545
              },
              "params": {
                "blend_weight": 0.0119,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2819,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.2738,
                  "after": 0.2828
                },
                {
                  "stat": "totalCross",
                  "before": 1.9156,
                  "after": 1.9096
                },
                {
                  "stat": "totalShots",
                  "before": 0.3681,
                  "after": 0.3731
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 25.4 to 29.8 expected minutes (appearance prob 0.44)",
              "stats": {
                "key_pass": 0.5742,
                "expected_assists": 0.062,
                "assists": 0.064,
                "assist_rate": 0.064,
                "expected_goals": 0.033,
                "goals": 0.0429,
                "goal_rate": 0.0429,
                "shots_on_target": 0.1353,
                "total_shots": 0.4375,
                "rating": 6.751,
                "minutes": 29.75,
                "total_pass": 15.4843,
                "accurate_pass": 12.6868,
                "duels_won": 1.7696,
                "total_long_balls": 1.2308,
                "accurate_long_balls": 0.6172,
                "total_own_half_passes": 4.8951,
                "accurate_own_half_passes": 4.1608,
                "total_opp_half_passes": 10.5892,
                "accurate_opp_half_passes": 8.5261,
                "crosses_total": 2.2393,
                "crosses_accurate": 1.0281,
                "touches": 24.1146,
                "possession_lost": 6.2864,
                "dispossessed": 0.5482,
                "duels_lost": 1.7387,
                "aerial_won": 0.3303,
                "aerial_lost": 0.3676,
                "interceptions": 0.0036,
                "tackles_won": 0.2422,
                "tackles": 0.8533,
                "clearances": 0.9652,
                "total_contest": 0.4759,
                "won_contest": 0.2648,
                "challenges_lost": 0.1477,
                "fouls": 0.281,
                "fouls_drawn": 0.3316,
                "blocks": 0.1296,
                "big_chances_created": 0.5997,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.7185,
                "total_progression": 16.967,
                "progressive_carries": 0.5236,
                "shots_off_target": 0.2984,
                "bench_appearance_probability": 0.438,
                "bench_expected_minutes": 29.75
              },
              "params": {
                "expected_minutes": 29.75,
                "projection_minutes": 25.37,
                "minutes_scale": 1.1726,
                "appearance_probability": 0.438
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5742,
                "expected_assists": 0.062,
                "assists": 0.064,
                "assist_rate": 0.064,
                "expected_goals": 0.033,
                "goals": 0.0429,
                "goal_rate": 0.0429,
                "shots_on_target": 0.1353,
                "total_shots": 0.4375,
                "rating": 6.751,
                "minutes": 29.75,
                "total_pass": 15.4843,
                "accurate_pass": 12.6868,
                "duels_won": 1.7696,
                "total_long_balls": 1.2308,
                "accurate_long_balls": 0.6172,
                "total_own_half_passes": 4.8951,
                "accurate_own_half_passes": 4.1608,
                "total_opp_half_passes": 10.5892,
                "accurate_opp_half_passes": 8.5261,
                "crosses_total": 2.2393,
                "crosses_accurate": 1.0281,
                "touches": 24.1146,
                "possession_lost": 6.2864,
                "dispossessed": 0.5482,
                "duels_lost": 1.7387,
                "aerial_won": 0.3303,
                "aerial_lost": 0.3676,
                "interceptions": 0.0036,
                "tackles_won": 0.2422,
                "tackles": 0.8533,
                "clearances": 0.9652,
                "total_contest": 0.4759,
                "won_contest": 0.2648,
                "challenges_lost": 0.1477,
                "fouls": 0.281,
                "fouls_drawn": 0.3316,
                "blocks": 0.1296,
                "big_chances_created": 0.5997,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.7185,
                "total_progression": 16.967,
                "progressive_carries": 0.5236,
                "shots_off_target": 0.2984,
                "bench_appearance_probability": 0.438,
                "bench_expected_minutes": 29.75
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "key_pass": 0.5742,
                "expected_assists": 0.062,
                "assist_rate": 0.064,
                "assists": 0,
                "expected_goals": 0.033,
                "goal_rate": 0.0429,
                "goals": 0,
                "shots_on_target": 0.1353,
                "total_shots": 0.4375,
                "rating": 6.751,
                "minutes": 29.75,
                "total_pass": 15.4843,
                "accurate_pass": 12.6868,
                "duels_won": 1.7696,
                "total_long_balls": 1.2308,
                "accurate_long_balls": 0.6172,
                "total_own_half_passes": 4.8951,
                "accurate_own_half_passes": 4.1608,
                "total_opp_half_passes": 10.5892,
                "accurate_opp_half_passes": 8.5261,
                "crosses_total": 2.2393,
                "crosses_accurate": 1.0281,
                "touches": 24.1146,
                "possession_lost": 6.2864,
                "dispossessed": 0.5482,
                "duels_lost": 1.7387,
                "aerial_won": 0.3303,
                "aerial_lost": 0.3676,
                "interceptions": 0.0036,
                "tackles_won": 0.2422,
                "tackles": 0.8533,
                "clearances": 0.9652,
                "total_contest": 0.4759,
                "won_contest": 0.2648,
                "challenges_lost": 0.1477,
                "fouls": 0.281,
                "fouls_drawn": 0.3316,
                "blocks": 0.1296,
                "big_chances_created": 0.5997,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.7185,
                "total_progression": 16.967,
                "progressive_carries": 0.5236,
                "shots_off_target": 0.2984,
                "bench_appearance_probability": 0.438,
                "bench_expected_minutes": 29.75,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.438,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 75.0)",
              "stats": {
                "key_pass": 0.5742,
                "expected_assists": 0.062,
                "assist_rate": 0.064,
                "assists": 0,
                "expected_goals": 0.033,
                "goal_rate": 0.0429,
                "goals": 0,
                "shots_on_target": 0.1353,
                "total_shots": 0.4375,
                "rating": 6.751,
                "minutes": 29.75,
                "total_pass": 15.4843,
                "accurate_pass": 12.6868,
                "duels_won": 1.7696,
                "total_long_balls": 1.2308,
                "accurate_long_balls": 0.6172,
                "total_own_half_passes": 4.8951,
                "accurate_own_half_passes": 4.1608,
                "total_opp_half_passes": 10.5892,
                "accurate_opp_half_passes": 8.5261,
                "crosses_total": 2.2393,
                "crosses_accurate": 1.0281,
                "touches": 24.1146,
                "possession_lost": 6.2864,
                "dispossessed": 0.5482,
                "duels_lost": 1.7387,
                "aerial_won": 0.3303,
                "aerial_lost": 0.3676,
                "interceptions": 0.0036,
                "tackles_won": 0.2422,
                "tackles": 0.8533,
                "clearances": 0.9652,
                "total_contest": 0.4759,
                "won_contest": 0.2648,
                "challenges_lost": 0.1477,
                "fouls": 0.281,
                "fouls_drawn": 0.3316,
                "blocks": 0.1296,
                "big_chances_created": 0.5997,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.7185,
                "total_progression": 16.967,
                "progressive_carries": 0.5236,
                "shots_off_target": 0.2984,
                "bench_appearance_probability": 0.438,
                "bench_expected_minutes": 29.75,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3510,
                "fifa_rank": 2401.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Diego López": {
          "player_id": 998950,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 172,
          "market_value": 9600000,
          "stats": {
            "expected_goals": 0.0414,
            "goal_rate": 0.0843,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0329,
            "key_pass": 0,
            "rating": 6.6508,
            "minutes": 26,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 19,
            "possession_lost": 4.7949,
            "dispossessed": 0.1958,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0132,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.573,
            "bench_expected_minutes": 25.61,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0399,
            "projected_assists": 0,
            "assist_probability": 0.032,
            "finishing_factor": 1.0558,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 52,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2276,
                "expected_assists": 0.5462,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 74,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0667,
                "expected_assists": 0.1734,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 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": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1358,
                "expected_assists": 0.0503,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 42,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 9,
                "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": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 70,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0115,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 17,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0379,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083255,
              "match_date": "2026-04-25",
              "home_team": "Valencia",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 25,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.015,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083270,
              "match_date": "2026-04-21",
              "home_team": "Mallorca",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 60,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0037,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 14,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083132,
              "match_date": "2026-04-11",
              "home_team": "Elche",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Elche",
              "stats": {
                "minutes": 30,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0653,
                "expected_assists": 0.1156,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 9,
                "accurate_pass": 9,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083684,
              "match_date": "2026-03-21",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 10,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083627,
              "match_date": "2026-03-14",
              "home_team": "Real Oviedo",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 20,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0586,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3167,
            "combined_rank_score": 1133.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 692.0,
            "sofascore_rating": 6.7088,
            "sofascore_appearances": 34.0,
            "fifa_rank": 1575.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.6508,
            "source_file": "data/player_rankings.csv",
            "player_name": "Diego López",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jack Clarke",
                  "ranking": 3162
                },
                {
                  "player_name": "Vitor Reis",
                  "ranking": 3163
                },
                {
                  "player_name": "Nicolás Fernández",
                  "ranking": 3164
                },
                {
                  "player_name": "Žan Vipotnik",
                  "ranking": 3165
                },
                {
                  "player_name": "Mykhailo Mudryk",
                  "ranking": 3166
                }
              ],
              "lower": [
                {
                  "player_name": "Taty Castellanos",
                  "ranking": 3168
                },
                {
                  "player_name": "Timothy Castagne",
                  "ranking": 3169
                },
                {
                  "player_name": "Edson Álvarez",
                  "ranking": 3170
                },
                {
                  "player_name": "Kevin Trapp",
                  "ranking": 3171
                },
                {
                  "player_name": "Sean Longstaff",
                  "ranking": 3172
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 34,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 34,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.610281584086223,
            "bench_appearance_prob": 0.5731946174584648,
            "market_value_adjustment": 1.0005,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (34 historical appearances) to 25.6 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0636,
                "goals": 0.0695,
                "goal_rate": 0.0695,
                "shots_on_target": 0.1971,
                "total_shots": 0.5524,
                "expected_assists": 0.0432,
                "key_pass": 0.404,
                "rating": 6.6508,
                "minutes": 21.11,
                "total_pass": 8.5727,
                "accurate_pass": 7.0982,
                "duels_won": 1.4827,
                "total_long_balls": 0.1298,
                "accurate_long_balls": 0.0911,
                "total_opp_half_passes": 6.4637,
                "accurate_opp_half_passes": 5.3701,
                "crosses_total": 1.2051,
                "crosses_accurate": 0.5376,
                "touches": 15.3895,
                "possession_lost": 3.9503,
                "dispossessed": 0.1957,
                "duels_lost": 1.9316,
                "aerial_lost": 0.659,
                "total_contest": 0.7503,
                "won_contest": 0.3834,
                "ball_recovery": 1.4285,
                "challenges_lost": 0.6258,
                "fouls": 0.0843,
                "fouls_drawn": 0.1988,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1672,
                "tackles_won": 0.523,
                "tackles": 0.6103,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.047,
                "big_chances_missed": 0.1345,
                "xgot": 0.0203,
                "offsides": 0.0,
                "ball_carries": 2.9642,
                "total_progression": 17.3017,
                "progressive_carries": 0.7638,
                "shots_off_target": 0.3553
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 52.0,
                    "is_starting": true,
                    "weight": 0.1506,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.128,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Atlético Madrid",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0786,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Girona FC",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0668,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Mallorca",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Elche",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Sevilla",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Real Oviedo",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 10.9174,
                  "expectedGoals": 0.0692,
                  "accurateOppositionHalfPasses": 8.744,
                  "accuratePass": 13.5639,
                  "totalShots": 0.8797
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06357259303331375,
                    "model_output": 0.0636,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0834
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0191
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0039
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0034
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0209,
                      "total": 0.0636,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.548864
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.182879
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.042441
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.038449
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.037445
                        }
                      ],
                      "others_margin": -0.283577
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06945664435625076,
                    "model_output": 0.0695,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0862
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0116
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0103
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0062
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0162,
                      "total": 0.0695,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.551665
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.103988
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.103176
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.0672
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.039014
                        }
                      ],
                      "others_margin": -0.20922
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1971094161272049,
                    "model_output": 0.1971,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2231
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0242
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0221
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0202
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0162
                        }
                      ],
                      "others": -0.0347,
                      "total": 0.1971,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.536055
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.079952
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.079142
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.078287
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.06747
                        }
                      ],
                      "others_margin": -0.162541
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5523873567581177,
                    "model_output": 0.5524,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4817
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1351
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0415
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.031
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0216
                        }
                      ],
                      "others": -0.1105,
                      "total": 0.5524,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.481716
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.135149
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.041542
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.031007
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.021583
                        }
                      ],
                      "others_margin": -0.110455
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.043175019323825836,
                    "model_output": 0.0432,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0159
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0044
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.004
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0025
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0021
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.0432,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.284949
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.087077
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.078929
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.052199
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.045271
                        }
                      ],
                      "others_margin": -0.113253
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.40404948592185974,
                    "model_output": 0.404,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2373
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0308
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0263
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.018
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0147
                        }
                      ],
                      "others": -0.0333,
                      "total": 0.404,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.434382
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.068326
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.058057
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.041708
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.034089
                        }
                      ],
                      "others_margin": -0.079022
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.65084171295166,
                    "model_output": 6.6508,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0535
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0142
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0117
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0109
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0399,
                      "total": 6.6508,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053476
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.014177
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.011672
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.010893
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.009364
                        }
                      ],
                      "others_margin": -0.039925
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 34,
                  "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 1.0005, quality 0.518)",
              "stats": {
                "expected_goals": 0.0636,
                "goals": 0.0695,
                "goal_rate": 0.0695,
                "shots_on_target": 0.1972,
                "total_shots": 0.5527,
                "expected_assists": 0.0432,
                "key_pass": 0.4043,
                "rating": 6.6508,
                "minutes": 21.11,
                "total_pass": 8.577,
                "accurate_pass": 7.1017,
                "duels_won": 1.4834,
                "total_long_balls": 0.1299,
                "accurate_long_balls": 0.0911,
                "total_opp_half_passes": 6.4669,
                "accurate_opp_half_passes": 5.3728,
                "crosses_total": 1.2057,
                "crosses_accurate": 0.5379,
                "touches": 15.3972,
                "possession_lost": 3.9523,
                "dispossessed": 0.1958,
                "duels_lost": 1.9326,
                "aerial_lost": 0.6593,
                "total_contest": 0.7507,
                "won_contest": 0.3836,
                "ball_recovery": 1.4292,
                "challenges_lost": 0.6261,
                "fouls": 0.0843,
                "fouls_drawn": 0.1989,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1673,
                "tackles_won": 0.5233,
                "tackles": 0.6106,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.047,
                "big_chances_missed": 0.1346,
                "xgot": 0.0203,
                "offsides": 0.0,
                "ball_carries": 2.9657,
                "total_progression": 17.3104,
                "progressive_carries": 0.7642,
                "shots_off_target": 0.3555
              },
              "params": {
                "market_value_eur": 9600000,
                "quality_factor": 0.5177,
                "boost_factor": 1.0005,
                "reference_quality": 0.505,
                "history_matches": 34,
                "history_shrink": 0.1282,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.1 to 25.6 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.0772,
                "goals": 0.0843,
                "goal_rate": 0.0843,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0524,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0246,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61
              },
              "params": {
                "expected_minutes": 25.61,
                "projection_minutes": 21.11,
                "minutes_scale": 1.2132,
                "appearance_probability": 0.573
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0772,
                "goals": 0.0843,
                "goal_rate": 0.0843,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0524,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0246,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0772,
                "goal_rate": 0.0843,
                "goals": 0,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0524,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0246,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.0843,
                "goals": 0,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0329,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0132,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0558,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 0.573
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0772,
                  "after": 0.0414
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0524,
                  "after": 0.0329
                }
              ]
            },
            {
              "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": {
                "expected_goals": 0.0414,
                "goal_rate": 0.0843,
                "goals": 0,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0329,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0132,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0558,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3167,
                "fifa_rank": 1575.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.0843,
                "goals": 0,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0329,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0132,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0399,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0558,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0399,
                "goal_rate": 0.0843,
                "scorer_weight": 0.0437,
                "squad_weight_total": 1.0105,
                "weight_share": 0.0433,
                "finishing_factor": 1.0558,
                "appearance_weight": 0.573,
                "weight_rank": 7,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.0843,
                "goals": 0,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0329,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0132,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0399,
                "projected_assists": 0,
                "assist_probability": 0.032,
                "finishing_factor": 1.0558,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.032,
                "assist_rate": 0.0,
                "provider_weight": 0.0263,
                "squad_weight_total": 0.6588,
                "weight_share": 0.04,
                "creation_factor": 0.8,
                "appearance_weight": 0.573,
                "weight_rank": 10,
                "eligible_players": 12
              }
            }
          ]
        },
        "Largie Ramazani": {
          "player_id": 909966,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 167,
          "market_value": 7500000,
          "stats": {
            "expected_goals": 0.0641,
            "goal_rate": 0.1096,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0369,
            "key_pass": 0,
            "rating": 6.6967,
            "minutes": 26,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 4.6575,
            "dispossessed": 0.8008,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0169,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0635,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 30,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.569,
            "bench_expected_minutes": 25.51,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0606,
            "projected_assists": 0,
            "assist_probability": 0.0357,
            "finishing_factor": 0.9366,
            "creation_factor": 0.8,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 38,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0526,
                "expected_assists": 0.0341,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 16,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1049,
                "expected_assists": 0.2004,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "key_pass": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0714,
                "expected_assists": 0.012,
                "total_shots": 2,
                "total_pass": 4,
                "accurate_pass": 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": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 73,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3457,
                "expected_assists": 0.006,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 15,
                "accurate_pass": 8,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083255,
              "match_date": "2026-04-25",
              "home_team": "Valencia",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 84,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.102,
                "expected_assists": 0.2711,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 7,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 5,
                "ball_recovery": 8
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083270,
              "match_date": "2026-04-21",
              "home_team": "Mallorca",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 89,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8225,
                "expected_assists": 0.0283,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 14,
                "interceptions": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083132,
              "match_date": "2026-04-11",
              "home_team": "Elche",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5185,
                "expected_assists": 0.0152,
                "total_shots": 5,
                "shots_on_target": 4,
                "total_pass": 18,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 9,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081817,
              "match_date": "2026-04-05",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0976,
                "expected_assists": 0.0815,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083684,
              "match_date": "2026-03-21",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 66,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9482,
                "expected_assists": 0.0875,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 19,
                "accurate_pass": 15,
                "key_pass": 3,
                "interceptions": 2,
                "clearances": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3237,
            "combined_rank_score": 1181.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 576.0,
            "sofascore_rating": 6.8037,
            "sofascore_appearances": 27.0,
            "fifa_rank": 1787.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6967,
            "source_file": "data/player_rankings.csv",
            "player_name": "Largie Ramazani",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carney Chukwuemeka",
                  "ranking": 3232
                },
                {
                  "player_name": "Raphael Onyedika",
                  "ranking": 3233
                },
                {
                  "player_name": "Vladyslav Vanat",
                  "ranking": 3234
                },
                {
                  "player_name": "Kristijan Jakić",
                  "ranking": 3235
                },
                {
                  "player_name": "Afonso Moreira",
                  "ranking": 3236
                }
              ],
              "lower": [
                {
                  "player_name": "Zian Flemming",
                  "ranking": 3238
                },
                {
                  "player_name": "Morata",
                  "ranking": 3239
                },
                {
                  "player_name": "Tarik Muharemović",
                  "ranking": 3240
                },
                {
                  "player_name": "Pascal Struijk",
                  "ranking": 3241
                },
                {
                  "player_name": "Danilo Cataldi",
                  "ranking": 3242
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 27,
          "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": 27,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.51095973581812,
            "bench_appearance_prob": 0.5686799879917326,
            "market_value_adjustment": 0.9994,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (27 historical appearances) to 25.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1011,
                "goals": 0.092,
                "goal_rate": 0.092,
                "shots_on_target": 0.406,
                "total_shots": 1.0584,
                "expected_assists": 0.0497,
                "key_pass": 0.4105,
                "rating": 6.6967,
                "minutes": 21.4,
                "total_pass": 4.5171,
                "accurate_pass": 3.1652,
                "duels_won": 1.3571,
                "total_long_balls": 0.0611,
                "accurate_long_balls": 0.0611,
                "total_opp_half_passes": 3.2128,
                "accurate_opp_half_passes": 2.2512,
                "crosses_total": 0.5061,
                "crosses_accurate": 0.0895,
                "touches": 10.8095,
                "possession_lost": 3.9093,
                "dispossessed": 0.8013,
                "duels_lost": 2.0576,
                "aerial_lost": 0.2167,
                "total_contest": 1.2,
                "won_contest": 0.48,
                "ball_recovery": 1.1427,
                "challenges_lost": 0.1038,
                "fouls": 0.2158,
                "fouls_drawn": 0.3932,
                "assists": 0.0142,
                "assist_rate": 0.0142,
                "interceptions": 0.1515,
                "tackles_won": 0.2499,
                "tackles": 0.2499,
                "clearances": 0.0995,
                "blocks": 0.0,
                "big_chances_created": 0.1618,
                "big_chances_missed": 0.0196,
                "xgot": 0.1003,
                "offsides": 0.0179,
                "ball_carries": 3.0609,
                "total_progression": 24.8234,
                "progressive_carries": 1.322,
                "shots_off_target": 0.6524
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 38.0,
                    "is_starting": false,
                    "weight": 0.1519,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1291,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1097,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0933,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Atlético Madrid",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0793,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Girona FC",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Mallorca",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0414,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Sevilla",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 7.5086,
                  "expectedGoals": 0.2368,
                  "accurateOppositionHalfPasses": 4.8998,
                  "accuratePass": 7.7012,
                  "totalShots": 2.2342
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.101096011698246,
                    "model_output": 0.1011,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0903
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0189
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0047
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0045
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.1011,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.611081
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.16254
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.037883
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.037704
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.027677
                        }
                      ],
                      "others_margin": -0.117962
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09199196845293045,
                    "model_output": 0.092,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0925
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0166
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0133
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0079
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0051
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.092,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.606708
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.139534
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.110039
                        },
                        {
                          "name": "goals",
                          "margin": -0.071359
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.049294
                        }
                      ],
                      "others_margin": -0.095399
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4059978425502777,
                    "model_output": 0.406,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2048
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0378
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0182
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.018
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0165
                        }
                      ],
                      "others": 0.0157,
                      "total": 0.406,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.479609
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.107562
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.048012
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.045206
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.04146
                        }
                      ],
                      "others_margin": 0.03943
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0584039688110352,
                    "model_output": 1.0584,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5577
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1754
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0406
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0305
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0157
                        }
                      ],
                      "others": -0.0199,
                      "total": 1.0584,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.557743
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.175409
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.040605
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.030486
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.015726
                        }
                      ],
                      "others_margin": -0.01992
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04973997920751572,
                    "model_output": 0.0497,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0167
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0058
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0048
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0027
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0019,
                      "total": 0.0497,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.301227
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.129557
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.108615
                        },
                        {
                          "name": "rating",
                          "margin": 0.056585
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.048181
                        }
                      ],
                      "others_margin": -0.038032
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4104865789413452,
                    "model_output": 0.4105,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.249
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0389
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0292
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0137
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0098
                        }
                      ],
                      "others": 0.0581,
                      "total": 0.4105,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.461644
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.09625
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.07873
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.0391
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.028103
                        }
                      ],
                      "others_margin": 0.152672
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.696699619293213,
                    "model_output": 6.6967,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0677
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0101
                        },
                        {
                          "name": "touches",
                          "contribution": -0.01
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0096
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0089
                        }
                      ],
                      "others": -0.002,
                      "total": 6.6967,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.067656
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.010122
                        },
                        {
                          "name": "touches",
                          "margin": -0.009997
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.009633
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.008903
                        }
                      ],
                      "others_margin": -0.002039
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9994, quality 0.493)",
              "stats": {
                "expected_goals": 0.101,
                "goals": 0.0919,
                "goal_rate": 0.0919,
                "shots_on_target": 0.4058,
                "total_shots": 1.0578,
                "expected_assists": 0.0497,
                "key_pass": 0.4102,
                "rating": 6.6967,
                "minutes": 21.4,
                "total_pass": 4.5144,
                "accurate_pass": 3.1633,
                "duels_won": 1.3563,
                "total_long_balls": 0.0611,
                "accurate_long_balls": 0.0611,
                "total_opp_half_passes": 3.2109,
                "accurate_opp_half_passes": 2.2498,
                "crosses_total": 0.5058,
                "crosses_accurate": 0.0894,
                "touches": 10.803,
                "possession_lost": 3.907,
                "dispossessed": 0.8008,
                "duels_lost": 2.0564,
                "aerial_lost": 0.2166,
                "total_contest": 1.1993,
                "won_contest": 0.4797,
                "ball_recovery": 1.142,
                "challenges_lost": 0.1037,
                "fouls": 0.2157,
                "fouls_drawn": 0.393,
                "assists": 0.0142,
                "assist_rate": 0.0142,
                "interceptions": 0.1514,
                "tackles_won": 0.2498,
                "tackles": 0.2498,
                "clearances": 0.0994,
                "blocks": 0.0,
                "big_chances_created": 0.1617,
                "big_chances_missed": 0.0196,
                "xgot": 0.1002,
                "offsides": 0.0179,
                "ball_carries": 3.0591,
                "total_progression": 24.8085,
                "progressive_carries": 1.3212,
                "shots_off_target": 0.652
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9994,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.4 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.1204,
                "goals": 0.1096,
                "goal_rate": 0.1096,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0592,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assists": 0.0169,
                "assist_rate": 0.0169,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.1194,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51
              },
              "params": {
                "expected_minutes": 25.51,
                "projection_minutes": 21.4,
                "minutes_scale": 1.1921,
                "appearance_probability": 0.569
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1204,
                "goals": 0.1096,
                "goal_rate": 0.1096,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0592,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assists": 0.0169,
                "assist_rate": 0.0169,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.1194,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1204,
                "goal_rate": 0.1096,
                "goals": 0,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0592,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assist_rate": 0.0169,
                "assists": 0,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.1194,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0641,
                "goal_rate": 0.1096,
                "goals": 0,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0369,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assist_rate": 0.0169,
                "assists": 0,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.0635,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9366,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 0.569
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1204,
                  "after": 0.0641
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0592,
                  "after": 0.0369
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 76.0)",
              "stats": {
                "expected_goals": 0.0641,
                "goal_rate": 0.1096,
                "goals": 0,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0369,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assist_rate": 0.0169,
                "assists": 0,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.0635,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9366,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3237,
                "fifa_rank": 1787.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0641,
                "goal_rate": 0.1096,
                "goals": 0,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0369,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assist_rate": 0.0169,
                "assists": 0,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.0635,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0606,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9366,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0606,
                "goal_rate": 0.1096,
                "scorer_weight": 0.06,
                "squad_weight_total": 1.0105,
                "weight_share": 0.0594,
                "finishing_factor": 0.9366,
                "appearance_weight": 0.569,
                "weight_rank": 6,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0641,
                "goal_rate": 0.1096,
                "goals": 0,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0369,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assist_rate": 0.0169,
                "assists": 0,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.0635,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0606,
                "projected_assists": 0,
                "assist_probability": 0.0357,
                "finishing_factor": 0.9366,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0357,
                "assist_rate": 0.0169,
                "provider_weight": 0.0295,
                "squad_weight_total": 0.6588,
                "weight_share": 0.0448,
                "creation_factor": 0.8,
                "appearance_weight": 0.569,
                "weight_rank": 9,
                "eligible_players": 12
              }
            }
          ]
        }
      },
      "substitutes": {
        "Diego López": {
          "player_id": 998950,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 172,
          "market_value": 9600000,
          "stats": {
            "expected_goals": 0.0414,
            "goal_rate": 0.0843,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0329,
            "key_pass": 0,
            "rating": 6.6508,
            "minutes": 26,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 19,
            "possession_lost": 4.7949,
            "dispossessed": 0.1958,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0132,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.573,
            "bench_expected_minutes": 25.61,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0399,
            "projected_assists": 0,
            "assist_probability": 0.032,
            "finishing_factor": 1.0558,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 52,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2276,
                "expected_assists": 0.5462,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 74,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0667,
                "expected_assists": 0.1734,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 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": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1358,
                "expected_assists": 0.0503,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 42,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 9,
                "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": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 70,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0115,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 17,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0379,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083255,
              "match_date": "2026-04-25",
              "home_team": "Valencia",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 25,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.015,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083270,
              "match_date": "2026-04-21",
              "home_team": "Mallorca",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 60,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0037,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 14,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083132,
              "match_date": "2026-04-11",
              "home_team": "Elche",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Elche",
              "stats": {
                "minutes": 30,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0653,
                "expected_assists": 0.1156,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 9,
                "accurate_pass": 9,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083684,
              "match_date": "2026-03-21",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 10,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083627,
              "match_date": "2026-03-14",
              "home_team": "Real Oviedo",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 20,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0586,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3167,
            "combined_rank_score": 1133.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 692.0,
            "sofascore_rating": 6.7088,
            "sofascore_appearances": 34.0,
            "fifa_rank": 1575.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.6508,
            "source_file": "data/player_rankings.csv",
            "player_name": "Diego López",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jack Clarke",
                  "ranking": 3162
                },
                {
                  "player_name": "Vitor Reis",
                  "ranking": 3163
                },
                {
                  "player_name": "Nicolás Fernández",
                  "ranking": 3164
                },
                {
                  "player_name": "Žan Vipotnik",
                  "ranking": 3165
                },
                {
                  "player_name": "Mykhailo Mudryk",
                  "ranking": 3166
                }
              ],
              "lower": [
                {
                  "player_name": "Taty Castellanos",
                  "ranking": 3168
                },
                {
                  "player_name": "Timothy Castagne",
                  "ranking": 3169
                },
                {
                  "player_name": "Edson Álvarez",
                  "ranking": 3170
                },
                {
                  "player_name": "Kevin Trapp",
                  "ranking": 3171
                },
                {
                  "player_name": "Sean Longstaff",
                  "ranking": 3172
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 34,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 34,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.610281584086223,
            "bench_appearance_prob": 0.5731946174584648,
            "market_value_adjustment": 1.0005,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (34 historical appearances) to 25.6 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0636,
                "goals": 0.0695,
                "goal_rate": 0.0695,
                "shots_on_target": 0.1971,
                "total_shots": 0.5524,
                "expected_assists": 0.0432,
                "key_pass": 0.404,
                "rating": 6.6508,
                "minutes": 21.11,
                "total_pass": 8.5727,
                "accurate_pass": 7.0982,
                "duels_won": 1.4827,
                "total_long_balls": 0.1298,
                "accurate_long_balls": 0.0911,
                "total_opp_half_passes": 6.4637,
                "accurate_opp_half_passes": 5.3701,
                "crosses_total": 1.2051,
                "crosses_accurate": 0.5376,
                "touches": 15.3895,
                "possession_lost": 3.9503,
                "dispossessed": 0.1957,
                "duels_lost": 1.9316,
                "aerial_lost": 0.659,
                "total_contest": 0.7503,
                "won_contest": 0.3834,
                "ball_recovery": 1.4285,
                "challenges_lost": 0.6258,
                "fouls": 0.0843,
                "fouls_drawn": 0.1988,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1672,
                "tackles_won": 0.523,
                "tackles": 0.6103,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.047,
                "big_chances_missed": 0.1345,
                "xgot": 0.0203,
                "offsides": 0.0,
                "ball_carries": 2.9642,
                "total_progression": 17.3017,
                "progressive_carries": 0.7638,
                "shots_off_target": 0.3553
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 52.0,
                    "is_starting": true,
                    "weight": 0.1506,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.128,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Atlético Madrid",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0786,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Girona FC",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0668,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Mallorca",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Elche",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Sevilla",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Real Oviedo",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 10.9174,
                  "expectedGoals": 0.0692,
                  "accurateOppositionHalfPasses": 8.744,
                  "accuratePass": 13.5639,
                  "totalShots": 0.8797
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06357259303331375,
                    "model_output": 0.0636,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0834
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0191
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0039
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0034
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0209,
                      "total": 0.0636,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.548864
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.182879
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.042441
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.038449
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.037445
                        }
                      ],
                      "others_margin": -0.283577
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06945664435625076,
                    "model_output": 0.0695,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0862
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0116
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0103
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0062
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0162,
                      "total": 0.0695,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.551665
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.103988
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.103176
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.0672
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.039014
                        }
                      ],
                      "others_margin": -0.20922
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1971094161272049,
                    "model_output": 0.1971,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2231
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0242
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0221
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0202
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0162
                        }
                      ],
                      "others": -0.0347,
                      "total": 0.1971,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.536055
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.079952
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.079142
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.078287
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.06747
                        }
                      ],
                      "others_margin": -0.162541
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5523873567581177,
                    "model_output": 0.5524,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4817
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1351
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0415
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.031
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0216
                        }
                      ],
                      "others": -0.1105,
                      "total": 0.5524,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.481716
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.135149
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.041542
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.031007
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.021583
                        }
                      ],
                      "others_margin": -0.110455
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.043175019323825836,
                    "model_output": 0.0432,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0159
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0044
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.004
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0025
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0021
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.0432,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.284949
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.087077
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.078929
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.052199
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.045271
                        }
                      ],
                      "others_margin": -0.113253
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.40404948592185974,
                    "model_output": 0.404,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2373
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0308
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0263
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.018
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0147
                        }
                      ],
                      "others": -0.0333,
                      "total": 0.404,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.434382
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.068326
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.058057
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.041708
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.034089
                        }
                      ],
                      "others_margin": -0.079022
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.65084171295166,
                    "model_output": 6.6508,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0535
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0142
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0117
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0109
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0399,
                      "total": 6.6508,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053476
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.014177
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.011672
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.010893
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.009364
                        }
                      ],
                      "others_margin": -0.039925
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 34,
                  "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 1.0005, quality 0.518)",
              "stats": {
                "expected_goals": 0.0636,
                "goals": 0.0695,
                "goal_rate": 0.0695,
                "shots_on_target": 0.1972,
                "total_shots": 0.5527,
                "expected_assists": 0.0432,
                "key_pass": 0.4043,
                "rating": 6.6508,
                "minutes": 21.11,
                "total_pass": 8.577,
                "accurate_pass": 7.1017,
                "duels_won": 1.4834,
                "total_long_balls": 0.1299,
                "accurate_long_balls": 0.0911,
                "total_opp_half_passes": 6.4669,
                "accurate_opp_half_passes": 5.3728,
                "crosses_total": 1.2057,
                "crosses_accurate": 0.5379,
                "touches": 15.3972,
                "possession_lost": 3.9523,
                "dispossessed": 0.1958,
                "duels_lost": 1.9326,
                "aerial_lost": 0.6593,
                "total_contest": 0.7507,
                "won_contest": 0.3836,
                "ball_recovery": 1.4292,
                "challenges_lost": 0.6261,
                "fouls": 0.0843,
                "fouls_drawn": 0.1989,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1673,
                "tackles_won": 0.5233,
                "tackles": 0.6106,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.047,
                "big_chances_missed": 0.1346,
                "xgot": 0.0203,
                "offsides": 0.0,
                "ball_carries": 2.9657,
                "total_progression": 17.3104,
                "progressive_carries": 0.7642,
                "shots_off_target": 0.3555
              },
              "params": {
                "market_value_eur": 9600000,
                "quality_factor": 0.5177,
                "boost_factor": 1.0005,
                "reference_quality": 0.505,
                "history_matches": 34,
                "history_shrink": 0.1282,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.1 to 25.6 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.0772,
                "goals": 0.0843,
                "goal_rate": 0.0843,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0524,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0246,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61
              },
              "params": {
                "expected_minutes": 25.61,
                "projection_minutes": 21.11,
                "minutes_scale": 1.2132,
                "appearance_probability": 0.573
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0772,
                "goals": 0.0843,
                "goal_rate": 0.0843,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0524,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0246,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0772,
                "goal_rate": 0.0843,
                "goals": 0,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0524,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0246,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.0843,
                "goals": 0,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0329,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0132,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0558,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 0.573
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0772,
                  "after": 0.0414
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0524,
                  "after": 0.0329
                }
              ]
            },
            {
              "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": {
                "expected_goals": 0.0414,
                "goal_rate": 0.0843,
                "goals": 0,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0329,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0132,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0558,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3167,
                "fifa_rank": 1575.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.0843,
                "goals": 0,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0329,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0132,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0399,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0558,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0399,
                "goal_rate": 0.0843,
                "scorer_weight": 0.0437,
                "squad_weight_total": 1.0105,
                "weight_share": 0.0433,
                "finishing_factor": 1.0558,
                "appearance_weight": 0.573,
                "weight_rank": 7,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.0843,
                "goals": 0,
                "shots_on_target": 0.2392,
                "total_shots": 0.6705,
                "expected_assists": 0.0329,
                "key_pass": 0.4905,
                "rating": 6.6508,
                "minutes": 25.61,
                "total_pass": 10.4055,
                "accurate_pass": 8.6157,
                "duels_won": 1.7996,
                "total_long_balls": 0.1576,
                "accurate_long_balls": 0.1105,
                "total_opp_half_passes": 7.8455,
                "accurate_opp_half_passes": 6.5182,
                "crosses_total": 1.4627,
                "crosses_accurate": 0.6526,
                "touches": 18.6796,
                "possession_lost": 4.7949,
                "dispossessed": 0.1958,
                "duels_lost": 2.3446,
                "aerial_lost": 0.6593,
                "total_contest": 0.9107,
                "won_contest": 0.4654,
                "ball_recovery": 1.7339,
                "challenges_lost": 0.6261,
                "fouls": 0.1023,
                "fouls_drawn": 0.2413,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.203,
                "tackles_won": 0.6349,
                "tackles": 0.7408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.057,
                "big_chances_missed": 0.1633,
                "xgot": 0.0132,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4313,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0399,
                "projected_assists": 0,
                "assist_probability": 0.032,
                "finishing_factor": 1.0558,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.032,
                "assist_rate": 0.0,
                "provider_weight": 0.0263,
                "squad_weight_total": 0.6588,
                "weight_share": 0.04,
                "creation_factor": 0.8,
                "appearance_weight": 0.573,
                "weight_rank": 10,
                "eligible_players": 12
              }
            }
          ]
        },
        "Largie Ramazani": {
          "player_id": 909966,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 167,
          "market_value": 7500000,
          "stats": {
            "expected_goals": 0.0641,
            "goal_rate": 0.1096,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0369,
            "key_pass": 0,
            "rating": 6.6967,
            "minutes": 26,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 4.6575,
            "dispossessed": 0.8008,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0169,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0635,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 30,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.569,
            "bench_expected_minutes": 25.51,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0606,
            "projected_assists": 0,
            "assist_probability": 0.0357,
            "finishing_factor": 0.9366,
            "creation_factor": 0.8,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 38,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0526,
                "expected_assists": 0.0341,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 16,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1049,
                "expected_assists": 0.2004,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "key_pass": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0714,
                "expected_assists": 0.012,
                "total_shots": 2,
                "total_pass": 4,
                "accurate_pass": 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": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 73,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3457,
                "expected_assists": 0.006,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 15,
                "accurate_pass": 8,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083255,
              "match_date": "2026-04-25",
              "home_team": "Valencia",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 84,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.102,
                "expected_assists": 0.2711,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 7,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 5,
                "ball_recovery": 8
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083270,
              "match_date": "2026-04-21",
              "home_team": "Mallorca",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 89,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8225,
                "expected_assists": 0.0283,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 14,
                "interceptions": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083132,
              "match_date": "2026-04-11",
              "home_team": "Elche",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5185,
                "expected_assists": 0.0152,
                "total_shots": 5,
                "shots_on_target": 4,
                "total_pass": 18,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 9,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081817,
              "match_date": "2026-04-05",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0976,
                "expected_assists": 0.0815,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083684,
              "match_date": "2026-03-21",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 66,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9482,
                "expected_assists": 0.0875,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 19,
                "accurate_pass": 15,
                "key_pass": 3,
                "interceptions": 2,
                "clearances": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3237,
            "combined_rank_score": 1181.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 576.0,
            "sofascore_rating": 6.8037,
            "sofascore_appearances": 27.0,
            "fifa_rank": 1787.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6967,
            "source_file": "data/player_rankings.csv",
            "player_name": "Largie Ramazani",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carney Chukwuemeka",
                  "ranking": 3232
                },
                {
                  "player_name": "Raphael Onyedika",
                  "ranking": 3233
                },
                {
                  "player_name": "Vladyslav Vanat",
                  "ranking": 3234
                },
                {
                  "player_name": "Kristijan Jakić",
                  "ranking": 3235
                },
                {
                  "player_name": "Afonso Moreira",
                  "ranking": 3236
                }
              ],
              "lower": [
                {
                  "player_name": "Zian Flemming",
                  "ranking": 3238
                },
                {
                  "player_name": "Morata",
                  "ranking": 3239
                },
                {
                  "player_name": "Tarik Muharemović",
                  "ranking": 3240
                },
                {
                  "player_name": "Pascal Struijk",
                  "ranking": 3241
                },
                {
                  "player_name": "Danilo Cataldi",
                  "ranking": 3242
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 27,
          "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": 27,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.51095973581812,
            "bench_appearance_prob": 0.5686799879917326,
            "market_value_adjustment": 0.9994,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (27 historical appearances) to 25.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1011,
                "goals": 0.092,
                "goal_rate": 0.092,
                "shots_on_target": 0.406,
                "total_shots": 1.0584,
                "expected_assists": 0.0497,
                "key_pass": 0.4105,
                "rating": 6.6967,
                "minutes": 21.4,
                "total_pass": 4.5171,
                "accurate_pass": 3.1652,
                "duels_won": 1.3571,
                "total_long_balls": 0.0611,
                "accurate_long_balls": 0.0611,
                "total_opp_half_passes": 3.2128,
                "accurate_opp_half_passes": 2.2512,
                "crosses_total": 0.5061,
                "crosses_accurate": 0.0895,
                "touches": 10.8095,
                "possession_lost": 3.9093,
                "dispossessed": 0.8013,
                "duels_lost": 2.0576,
                "aerial_lost": 0.2167,
                "total_contest": 1.2,
                "won_contest": 0.48,
                "ball_recovery": 1.1427,
                "challenges_lost": 0.1038,
                "fouls": 0.2158,
                "fouls_drawn": 0.3932,
                "assists": 0.0142,
                "assist_rate": 0.0142,
                "interceptions": 0.1515,
                "tackles_won": 0.2499,
                "tackles": 0.2499,
                "clearances": 0.0995,
                "blocks": 0.0,
                "big_chances_created": 0.1618,
                "big_chances_missed": 0.0196,
                "xgot": 0.1003,
                "offsides": 0.0179,
                "ball_carries": 3.0609,
                "total_progression": 24.8234,
                "progressive_carries": 1.322,
                "shots_off_target": 0.6524
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 38.0,
                    "is_starting": false,
                    "weight": 0.1519,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1291,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1097,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0933,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Atlético Madrid",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0793,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Girona FC",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Mallorca",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0414,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Sevilla",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 7.5086,
                  "expectedGoals": 0.2368,
                  "accurateOppositionHalfPasses": 4.8998,
                  "accuratePass": 7.7012,
                  "totalShots": 2.2342
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.101096011698246,
                    "model_output": 0.1011,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0903
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0189
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0047
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0045
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.1011,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.611081
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.16254
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.037883
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.037704
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.027677
                        }
                      ],
                      "others_margin": -0.117962
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09199196845293045,
                    "model_output": 0.092,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0925
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0166
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0133
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0079
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0051
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.092,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.606708
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.139534
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.110039
                        },
                        {
                          "name": "goals",
                          "margin": -0.071359
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.049294
                        }
                      ],
                      "others_margin": -0.095399
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4059978425502777,
                    "model_output": 0.406,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2048
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0378
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0182
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.018
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0165
                        }
                      ],
                      "others": 0.0157,
                      "total": 0.406,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.479609
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.107562
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.048012
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.045206
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.04146
                        }
                      ],
                      "others_margin": 0.03943
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0584039688110352,
                    "model_output": 1.0584,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5577
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1754
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0406
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0305
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0157
                        }
                      ],
                      "others": -0.0199,
                      "total": 1.0584,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.557743
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.175409
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.040605
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.030486
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.015726
                        }
                      ],
                      "others_margin": -0.01992
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04973997920751572,
                    "model_output": 0.0497,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0167
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0058
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0048
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0027
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0019,
                      "total": 0.0497,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.301227
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.129557
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.108615
                        },
                        {
                          "name": "rating",
                          "margin": 0.056585
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.048181
                        }
                      ],
                      "others_margin": -0.038032
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4104865789413452,
                    "model_output": 0.4105,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.249
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0389
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0292
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0137
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0098
                        }
                      ],
                      "others": 0.0581,
                      "total": 0.4105,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.461644
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.09625
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.07873
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.0391
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.028103
                        }
                      ],
                      "others_margin": 0.152672
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.696699619293213,
                    "model_output": 6.6967,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0677
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0101
                        },
                        {
                          "name": "touches",
                          "contribution": -0.01
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0096
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0089
                        }
                      ],
                      "others": -0.002,
                      "total": 6.6967,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.067656
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.010122
                        },
                        {
                          "name": "touches",
                          "margin": -0.009997
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.009633
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.008903
                        }
                      ],
                      "others_margin": -0.002039
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9994, quality 0.493)",
              "stats": {
                "expected_goals": 0.101,
                "goals": 0.0919,
                "goal_rate": 0.0919,
                "shots_on_target": 0.4058,
                "total_shots": 1.0578,
                "expected_assists": 0.0497,
                "key_pass": 0.4102,
                "rating": 6.6967,
                "minutes": 21.4,
                "total_pass": 4.5144,
                "accurate_pass": 3.1633,
                "duels_won": 1.3563,
                "total_long_balls": 0.0611,
                "accurate_long_balls": 0.0611,
                "total_opp_half_passes": 3.2109,
                "accurate_opp_half_passes": 2.2498,
                "crosses_total": 0.5058,
                "crosses_accurate": 0.0894,
                "touches": 10.803,
                "possession_lost": 3.907,
                "dispossessed": 0.8008,
                "duels_lost": 2.0564,
                "aerial_lost": 0.2166,
                "total_contest": 1.1993,
                "won_contest": 0.4797,
                "ball_recovery": 1.142,
                "challenges_lost": 0.1037,
                "fouls": 0.2157,
                "fouls_drawn": 0.393,
                "assists": 0.0142,
                "assist_rate": 0.0142,
                "interceptions": 0.1514,
                "tackles_won": 0.2498,
                "tackles": 0.2498,
                "clearances": 0.0994,
                "blocks": 0.0,
                "big_chances_created": 0.1617,
                "big_chances_missed": 0.0196,
                "xgot": 0.1002,
                "offsides": 0.0179,
                "ball_carries": 3.0591,
                "total_progression": 24.8085,
                "progressive_carries": 1.3212,
                "shots_off_target": 0.652
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9994,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.4 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.1204,
                "goals": 0.1096,
                "goal_rate": 0.1096,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0592,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assists": 0.0169,
                "assist_rate": 0.0169,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.1194,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51
              },
              "params": {
                "expected_minutes": 25.51,
                "projection_minutes": 21.4,
                "minutes_scale": 1.1921,
                "appearance_probability": 0.569
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1204,
                "goals": 0.1096,
                "goal_rate": 0.1096,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0592,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assists": 0.0169,
                "assist_rate": 0.0169,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.1194,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1204,
                "goal_rate": 0.1096,
                "goals": 0,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0592,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assist_rate": 0.0169,
                "assists": 0,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.1194,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.99 (squad xG sum 1.0543, xG scale 0.9352, xA scale 1.0957, team xA 0.64 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0641,
                "goal_rate": 0.1096,
                "goals": 0,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0369,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assist_rate": 0.0169,
                "assists": 0,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.0635,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9366,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.986,
                "squad_xg_sum": 1.0543,
                "squad_xa_sum": 0.5849,
                "team_expected_assists": 0.6409,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9352,
                "xa_scale": 1.0957,
                "opponent_lambda": 1.002,
                "scoreline_reset": true,
                "appearance_weight": 0.569
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1204,
                  "after": 0.0641
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0592,
                  "after": 0.0369
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 76.0)",
              "stats": {
                "expected_goals": 0.0641,
                "goal_rate": 0.1096,
                "goals": 0,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0369,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assist_rate": 0.0169,
                "assists": 0,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.0635,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9366,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3237,
                "fifa_rank": 1787.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0641,
                "goal_rate": 0.1096,
                "goals": 0,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0369,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assist_rate": 0.0169,
                "assists": 0,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.0635,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0606,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9366,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0606,
                "goal_rate": 0.1096,
                "scorer_weight": 0.06,
                "squad_weight_total": 1.0105,
                "weight_share": 0.0594,
                "finishing_factor": 0.9366,
                "appearance_weight": 0.569,
                "weight_rank": 6,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0641,
                "goal_rate": 0.1096,
                "goals": 0,
                "shots_on_target": 0.4838,
                "total_shots": 1.261,
                "expected_assists": 0.0369,
                "key_pass": 0.489,
                "rating": 6.6967,
                "minutes": 25.51,
                "total_pass": 5.3816,
                "accurate_pass": 3.771,
                "duels_won": 1.6168,
                "total_long_balls": 0.0728,
                "accurate_long_balls": 0.0728,
                "total_opp_half_passes": 3.8277,
                "accurate_opp_half_passes": 2.682,
                "crosses_total": 0.603,
                "crosses_accurate": 0.1066,
                "touches": 12.8783,
                "possession_lost": 4.6575,
                "dispossessed": 0.8008,
                "duels_lost": 2.4514,
                "aerial_lost": 0.2166,
                "total_contest": 1.4297,
                "won_contest": 0.5719,
                "ball_recovery": 1.3614,
                "challenges_lost": 0.1037,
                "fouls": 0.2571,
                "fouls_drawn": 0.4685,
                "assist_rate": 0.0169,
                "assists": 0,
                "interceptions": 0.1805,
                "tackles_won": 0.2978,
                "tackles": 0.2978,
                "clearances": 0.1185,
                "blocks": 0.0,
                "big_chances_created": 0.1928,
                "big_chances_missed": 0.0234,
                "xgot": 0.0635,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7772,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0606,
                "projected_assists": 0,
                "assist_probability": 0.0357,
                "finishing_factor": 0.9366,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0357,
                "assist_rate": 0.0169,
                "provider_weight": 0.0295,
                "squad_weight_total": 0.6588,
                "weight_share": 0.0448,
                "creation_factor": 0.8,
                "appearance_weight": 0.569,
                "weight_rank": 9,
                "eligible_players": 12
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 0.99,
        "expected_assists": 0.64,
        "total_shots": 12,
        "shots_on_target": 3,
        "total_passes": 368,
        "interceptions": 8,
        "tackles": 15,
        "avg_rating": 6.81,
        "possession_estimated_pct": 50.7,
        "pressing_actions_per_90": 6.8
      }
    },
    "Athletic Club": {
      "formation": "4-2-3-1",
      "players": {
        "Robert Navarro": {
          "player_id": 944165,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 23,
          "height": 178,
          "market_value": 7500000,
          "stats": {
            "expected_goals": 0.1801,
            "goal_rate": 0.2533,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1332,
            "key_pass": 2,
            "rating": 7.0302,
            "minutes": 73,
            "total_pass": 22,
            "accurate_pass": 18,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 14,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 38,
            "possession_lost": 9.8264,
            "dispossessed": 0.7852,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3142,
            "offsides": 0,
            "ball_carries": 13,
            "total_progression": 49,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9251,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
            "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1648,
            "projected_assists": 0,
            "assist_probability": 0.1247,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 75,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1533,
                "expected_assists": 0.1992,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 30,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 1,
                "tackles_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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 72,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2942,
                "expected_assists": 0.1134,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 4,
                "tackles": 1,
                "interceptions": 3,
                "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": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 66,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1954,
                "expected_assists": 0.0827,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 74,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7256,
                "expected_assists": 0.0381,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 34,
                "accurate_pass": 31,
                "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": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 30,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0384,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "interceptions": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0325,
                "expected_assists": 0.1948,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 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": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3792,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 26,
                "key_pass": 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": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0329,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.053,
                "expected_assists": 0.013,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 17,
                "accurate_pass": 14,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2717,
                "expected_assists": 0.0127,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3133,
            "combined_rank_score": 1100.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 229.0,
            "sofascore_rating": 7.15,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1972.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0302,
            "source_file": "data/player_rankings.csv",
            "player_name": "Robert Navarro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Diego Conde",
                  "ranking": 3128
                },
                {
                  "player_name": "Lawrence Shankland",
                  "ranking": 3129
                },
                {
                  "player_name": "Cameron Carter-Vickers",
                  "ranking": 3130
                },
                {
                  "player_name": "Patrick Wimmer",
                  "ranking": 3131
                },
                {
                  "player_name": "Thomas Lemar",
                  "ranking": 3132
                }
              ],
              "lower": [
                {
                  "player_name": "Luka Sučić",
                  "ranking": 3134
                },
                {
                  "player_name": "Che Adams",
                  "ranking": 3135
                },
                {
                  "player_name": "Carlos Vicente",
                  "ranking": 3136
                },
                {
                  "player_name": "Lautaro Di Lollo",
                  "ranking": 3137
                },
                {
                  "player_name": "Hugo Larsson",
                  "ranking": 3138
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 37,
          "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": 37,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9996,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 37 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.2022,
                "goals": 0.2739,
                "goal_rate": 0.2739,
                "shots_on_target": 0.6538,
                "total_shots": 1.9593,
                "expected_assists": 0.1584,
                "key_pass": 1.5532,
                "rating": 7.0302,
                "minutes": 73.23,
                "total_pass": 22.3734,
                "accurate_pass": 18.3333,
                "duels_won": 2.7505,
                "total_long_balls": 1.0138,
                "accurate_long_balls": 0.2995,
                "total_opp_half_passes": 17.0226,
                "accurate_opp_half_passes": 13.5455,
                "crosses_total": 3.3232,
                "crosses_accurate": 1.1755,
                "touches": 38.2431,
                "possession_lost": 9.8303,
                "dispossessed": 0.7855,
                "duels_lost": 3.8144,
                "aerial_lost": 1.2238,
                "total_contest": 1.9785,
                "won_contest": 1.0687,
                "ball_recovery": 3.2229,
                "challenges_lost": 0.371,
                "fouls": 0.5243,
                "fouls_drawn": 0.4961,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.826,
                "tackles_won": 0.5327,
                "tackles": 1.0627,
                "clearances": 0.307,
                "blocks": 0.0,
                "big_chances_created": 0.1493,
                "big_chances_missed": 0.1669,
                "xgot": 0.3528,
                "offsides": 0.028,
                "ball_carries": 13.278,
                "total_progression": 48.6158,
                "progressive_carries": 2.7321,
                "shots_off_target": 1.3055
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 15.9447,
                  "expectedGoals": 0.1797,
                  "accurateOppositionHalfPasses": 12.9269,
                  "accuratePass": 16.8974,
                  "totalShots": 1.4427
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2021958976984024,
                    "model_output": 0.2022,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0686
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0243
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0206
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0113
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0092
                        }
                      ],
                      "others": -0.0169,
                      "total": 0.2022,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.298165
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.095905
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.088976
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.052399
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.043009
                        }
                      ],
                      "others_margin": -0.080495
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.273915559053421,
                    "model_output": 0.2739,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0785
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0255
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0226
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0145
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0071
                        }
                      ],
                      "others": -0.0325,
                      "total": 0.2739,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.326368
                        },
                        {
                          "name": "goals",
                          "margin": 0.086589
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.07623
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.049554
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.023611
                        }
                      ],
                      "others_margin": -0.112039
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6537617444992065,
                    "model_output": 0.6538,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1851
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0673
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.018
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0177
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0147
                        }
                      ],
                      "others": -0.0166,
                      "total": 0.6538,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.295861
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.097688
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.027102
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.026558
                        },
                        {
                          "name": "goals",
                          "margin": 0.022227
                        }
                      ],
                      "others_margin": -0.025407
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.9592406749725342,
                    "model_output": 1.9592,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4898
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0711
                        },
                        {
                          "name": "goals",
                          "contribution": 0.051
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0399
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0279
                        }
                      ],
                      "others": 0.0479,
                      "total": 1.9592,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.489837
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.071072
                        },
                        {
                          "name": "goals",
                          "margin": 0.050975
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.039892
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.027852
                        }
                      ],
                      "others_margin": 0.047918
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.15836457908153534,
                    "model_output": 0.1584,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0135
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0138
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0111
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0089
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0057
                        }
                      ],
                      "others": 0.0412,
                      "total": 0.1584,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.190619
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.163793
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.114298
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.082962
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.049595
                        }
                      ],
                      "others_margin": 0.301388
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.5532197952270508,
                    "model_output": 1.5532,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.175
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1148
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1113
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0764
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.055
                        }
                      ],
                      "others": 0.3473,
                      "total": 1.5532,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.231074
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.126949
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.109335
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.068705
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.046706
                        }
                      ],
                      "others_margin": 0.253023
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.030214309692383,
                    "model_output": 7.0302,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.083
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0815
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0375
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0259
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0179
                        }
                      ],
                      "others": 0.0532,
                      "total": 7.0302,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.083045
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.081464
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.037533
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.025888
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.017877
                        }
                      ],
                      "others_margin": 0.05316
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "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.9996, quality 0.493)",
              "stats": {
                "expected_goals": 0.2021,
                "goals": 0.2738,
                "goal_rate": 0.2738,
                "shots_on_target": 0.6535,
                "total_shots": 1.9585,
                "expected_assists": 0.1583,
                "key_pass": 1.5526,
                "rating": 7.0302,
                "minutes": 73.23,
                "total_pass": 22.3645,
                "accurate_pass": 18.326,
                "duels_won": 2.7494,
                "total_long_balls": 1.0134,
                "accurate_long_balls": 0.2994,
                "total_opp_half_passes": 17.0158,
                "accurate_opp_half_passes": 13.5401,
                "crosses_total": 3.3219,
                "crosses_accurate": 1.175,
                "touches": 38.2278,
                "possession_lost": 9.8264,
                "dispossessed": 0.7852,
                "duels_lost": 3.8129,
                "aerial_lost": 1.2233,
                "total_contest": 1.9777,
                "won_contest": 1.0683,
                "ball_recovery": 3.2216,
                "challenges_lost": 0.3709,
                "fouls": 0.5241,
                "fouls_drawn": 0.4959,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.8257,
                "tackles_won": 0.5325,
                "tackles": 1.0623,
                "clearances": 0.3069,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1668,
                "xgot": 0.3527,
                "offsides": 0.028,
                "ball_carries": 13.2727,
                "total_progression": 48.5964,
                "progressive_carries": 2.731,
                "shots_off_target": 1.305
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9996,
                "reference_quality": 0.505,
                "history_matches": 37,
                "history_shrink": 0.119,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2021,
                "goals": 0.2738,
                "goal_rate": 0.2738,
                "shots_on_target": 0.6535,
                "total_shots": 1.9585,
                "expected_assists": 0.1583,
                "key_pass": 1.5526,
                "rating": 7.0302,
                "minutes": 73.23,
                "total_pass": 22.3645,
                "accurate_pass": 18.326,
                "duels_won": 2.7494,
                "total_long_balls": 1.0134,
                "accurate_long_balls": 0.2994,
                "total_opp_half_passes": 17.0158,
                "accurate_opp_half_passes": 13.5401,
                "crosses_total": 3.3219,
                "crosses_accurate": 1.175,
                "touches": 38.2278,
                "possession_lost": 9.8264,
                "dispossessed": 0.7852,
                "duels_lost": 3.8129,
                "aerial_lost": 1.2233,
                "total_contest": 1.9777,
                "won_contest": 1.0683,
                "ball_recovery": 3.2216,
                "challenges_lost": 0.3709,
                "fouls": 0.5241,
                "fouls_drawn": 0.4959,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.8257,
                "tackles_won": 0.5325,
                "tackles": 1.0623,
                "clearances": 0.3069,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1668,
                "xgot": 0.3527,
                "offsides": 0.028,
                "ball_carries": 13.2727,
                "total_progression": 48.5964,
                "progressive_carries": 2.731,
                "shots_off_target": 1.305
              },
              "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.187,
                "goals": 0.2533,
                "goal_rate": 0.2533,
                "shots_on_target": 0.6046,
                "total_shots": 1.8119,
                "expected_assists": 0.1583,
                "key_pass": 1.5526,
                "rating": 7.0302,
                "minutes": 73.23,
                "total_pass": 22.3645,
                "accurate_pass": 18.326,
                "duels_won": 2.7494,
                "total_long_balls": 1.0134,
                "accurate_long_balls": 0.2994,
                "total_opp_half_passes": 17.0158,
                "accurate_opp_half_passes": 13.5401,
                "crosses_total": 3.3219,
                "crosses_accurate": 1.175,
                "touches": 38.2278,
                "possession_lost": 9.8264,
                "dispossessed": 0.7852,
                "duels_lost": 3.8129,
                "aerial_lost": 1.2233,
                "total_contest": 1.9777,
                "won_contest": 1.0683,
                "ball_recovery": 3.2216,
                "challenges_lost": 0.3709,
                "fouls": 0.5241,
                "fouls_drawn": 0.4959,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.8257,
                "tackles_won": 0.5325,
                "tackles": 1.0623,
                "clearances": 0.3069,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1543,
                "xgot": 0.3263,
                "offsides": 0.028,
                "ball_carries": 13.2727,
                "total_progression": 48.5964,
                "progressive_carries": 2.731,
                "shots_off_target": 1.2073,
                "duel_xg_multiplier": 0.9251,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9251,
                  "skill_edge": 0.005,
                  "height_edge": -0.056,
                  "attacker_skill": 0.4927,
                  "defender_skill": 0.4815,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Justin De Haas",
                      "market_value": 7700000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5256
                    },
                    {
                      "player": "Mouctar Diakhaby",
                      "market_value": 1500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.187
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.9585,
                  "after": 1.8119
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.305,
                  "after": 1.2073
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6535,
                  "after": 0.6046
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.3527,
                  "after": 0.3263
                },
                {
                  "stat": "goals",
                  "before": 0.2738,
                  "after": 0.2533
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2021,
                  "after": 0.187
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1668,
                  "after": 0.1543
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.187,
                "goal_rate": 0.2533,
                "goals": 0,
                "shots_on_target": 0.6046,
                "total_shots": 1.8119,
                "expected_assists": 0.1583,
                "key_pass": 1.5526,
                "rating": 7.0302,
                "minutes": 73.23,
                "total_pass": 22.3645,
                "accurate_pass": 18.326,
                "duels_won": 2.7494,
                "total_long_balls": 1.0134,
                "accurate_long_balls": 0.2994,
                "total_opp_half_passes": 17.0158,
                "accurate_opp_half_passes": 13.5401,
                "crosses_total": 3.3219,
                "crosses_accurate": 1.175,
                "touches": 38.2278,
                "possession_lost": 9.8264,
                "dispossessed": 0.7852,
                "duels_lost": 3.8129,
                "aerial_lost": 1.2233,
                "total_contest": 1.9777,
                "won_contest": 1.0683,
                "ball_recovery": 3.2216,
                "challenges_lost": 0.3709,
                "fouls": 0.5241,
                "fouls_drawn": 0.4959,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.8257,
                "tackles_won": 0.5325,
                "tackles": 1.0623,
                "clearances": 0.3069,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1543,
                "xgot": 0.3263,
                "offsides": 0.028,
                "ball_carries": 13.2727,
                "total_progression": 48.5964,
                "progressive_carries": 2.731,
                "shots_off_target": 1.2073,
                "duel_xg_multiplier": 0.9251,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.1801,
                "goal_rate": 0.2533,
                "goals": 0,
                "shots_on_target": 0.6046,
                "total_shots": 1.8119,
                "expected_assists": 0.1332,
                "key_pass": 1.5526,
                "rating": 7.0302,
                "minutes": 73.23,
                "total_pass": 22.3645,
                "accurate_pass": 18.326,
                "duels_won": 2.7494,
                "total_long_balls": 1.0134,
                "accurate_long_balls": 0.2994,
                "total_opp_half_passes": 17.0158,
                "accurate_opp_half_passes": 13.5401,
                "crosses_total": 3.3219,
                "crosses_accurate": 1.175,
                "touches": 38.2278,
                "possession_lost": 9.8264,
                "dispossessed": 0.7852,
                "duels_lost": 3.8129,
                "aerial_lost": 1.2233,
                "total_contest": 1.9777,
                "won_contest": 1.0683,
                "ball_recovery": 3.2216,
                "challenges_lost": 0.3709,
                "fouls": 0.5241,
                "fouls_drawn": 0.4959,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.8257,
                "tackles_won": 0.5325,
                "tackles": 1.0623,
                "clearances": 0.3069,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1543,
                "xgot": 0.3142,
                "offsides": 0.028,
                "ball_carries": 13.2727,
                "total_progression": 48.5964,
                "progressive_carries": 2.731,
                "shots_off_target": 1.2073,
                "duel_xg_multiplier": 0.9251,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.187,
                  "after": 0.1801
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1583,
                  "after": 0.1332
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 76.0)",
              "stats": {
                "expected_goals": 0.1801,
                "goal_rate": 0.2533,
                "goals": 0,
                "shots_on_target": 0.6046,
                "total_shots": 1.8119,
                "expected_assists": 0.1332,
                "key_pass": 1.5526,
                "rating": 7.0302,
                "minutes": 73.23,
                "total_pass": 22.3645,
                "accurate_pass": 18.326,
                "duels_won": 2.7494,
                "total_long_balls": 1.0134,
                "accurate_long_balls": 0.2994,
                "total_opp_half_passes": 17.0158,
                "accurate_opp_half_passes": 13.5401,
                "crosses_total": 3.3219,
                "crosses_accurate": 1.175,
                "touches": 38.2278,
                "possession_lost": 9.8264,
                "dispossessed": 0.7852,
                "duels_lost": 3.8129,
                "aerial_lost": 1.2233,
                "total_contest": 1.9777,
                "won_contest": 1.0683,
                "ball_recovery": 3.2216,
                "challenges_lost": 0.3709,
                "fouls": 0.5241,
                "fouls_drawn": 0.4959,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.8257,
                "tackles_won": 0.5325,
                "tackles": 1.0623,
                "clearances": 0.3069,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1543,
                "xgot": 0.3142,
                "offsides": 0.028,
                "ball_carries": 13.2727,
                "total_progression": 48.5964,
                "progressive_carries": 2.731,
                "shots_off_target": 1.2073,
                "duel_xg_multiplier": 0.9251,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 76.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": 3133,
                "fifa_rank": 1972.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1801,
                "goal_rate": 0.2533,
                "goals": 0,
                "shots_on_target": 0.6046,
                "total_shots": 1.8119,
                "expected_assists": 0.1332,
                "key_pass": 1.5526,
                "rating": 7.0302,
                "minutes": 73.23,
                "total_pass": 22.3645,
                "accurate_pass": 18.326,
                "duels_won": 2.7494,
                "total_long_balls": 1.0134,
                "accurate_long_balls": 0.2994,
                "total_opp_half_passes": 17.0158,
                "accurate_opp_half_passes": 13.5401,
                "crosses_total": 3.3219,
                "crosses_accurate": 1.175,
                "touches": 38.2278,
                "possession_lost": 9.8264,
                "dispossessed": 0.7852,
                "duels_lost": 3.8129,
                "aerial_lost": 1.2233,
                "total_contest": 1.9777,
                "won_contest": 1.0683,
                "ball_recovery": 3.2216,
                "challenges_lost": 0.3709,
                "fouls": 0.5241,
                "fouls_drawn": 0.4959,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.8257,
                "tackles_won": 0.5325,
                "tackles": 1.0623,
                "clearances": 0.3069,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1543,
                "xgot": 0.3142,
                "offsides": 0.028,
                "ball_carries": 13.2727,
                "total_progression": 48.5964,
                "progressive_carries": 2.731,
                "shots_off_target": 1.2073,
                "duel_xg_multiplier": 0.9251,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1648,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1648,
                "goal_rate": 0.2533,
                "scorer_weight": 0.2251,
                "squad_weight_total": 1.0881,
                "weight_share": 0.2069,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1801,
                "goal_rate": 0.2533,
                "goals": 0,
                "shots_on_target": 0.6046,
                "total_shots": 1.8119,
                "expected_assists": 0.1332,
                "key_pass": 1.5526,
                "rating": 7.0302,
                "minutes": 73.23,
                "total_pass": 22.3645,
                "accurate_pass": 18.326,
                "duels_won": 2.7494,
                "total_long_balls": 1.0134,
                "accurate_long_balls": 0.2994,
                "total_opp_half_passes": 17.0158,
                "accurate_opp_half_passes": 13.5401,
                "crosses_total": 3.3219,
                "crosses_accurate": 1.175,
                "touches": 38.2278,
                "possession_lost": 9.8264,
                "dispossessed": 0.7852,
                "duels_lost": 3.8129,
                "aerial_lost": 1.2233,
                "total_contest": 1.9777,
                "won_contest": 1.0683,
                "ball_recovery": 3.2216,
                "challenges_lost": 0.3709,
                "fouls": 0.5241,
                "fouls_drawn": 0.4959,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.8257,
                "tackles_won": 0.5325,
                "tackles": 1.0623,
                "clearances": 0.3069,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1543,
                "xgot": 0.3142,
                "offsides": 0.028,
                "ball_carries": 13.2727,
                "total_progression": 48.5964,
                "progressive_carries": 2.731,
                "shots_off_target": 1.2073,
                "duel_xg_multiplier": 0.9251,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1648,
                "projected_assists": 0,
                "assist_probability": 0.1247,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1247,
                "assist_rate": 0.0,
                "provider_weight": 0.1066,
                "squad_weight_total": 0.7312,
                "weight_share": 0.1457,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12
              }
            }
          ]
        },
        "Iñigo Ruiz de Galarreta": {
          "player_id": 96365,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 16,
          "height": 174,
          "market_value": 1800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1387,
            "assist_rate": 0.1,
            "assists": 0,
            "expected_goals": 0.0456,
            "goal_rate": 0.0464,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.1027,
            "minutes": 72,
            "total_pass": 46,
            "accurate_pass": 39,
            "duels_won": 5,
            "total_long_balls": 5,
            "accurate_long_balls": 2,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 31,
            "accurate_opp_half_passes": 25,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 61,
            "possession_lost": 11.6136,
            "dispossessed": 0.9805,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.002,
            "ball_carries": 16,
            "total_progression": 44,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9252,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.369,
            "pressing_faced": "LOW",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Guido Rodríguez",
            "opponent_faced": "Guido Rodríguez",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0446,
            "projected_assists": 0,
            "assist_probability": 0.1295,
            "finishing_factor": 0.9897,
            "creation_factor": 0.8,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0725,
                "expected_assists": 0.056,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 85,
                "accurate_pass": 75,
                "key_pass": 2,
                "tackles": 3,
                "interceptions": 2,
                "aerial_won": 3,
                "duels_won": 12,
                "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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0369,
                "expected_assists": 0.0268,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 45,
                "accurate_pass": 35,
                "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": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1595,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 29,
                "key_pass": 1,
                "interceptions": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 65,
                "rating": 7.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0321,
                "expected_assists": 0.5762,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 41,
                "key_pass": 3,
                "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": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 14,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0168,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.011,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 15,
                "interceptions": 2,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.6101,
                "total_shots": 0,
                "total_pass": 79,
                "accurate_pass": 69,
                "key_pass": 4,
                "interceptions": 2,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 12
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 63,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3752,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "key_pass": 3,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0165,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 70,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.243,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 27,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 711,
            "combined_rank_score": 385.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 342.0,
            "sofascore_rating": 6.9912,
            "sofascore_appearances": 34.0,
            "fifa_rank": 429.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1027,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iñigo Ruiz de Galarreta",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bradley Barcola",
                  "ranking": 706
                },
                {
                  "player_name": "Luka Jovanovic",
                  "ranking": 707
                },
                {
                  "player_name": "Jung-won Choi",
                  "ranking": 708
                },
                {
                  "player_name": "Cristhofer Mesías",
                  "ranking": 709
                },
                {
                  "player_name": "Luis Javier Suárez",
                  "ranking": 710
                }
              ],
              "lower": [
                {
                  "player_name": "Javokhir Roziyev",
                  "ranking": 712
                },
                {
                  "player_name": "Victor Froholdt",
                  "ranking": 713
                },
                {
                  "player_name": "Koke",
                  "ranking": 714
                },
                {
                  "player_name": "Aleksandar Vojnović",
                  "ranking": 715
                },
                {
                  "player_name": "Ørjan Nyland",
                  "ranking": 716
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.758,
          "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.758,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 72.0,
              "goals_per90": 0.0,
              "assists_per90": 1.25,
              "shots_per90": 1.25,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 39 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.05, gls/90: 0.0, ast/90: 1.25)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.4217,
                "expected_assists": 0.1652,
                "assists": 0.0967,
                "assist_rate": 0.0967,
                "expected_goals": 0.0513,
                "goals": 0.0504,
                "goal_rate": 0.0504,
                "shots_on_target": 0.2517,
                "total_shots": 0.9931,
                "rating": 7.1027,
                "minutes": 71.55,
                "total_pass": 46.2418,
                "accurate_pass": 39.1435,
                "duels_won": 4.7296,
                "total_long_balls": 4.6571,
                "accurate_long_balls": 2.3634,
                "total_own_half_passes": 15.3661,
                "accurate_own_half_passes": 14.3617,
                "total_opp_half_passes": 30.8757,
                "accurate_opp_half_passes": 24.7818,
                "crosses_total": 2.4912,
                "crosses_accurate": 0.671,
                "touches": 60.6657,
                "possession_lost": 11.6404,
                "dispossessed": 0.9828,
                "duels_lost": 4.7023,
                "aerial_won": 0.9863,
                "aerial_lost": 0.5197,
                "interceptions": 1.2748,
                "tackles_won": 0.4892,
                "tackles": 1.2663,
                "clearances": 0.4597,
                "total_contest": 1.7008,
                "won_contest": 1.0756,
                "challenges_lost": 0.8973,
                "fouls": 1.7432,
                "fouls_drawn": 1.4014,
                "blocks": 0.0928,
                "big_chances_created": 0.2922,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 15.9235,
                "total_progression": 43.6428,
                "progressive_carries": 0.7028,
                "shots_off_target": 0.7414
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.8446,
                  "creative_index": 0.6256,
                  "expectedGoals": 0.0236,
                  "expectedAssists": 0.1672,
                  "onTargetScoringAttempt": 0.0118
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.4216617345809937,
                    "model_output": 1.4217,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1277
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1048
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0939
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0509
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0351
                        }
                      ],
                      "others": 0.1163,
                      "total": 1.4217,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133645
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.097756
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.080103
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.040931
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.027269
                        }
                      ],
                      "others_margin": 0.085311
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.16516263782978058,
                    "model_output": 0.1652,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0129
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0142
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0146
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0057
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.005
                        }
                      ],
                      "others": 0.0272,
                      "total": 0.1652,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.140499
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.134553
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121642
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.043735
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.037
                        }
                      ],
                      "others_margin": 0.179349
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09674204140901566,
                    "model_output": 0.0967,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0064
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0068
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0071
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0051
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0043
                        }
                      ],
                      "others": -0.01,
                      "total": 0.0967,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.070375
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.070144
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.068025
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.049097
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.041219
                        }
                      ],
                      "others_margin": -0.097301
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05127226188778877,
                    "model_output": 0.0513,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0336
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0072
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0044
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.0513,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.441181
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.126467
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112411
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.070231
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.044412
                        }
                      ],
                      "others_margin": -0.179862
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.050435520708560944,
                    "model_output": 0.0504,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0215
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0125
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0103
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0054
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0044,
                      "total": 0.0504,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.248617
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.179311
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.17563
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.096581
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.07219
                        }
                      ],
                      "others_margin": -0.082947
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.25168362259864807,
                    "model_output": 0.2517,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0558
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0402
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0322
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0241
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.0238,
                      "total": 0.2517,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.187939
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.161166
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.131038
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.087983
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.037492
                        }
                      ],
                      "others_margin": -0.090318
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9930717349052429,
                    "model_output": 0.9931,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1429
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0706
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0701
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0453
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0417
                        }
                      ],
                      "others": -0.0588,
                      "total": 0.9931,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.14294
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.070643
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.070115
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.045277
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.04165
                        }
                      ],
                      "others_margin": -0.059005
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.102681636810303,
                    "model_output": 7.1027,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1196
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.034
                        },
                        {
                          "name": "rating",
                          "contribution": 0.028
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.027
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0197
                        }
                      ],
                      "others": 0.0213,
                      "total": 7.1027,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.119572
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.033951
                        },
                        {
                          "name": "rating",
                          "margin": 0.028049
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.026995
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.019715
                        }
                      ],
                      "others_margin": 0.021344
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 34,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9977, quality 0.437)",
              "stats": {
                "key_pass": 1.4184,
                "expected_assists": 0.1648,
                "assists": 0.0965,
                "assist_rate": 0.0965,
                "expected_goals": 0.0512,
                "goals": 0.0503,
                "goal_rate": 0.0503,
                "shots_on_target": 0.2511,
                "total_shots": 0.9908,
                "rating": 7.1027,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4855,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.984,
                "aerial_lost": 0.5185,
                "interceptions": 1.2719,
                "tackles_won": 0.4881,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.7392,
                "fouls_drawn": 1.3982,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7397
              },
              "params": {
                "market_value_eur": 1800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0039)",
              "stats": {
                "key_pass": 1.4184,
                "expected_assists": 0.1648,
                "assists": 0.1,
                "assist_rate": 0.1,
                "expected_goals": 0.0512,
                "goals": 0.0501,
                "goal_rate": 0.0501,
                "shots_on_target": 0.2501,
                "total_shots": 0.9908,
                "rating": 7.1027,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.984,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7397
              },
              "params": {
                "blend_weight": 0.0039,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.795,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.7392,
                  "after": 1.748
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.4184,
                "expected_assists": 0.1648,
                "assists": 0.1,
                "assist_rate": 0.1,
                "expected_goals": 0.0512,
                "goals": 0.0501,
                "goal_rate": 0.0501,
                "shots_on_target": 0.2501,
                "total_shots": 0.9908,
                "rating": 7.1027,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.984,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7397
              },
              "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.4184,
                "expected_assists": 0.1648,
                "assists": 0.1,
                "assist_rate": 0.1,
                "expected_goals": 0.0474,
                "goals": 0.0464,
                "goal_rate": 0.0464,
                "shots_on_target": 0.2314,
                "total_shots": 0.9167,
                "rating": 7.1027,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0021,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.6844,
                "duel_xg_multiplier": 0.9252,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.369,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Guido Rodríguez",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.369,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9252,
                  "skill_edge": -0.0069,
                  "height_edge": -0.044,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4527,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Guido Rodríguez",
                      "market_value": 3600000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4527
                    }
                  ],
                  "xg_override": 0.0474
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.984,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.9908,
                  "after": 0.9167
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7397,
                  "after": 0.6844
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2501,
                  "after": 0.2314
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.4184,
                "expected_assists": 0.1648,
                "assist_rate": 0.1,
                "assists": 0,
                "expected_goals": 0.0474,
                "goal_rate": 0.0464,
                "goals": 0,
                "shots_on_target": 0.2314,
                "total_shots": 0.9167,
                "rating": 7.1027,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0021,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.6844,
                "duel_xg_multiplier": 0.9252,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.369,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.4184,
                "expected_assists": 0.1387,
                "assist_rate": 0.1,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0464,
                "goals": 0,
                "shots_on_target": 0.2314,
                "total_shots": 0.9167,
                "rating": 7.1027,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.6844,
                "duel_xg_multiplier": 0.9252,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.369,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9897,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1648,
                  "after": 0.1387
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 82.0)",
              "stats": {
                "key_pass": 1.4184,
                "expected_assists": 0.1387,
                "assist_rate": 0.1,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0464,
                "goals": 0,
                "shots_on_target": 0.2314,
                "total_shots": 0.9167,
                "rating": 7.1027,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.6844,
                "duel_xg_multiplier": 0.9252,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.369,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9897,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 711,
                "fifa_rank": 429.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.4184,
                "expected_assists": 0.1387,
                "assist_rate": 0.1,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0464,
                "goals": 0,
                "shots_on_target": 0.2314,
                "total_shots": 0.9167,
                "rating": 7.1027,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.6844,
                "duel_xg_multiplier": 0.9252,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.369,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0446,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9897,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0446,
                "goal_rate": 0.0464,
                "scorer_weight": 0.0451,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0415,
                "finishing_factor": 0.9897,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1.4184,
                "expected_assists": 0.1387,
                "assist_rate": 0.1,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0464,
                "goals": 0,
                "shots_on_target": 0.2314,
                "total_shots": 0.9167,
                "rating": 7.1027,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.6844,
                "duel_xg_multiplier": 0.9252,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.369,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0446,
                "projected_assists": 0,
                "assist_probability": 0.1295,
                "finishing_factor": 0.9897,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1295,
                "assist_rate": 0.1,
                "provider_weight": 0.111,
                "squad_weight_total": 0.7312,
                "weight_share": 0.1518,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12
              }
            }
          ]
        },
        "Beñat Gerenabarrena": {
          "player_id": 1171619,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 24,
          "height": 173,
          "market_value": 5200000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0401,
            "assist_rate": 0.0699,
            "assists": 0,
            "expected_goals": 0.0283,
            "goal_rate": 0.0383,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.825,
            "minutes": 88,
            "total_pass": 39,
            "accurate_pass": 34,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 17,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 53,
            "possession_lost": 9.0084,
            "dispossessed": 0.2253,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 3,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 2,
            "fouls": 3,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0118,
            "ball_carries": 11,
            "total_progression": 38,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.9447,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.382,
            "pressing_faced": "LOW",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Guido Rodríguez",
            "opponent_faced": "Guido Rodríguez",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0279,
            "projected_assists": 0,
            "assist_probability": 0.0393,
            "finishing_factor": 1.1121,
            "creation_factor": 1.2285,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0187,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 40,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 19,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 4,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0176,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 44,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "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": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 20,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1869,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 10,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 83,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.0182,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 41,
                "accurate_pass": 33,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 4,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1747,
            "combined_rank_score": 696.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 3.0,
            "fifa_rank": 694.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.825,
            "source_file": "data/player_rankings.csv",
            "player_name": "Beñat Gerenabarrena",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vicente Vega",
                  "ranking": 1742
                },
                {
                  "player_name": "Enes Mahmutović",
                  "ranking": 1743
                },
                {
                  "player_name": "Ľubomír Šatka",
                  "ranking": 1744
                },
                {
                  "player_name": "Myeong-heui Choi",
                  "ranking": 1745
                },
                {
                  "player_name": "Ku Hyun-jun",
                  "ranking": 1746
                }
              ],
              "lower": [
                {
                  "player_name": "Kauã Moraes",
                  "ranking": 1748
                },
                {
                  "player_name": "Tomás Rincón",
                  "ranking": 1749
                },
                {
                  "player_name": "Wilker Ángel",
                  "ranking": 1750
                },
                {
                  "player_name": "Damion Lowe",
                  "ranking": 1751
                },
                {
                  "player_name": "Michael Hector",
                  "ranking": 1752
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.584,
          "history_matches": 5,
          "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": 5,
            "data_confidence": 0.584,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9939,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 193.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.47,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.14
            },
            "rationale": "XGBoost regressor (M_service) evaluated 5 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.14, 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.6165,
                "expected_assists": 0.0479,
                "assists": 0.0737,
                "assist_rate": 0.0737,
                "expected_goals": 0.0313,
                "goals": 0.0427,
                "goal_rate": 0.0427,
                "shots_on_target": 0.1357,
                "total_shots": 0.5104,
                "rating": 6.825,
                "minutes": 87.77,
                "total_pass": 39.7087,
                "accurate_pass": 33.9564,
                "duels_won": 4.5251,
                "total_long_balls": 2.0471,
                "accurate_long_balls": 1.1682,
                "total_own_half_passes": 18.8818,
                "accurate_own_half_passes": 17.2027,
                "total_opp_half_passes": 20.8268,
                "accurate_opp_half_passes": 16.7536,
                "crosses_total": 1.2643,
                "crosses_accurate": 0.0,
                "touches": 53.6367,
                "possession_lost": 9.0637,
                "dispossessed": 0.2267,
                "duels_lost": 4.3399,
                "aerial_won": 0.96,
                "aerial_lost": 0.0,
                "interceptions": 2.6051,
                "tackles_won": 1.8789,
                "tackles": 2.3724,
                "clearances": 0.4935,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6676,
                "fouls": 2.6723,
                "fouls_drawn": 1.1927,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0131,
                "ball_carries": 10.7123,
                "total_progression": 37.9053,
                "progressive_carries": 0.6276,
                "shots_off_target": 0.3747
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1656,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.1408,
                  "creative_index": 0.092,
                  "expectedGoals": 0.0044,
                  "expectedAssists": 0.0429,
                  "onTargetScoringAttempt": 0.1408
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6164940595626831,
                    "model_output": 0.6165,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1181
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0918
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0734
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0537
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0377
                        }
                      ],
                      "others": -0.2134,
                      "total": 0.6165,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.124171
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.095204
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.083189
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065534
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.046541
                        }
                      ],
                      "others_margin": -0.297304
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.047883372753858566,
                    "model_output": 0.0479,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0114
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0099
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.009
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0041
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.0193,
                      "total": 0.0479,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.143268
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124919
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.113722
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.056375
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.055131
                        }
                      ],
                      "others_margin": -0.337808
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07368569076061249,
                    "model_output": 0.0737,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0083
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0073
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0068
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0063
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0052
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.0737,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.090991
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.079685
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.0742
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.068407
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.060462
                        }
                      ],
                      "others_margin": -0.125511
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.031333133578300476,
                    "model_output": 0.0313,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0373
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0128
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0057
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0054
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0053
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.0313,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.503147
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.254111
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.139213
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.130713
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.127927
                        }
                      ],
                      "others_margin": -0.208068
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.042658016085624695,
                    "model_output": 0.0427,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0206
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0148
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0071
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0055
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0052
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0427,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.23626
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.212916
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.120966
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.104567
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.100164
                        }
                      ],
                      "others_margin": -0.255047
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.13571763038635254,
                    "model_output": 0.1357,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.084
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0518
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0391
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0199
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.019
                        }
                      ],
                      "others": -0.016,
                      "total": 0.1357,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.29816
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.241293
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.230621
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124006
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.118092
                        }
                      ],
                      "others_margin": -0.11133
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5104444622993469,
                    "model_output": 0.5104,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2728
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1182
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0583
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0534
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0374
                        }
                      ],
                      "others": -0.1814,
                      "total": 0.5104,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.272781
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118224
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.058278
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.053394
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.037355
                        }
                      ],
                      "others_margin": -0.181506
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.824971675872803,
                    "model_output": 6.825,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0316
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0279
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0252
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0186
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0165
                        }
                      ],
                      "others": -0.0475,
                      "total": 6.825,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.03161
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.027912
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.025169
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.018596
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.016511
                        }
                      ],
                      "others_margin": -0.04747
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 5,
                  "role_matches": 4,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9939, quality 0.465)",
              "stats": {
                "key_pass": 0.6127,
                "expected_assists": 0.0476,
                "assists": 0.0732,
                "assist_rate": 0.0732,
                "expected_goals": 0.0311,
                "goals": 0.0424,
                "goal_rate": 0.0424,
                "shots_on_target": 0.1349,
                "total_shots": 0.5073,
                "rating": 6.825,
                "minutes": 87.77,
                "total_pass": 39.4665,
                "accurate_pass": 33.7493,
                "duels_won": 4.4975,
                "total_long_balls": 2.0346,
                "accurate_long_balls": 1.1611,
                "total_own_half_passes": 18.7666,
                "accurate_own_half_passes": 17.0978,
                "total_opp_half_passes": 20.6998,
                "accurate_opp_half_passes": 16.6514,
                "crosses_total": 1.2566,
                "crosses_accurate": 0.0,
                "touches": 53.3095,
                "possession_lost": 9.0084,
                "dispossessed": 0.2253,
                "duels_lost": 4.3134,
                "aerial_won": 0.9541,
                "aerial_lost": 0.0,
                "interceptions": 2.5892,
                "tackles_won": 1.8674,
                "tackles": 2.3579,
                "clearances": 0.4905,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6574,
                "fouls": 2.656,
                "fouls_drawn": 1.1854,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.013,
                "ball_carries": 10.647,
                "total_progression": 37.6741,
                "progressive_carries": 0.6238,
                "shots_off_target": 0.3724
              },
              "params": {
                "market_value_eur": 5200000,
                "quality_factor": 0.4646,
                "boost_factor": 0.9939,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0455)",
              "stats": {
                "key_pass": 0.6127,
                "expected_assists": 0.0476,
                "assists": 0.0699,
                "assist_rate": 0.0699,
                "expected_goals": 0.0311,
                "goals": 0.0405,
                "goal_rate": 0.0405,
                "shots_on_target": 0.1496,
                "total_shots": 0.5051,
                "rating": 6.825,
                "minutes": 87.77,
                "total_pass": 39.4665,
                "accurate_pass": 33.7493,
                "duels_won": 4.4975,
                "total_long_balls": 2.0346,
                "accurate_long_balls": 1.1611,
                "total_own_half_passes": 18.7666,
                "accurate_own_half_passes": 17.0978,
                "total_opp_half_passes": 20.6998,
                "accurate_opp_half_passes": 16.6514,
                "crosses_total": 1.3262,
                "crosses_accurate": 0.0,
                "touches": 53.3095,
                "possession_lost": 9.0084,
                "dispossessed": 0.2253,
                "duels_lost": 4.3134,
                "aerial_won": 0.9541,
                "aerial_lost": 0.0,
                "interceptions": 2.6193,
                "tackles_won": 1.8881,
                "tackles": 2.3579,
                "clearances": 0.4905,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6574,
                "fouls": 2.6831,
                "fouls_drawn": 1.216,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.013,
                "ball_carries": 10.647,
                "total_progression": 37.6741,
                "progressive_carries": 0.6238,
                "shots_off_target": 0.3724
              },
              "params": {
                "blend_weight": 0.0455,
                "history_matches": 5,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9752,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.2566,
                  "after": 1.3262
                },
                {
                  "stat": "wasFouled",
                  "before": 1.1854,
                  "after": 1.216
                },
                {
                  "stat": "interceptionWon",
                  "before": 2.5892,
                  "after": 2.6193
                },
                {
                  "stat": "fouls",
                  "before": 2.656,
                  "after": 2.6831
                },
                {
                  "stat": "wonTackle",
                  "before": 1.8674,
                  "after": 1.8881
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1349,
                  "after": 0.1496
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6127,
                "expected_assists": 0.0476,
                "assists": 0.0699,
                "assist_rate": 0.0699,
                "expected_goals": 0.0311,
                "goals": 0.0405,
                "goal_rate": 0.0405,
                "shots_on_target": 0.1496,
                "total_shots": 0.522,
                "rating": 6.825,
                "minutes": 87.77,
                "total_pass": 39.4665,
                "accurate_pass": 33.7493,
                "duels_won": 4.4975,
                "total_long_balls": 2.0346,
                "accurate_long_balls": 1.1611,
                "total_own_half_passes": 18.7666,
                "accurate_own_half_passes": 17.0978,
                "total_opp_half_passes": 20.6998,
                "accurate_opp_half_passes": 16.6514,
                "crosses_total": 1.3262,
                "crosses_accurate": 0.0,
                "touches": 53.3095,
                "possession_lost": 9.0084,
                "dispossessed": 0.2253,
                "duels_lost": 4.3134,
                "aerial_won": 0.9541,
                "aerial_lost": 0.0,
                "interceptions": 2.6193,
                "tackles_won": 1.8881,
                "tackles": 2.3579,
                "clearances": 0.4905,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6574,
                "fouls": 2.6831,
                "fouls_drawn": 1.216,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.013,
                "ball_carries": 10.647,
                "total_progression": 37.6741,
                "progressive_carries": 0.6238,
                "shots_off_target": 0.3724
              },
              "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.6127,
                "expected_assists": 0.0476,
                "assists": 0.0699,
                "assist_rate": 0.0699,
                "expected_goals": 0.0294,
                "goals": 0.0383,
                "goal_rate": 0.0383,
                "shots_on_target": 0.1413,
                "total_shots": 0.4931,
                "rating": 6.825,
                "minutes": 87.77,
                "total_pass": 39.4665,
                "accurate_pass": 33.7493,
                "duels_won": 4.4975,
                "total_long_balls": 2.0346,
                "accurate_long_balls": 1.1611,
                "total_own_half_passes": 18.7666,
                "accurate_own_half_passes": 17.0978,
                "total_opp_half_passes": 20.6998,
                "accurate_opp_half_passes": 16.6514,
                "crosses_total": 1.3262,
                "crosses_accurate": 0.0,
                "touches": 53.3095,
                "possession_lost": 9.0084,
                "dispossessed": 0.2253,
                "duels_lost": 4.3134,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6193,
                "tackles_won": 1.8881,
                "tackles": 2.3579,
                "clearances": 0.4905,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6574,
                "fouls": 2.6831,
                "fouls_drawn": 1.216,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0123,
                "ball_carries": 10.647,
                "total_progression": 37.6741,
                "progressive_carries": 0.6238,
                "shots_off_target": 0.3518,
                "duel_xg_multiplier": 0.9447,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.382,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Guido Rodríguez",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.382,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9447,
                  "skill_edge": 0.0104,
                  "height_edge": -0.048,
                  "attacker_skill": 0.4759,
                  "defender_skill": 0.4527,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Guido Rodríguez",
                      "market_value": 3600000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4527
                    }
                  ],
                  "xg_override": 0.0294
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.9541,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.522,
                  "after": 0.4931
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.3724,
                  "after": 0.3518
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1496,
                  "after": 0.1413
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.6127,
                "expected_assists": 0.0476,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0294,
                "goal_rate": 0.0383,
                "goals": 0,
                "shots_on_target": 0.1413,
                "total_shots": 0.4931,
                "rating": 6.825,
                "minutes": 87.77,
                "total_pass": 39.4665,
                "accurate_pass": 33.7493,
                "duels_won": 4.4975,
                "total_long_balls": 2.0346,
                "accurate_long_balls": 1.1611,
                "total_own_half_passes": 18.7666,
                "accurate_own_half_passes": 17.0978,
                "total_opp_half_passes": 20.6998,
                "accurate_opp_half_passes": 16.6514,
                "crosses_total": 1.3262,
                "crosses_accurate": 0.0,
                "touches": 53.3095,
                "possession_lost": 9.0084,
                "dispossessed": 0.2253,
                "duels_lost": 4.3134,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6193,
                "tackles_won": 1.8881,
                "tackles": 2.3579,
                "clearances": 0.4905,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6574,
                "fouls": 2.6831,
                "fouls_drawn": 1.216,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0123,
                "ball_carries": 10.647,
                "total_progression": 37.6741,
                "progressive_carries": 0.6238,
                "shots_off_target": 0.3518,
                "duel_xg_multiplier": 0.9447,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.382,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.6127,
                "expected_assists": 0.0401,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0283,
                "goal_rate": 0.0383,
                "goals": 0,
                "shots_on_target": 0.1413,
                "total_shots": 0.4931,
                "rating": 6.825,
                "minutes": 87.77,
                "total_pass": 39.4665,
                "accurate_pass": 33.7493,
                "duels_won": 4.4975,
                "total_long_balls": 2.0346,
                "accurate_long_balls": 1.1611,
                "total_own_half_passes": 18.7666,
                "accurate_own_half_passes": 17.0978,
                "total_opp_half_passes": 20.6998,
                "accurate_opp_half_passes": 16.6514,
                "crosses_total": 1.3262,
                "crosses_accurate": 0.0,
                "touches": 53.3095,
                "possession_lost": 9.0084,
                "dispossessed": 0.2253,
                "duels_lost": 4.3134,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6193,
                "tackles_won": 1.8881,
                "tackles": 2.3579,
                "clearances": 0.4905,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6574,
                "fouls": 2.6831,
                "fouls_drawn": 1.216,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0118,
                "ball_carries": 10.647,
                "total_progression": 37.6741,
                "progressive_carries": 0.6238,
                "shots_off_target": 0.3518,
                "duel_xg_multiplier": 0.9447,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.382,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1121,
                "creation_factor": 1.2285
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0476,
                  "after": 0.0401
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 80.0)",
              "stats": {
                "key_pass": 0.6127,
                "expected_assists": 0.0401,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0283,
                "goal_rate": 0.0383,
                "goals": 0,
                "shots_on_target": 0.1413,
                "total_shots": 0.4931,
                "rating": 6.825,
                "minutes": 87.77,
                "total_pass": 39.4665,
                "accurate_pass": 33.7493,
                "duels_won": 4.4975,
                "total_long_balls": 2.0346,
                "accurate_long_balls": 1.1611,
                "total_own_half_passes": 18.7666,
                "accurate_own_half_passes": 17.0978,
                "total_opp_half_passes": 20.6998,
                "accurate_opp_half_passes": 16.6514,
                "crosses_total": 1.3262,
                "crosses_accurate": 0.0,
                "touches": 53.3095,
                "possession_lost": 9.0084,
                "dispossessed": 0.2253,
                "duels_lost": 4.3134,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6193,
                "tackles_won": 1.8881,
                "tackles": 2.3579,
                "clearances": 0.4905,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6574,
                "fouls": 2.6831,
                "fouls_drawn": 1.216,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0118,
                "ball_carries": 10.647,
                "total_progression": 37.6741,
                "progressive_carries": 0.6238,
                "shots_off_target": 0.3518,
                "duel_xg_multiplier": 0.9447,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.382,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1121,
                "creation_factor": 1.2285,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1747,
                "fifa_rank": 694.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.6127,
                "expected_assists": 0.0401,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0283,
                "goal_rate": 0.0383,
                "goals": 0,
                "shots_on_target": 0.1413,
                "total_shots": 0.4931,
                "rating": 6.825,
                "minutes": 87.77,
                "total_pass": 39.4665,
                "accurate_pass": 33.7493,
                "duels_won": 4.4975,
                "total_long_balls": 2.0346,
                "accurate_long_balls": 1.1611,
                "total_own_half_passes": 18.7666,
                "accurate_own_half_passes": 17.0978,
                "total_opp_half_passes": 20.6998,
                "accurate_opp_half_passes": 16.6514,
                "crosses_total": 1.3262,
                "crosses_accurate": 0.0,
                "touches": 53.3095,
                "possession_lost": 9.0084,
                "dispossessed": 0.2253,
                "duels_lost": 4.3134,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6193,
                "tackles_won": 1.8881,
                "tackles": 2.3579,
                "clearances": 0.4905,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6574,
                "fouls": 2.6831,
                "fouls_drawn": 1.216,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0118,
                "ball_carries": 10.647,
                "total_progression": 37.6741,
                "progressive_carries": 0.6238,
                "shots_off_target": 0.3518,
                "duel_xg_multiplier": 0.9447,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.382,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0279,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1121,
                "creation_factor": 1.2285,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0279,
                "goal_rate": 0.0383,
                "scorer_weight": 0.0315,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0289,
                "finishing_factor": 1.1121,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.6127,
                "expected_assists": 0.0401,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0283,
                "goal_rate": 0.0383,
                "goals": 0,
                "shots_on_target": 0.1413,
                "total_shots": 0.4931,
                "rating": 6.825,
                "minutes": 87.77,
                "total_pass": 39.4665,
                "accurate_pass": 33.7493,
                "duels_won": 4.4975,
                "total_long_balls": 2.0346,
                "accurate_long_balls": 1.1611,
                "total_own_half_passes": 18.7666,
                "accurate_own_half_passes": 17.0978,
                "total_opp_half_passes": 20.6998,
                "accurate_opp_half_passes": 16.6514,
                "crosses_total": 1.3262,
                "crosses_accurate": 0.0,
                "touches": 53.3095,
                "possession_lost": 9.0084,
                "dispossessed": 0.2253,
                "duels_lost": 4.3134,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6193,
                "tackles_won": 1.8881,
                "tackles": 2.3579,
                "clearances": 0.4905,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6574,
                "fouls": 2.6831,
                "fouls_drawn": 1.216,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0118,
                "ball_carries": 10.647,
                "total_progression": 37.6741,
                "progressive_carries": 0.6238,
                "shots_off_target": 0.3518,
                "duel_xg_multiplier": 0.9447,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.382,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Guido Rodríguez",
                "opponent_faced": "Guido Rodríguez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0279,
                "projected_assists": 0,
                "assist_probability": 0.0393,
                "finishing_factor": 1.1121,
                "creation_factor": 1.2285,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0393,
                "assist_rate": 0.0699,
                "provider_weight": 0.0493,
                "squad_weight_total": 0.7312,
                "weight_share": 0.0674,
                "creation_factor": 1.2285,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12
              }
            }
          ]
        },
        "Yuri Berchiche": {
          "player_id": 84531,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 181,
          "market_value": 910000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 7.0629,
            "minutes": 82,
            "total_pass": 55,
            "accurate_pass": 50,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 34,
            "accurate_opp_half_passes": 30,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 76,
            "possession_lost": 9.8495,
            "dispossessed": 0.2677,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 5,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1756,
            "assists": 0,
            "expected_goals": 0.0403,
            "expected_assists": 0.1432,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.011,
            "ball_carries": 17,
            "total_progression": 79,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 1,
            "opponent_faced": "Dani Raba",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0395,
            "projected_assists": 0,
            "assist_probability": 0.1334,
            "finishing_factor": 0.8,
            "creation_factor": 1.025,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 86,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0727,
                "expected_assists": 0.0393,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 78,
                "accurate_pass": 70,
                "key_pass": 2,
                "tackles": 6,
                "tackles_won": 5,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1335,
                "expected_assists": 0.0482,
                "total_shots": 4,
                "shots_off_target": 2,
                "total_pass": 82,
                "accurate_pass": 77,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0131,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 32,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0536,
                "expected_assists": 0.199,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 64,
                "accurate_pass": 61,
                "key_pass": 3,
                "tackles": 1,
                "interceptions": 3,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 11,
                "rating": 3.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.05,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 14,
                "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": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 9.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0271,
                "expected_assists": 1.3013,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 77,
                "accurate_pass": 71,
                "key_pass": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0351,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 43,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0044,
                "expected_assists": 0.0307,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 43,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 63,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0523,
                "expected_assists": 0.0092,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 29,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 81,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0182,
                "expected_assists": 0.0044,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 23,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1551,
            "combined_rank_score": 634.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 326.0,
            "sofascore_rating": 7.0156,
            "sofascore_appearances": 32.0,
            "fifa_rank": 943.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0629,
            "source_file": "data/player_rankings.csv",
            "player_name": "Yuri Berchiche",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Her Dong-min",
                  "ranking": 1546
                },
                {
                  "player_name": "Filip Jørgensen",
                  "ranking": 1547
                },
                {
                  "player_name": "Olivier Boscagli",
                  "ranking": 1548
                },
                {
                  "player_name": "Bernd Leno",
                  "ranking": 1549
                },
                {
                  "player_name": "Fredrik Aursnes",
                  "ranking": 1550
                }
              ],
              "lower": [
                {
                  "player_name": "Óscar Trejo",
                  "ranking": 1552
                },
                {
                  "player_name": "Han Jong-Mu",
                  "ranking": 1553
                },
                {
                  "player_name": "Eli Junior Kroupi",
                  "ranking": 1554
                },
                {
                  "player_name": "Firdavs Abdurakhmonov",
                  "ranking": 1555
                },
                {
                  "player_name": "Seul-chan Lee",
                  "ranking": 1556
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.761,
          "history_matches": 37,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 37,
            "data_confidence": 0.761,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9976,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 100.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.7,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0733
            },
            "rationale": "XGBoost regressor (D_service) evaluated 37 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.07, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9116,
                "tackles": 1.677,
                "tackles_won": 1.0477,
                "clearances": 2.4456,
                "aerial_won": 0.9038,
                "total_shots": 1.255,
                "rating": 7.0629,
                "minutes": 81.57,
                "total_pass": 55.3639,
                "accurate_pass": 50.1558,
                "duels_won": 3.701,
                "total_long_balls": 3.2316,
                "accurate_long_balls": 1.6693,
                "total_own_half_passes": 21.4718,
                "accurate_own_half_passes": 20.4026,
                "total_opp_half_passes": 33.892,
                "accurate_opp_half_passes": 29.753,
                "crosses_total": 2.6092,
                "crosses_accurate": 0.564,
                "touches": 75.824,
                "possession_lost": 9.8732,
                "dispossessed": 0.2683,
                "duels_lost": 2.3054,
                "aerial_lost": 0.7603,
                "total_contest": 0.5732,
                "won_contest": 0.2638,
                "ball_recovery": 5.3622,
                "challenges_lost": 0.364,
                "fouls": 0.9107,
                "fouls_drawn": 0.4867,
                "blocks": 0.054,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.177,
                "assist_rate": 0.177,
                "expected_goals": 0.042,
                "expected_assists": 0.1705,
                "shots_on_target": 0.2267,
                "big_chances_created": 0.3495,
                "xgot": 0.0114,
                "ball_carries": 17.5406,
                "total_progression": 78.7438,
                "progressive_carries": 0.8066,
                "key_pass": 1.1757,
                "shots_off_target": 1.0283
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 11.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 3.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 9.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.8498,
                  "aerialWon": 1.1435,
                  "totalClearance_p90": 1.9303,
                  "totalTackle": 1.8346,
                  "defensive_actions": 2.6599
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9115880131721497,
                    "model_output": 0.9116,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1196
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0343
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0257
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0195
                        }
                      ],
                      "others": 0.0487,
                      "total": 0.9116,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130061
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.039595
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.037027
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.028668
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.022336
                        }
                      ],
                      "others_margin": 0.054806
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.6769896745681763,
                    "model_output": 1.677,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.157
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0832
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0624
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.055
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0532
                        }
                      ],
                      "others": -0.0189,
                      "total": 1.677,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.106909
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.052315
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.037526
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.031964
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.030865
                        }
                      ],
                      "others_margin": -0.011235
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.0477426052093506,
                    "model_output": 1.0477,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1019
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0491
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0396
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.036
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0289
                        }
                      ],
                      "others": 0.075,
                      "total": 1.0477,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112654
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.050059
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.040214
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.036562
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.029242
                        }
                      ],
                      "others_margin": 0.074447
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.4455742835998535,
                    "model_output": 2.4456,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.6053
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3416
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3202
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2664
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0646
                        }
                      ],
                      "others": -0.0722,
                      "total": 2.4456,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.194002
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.114052
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.106508
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.098163
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.025331
                        }
                      ],
                      "others_margin": -0.029124
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9038206934928894,
                    "model_output": 0.9038,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.1653
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1603
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.145
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0887
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0601
                        }
                      ],
                      "others": -0.1747,
                      "total": 0.9038,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.127861
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124251
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.111689
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.075057
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.054271
                        }
                      ],
                      "others_margin": -0.176633
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2550370693206787,
                    "model_output": 1.255,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.4593
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.123
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0682
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0297
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0288
                        }
                      ],
                      "others": 0.0715,
                      "total": 1.255,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.459256
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.122966
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.06818
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.029705
                        },
                        {
                          "name": "rating",
                          "margin": 0.028781
                        }
                      ],
                      "others_margin": 0.071648
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.062917709350586,
                    "model_output": 7.0629,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1084
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0663
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0437
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0235
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0164
                        }
                      ],
                      "others": 0.0199,
                      "total": 7.0629,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.10836
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.066321
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.04374
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.023475
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.016394
                        }
                      ],
                      "others_margin": 0.019924
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "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 0.9976, quality 0.437)",
              "stats": {
                "interceptions": 0.9094,
                "tackles": 1.673,
                "tackles_won": 1.0452,
                "clearances": 2.4397,
                "aerial_won": 0.9017,
                "total_shots": 1.252,
                "rating": 7.0629,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6029,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9085,
                "fouls_drawn": 0.4855,
                "blocks": 0.0539,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1766,
                "assist_rate": 0.1766,
                "expected_goals": 0.0419,
                "expected_assists": 0.1701,
                "shots_on_target": 0.2262,
                "big_chances_created": 0.3487,
                "xgot": 0.0114,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0258
              },
              "params": {
                "market_value_eur": 910000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9976,
                "reference_quality": 0.505,
                "history_matches": 37,
                "history_shrink": 0.119,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0057)",
              "stats": {
                "interceptions": 0.9136,
                "tackles": 1.673,
                "tackles_won": 1.0393,
                "clearances": 2.4397,
                "aerial_won": 0.9017,
                "total_shots": 1.2588,
                "rating": 7.0629,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1756,
                "assist_rate": 0.1756,
                "expected_goals": 0.0419,
                "expected_assists": 0.1701,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.0114,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0258
              },
              "params": {
                "blend_weight": 0.0057,
                "history_matches": 37,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9063,
                "prior_reliability": 0.0733,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.252,
                  "after": 1.2588
                },
                {
                  "stat": "wonTackle",
                  "before": 1.0452,
                  "after": 1.0393
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9136,
                "tackles": 1.673,
                "tackles_won": 1.0393,
                "clearances": 2.4397,
                "aerial_won": 0.9017,
                "total_shots": 1.2588,
                "rating": 7.0629,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1756,
                "assist_rate": 0.1756,
                "expected_goals": 0.0419,
                "expected_assists": 0.1701,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.0114,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0258
              },
              "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.9136,
                "tackles": 1.673,
                "tackles_won": 1.0393,
                "clearances": 2.4397,
                "aerial_won": 0.9017,
                "total_shots": 1.2588,
                "rating": 7.0629,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1756,
                "assist_rate": 0.1756,
                "expected_goals": 0.0419,
                "expected_assists": 0.1701,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.0114,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0258,
                "opponent_faced": "Dani Raba",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Dani Raba",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.9136,
                "tackles": 1.673,
                "tackles_won": 1.0393,
                "clearances": 2.4397,
                "aerial_won": 0.9017,
                "total_shots": 1.2588,
                "rating": 7.0629,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1756,
                "assists": 0,
                "expected_goals": 0.0419,
                "expected_assists": 0.1701,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.0114,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0258,
                "opponent_faced": "Dani Raba",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "interceptions": 0.9136,
                "tackles": 1.673,
                "tackles_won": 1.0393,
                "clearances": 2.4397,
                "aerial_won": 0.9017,
                "total_shots": 1.2588,
                "rating": 7.0629,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1756,
                "assists": 0,
                "expected_goals": 0.0403,
                "expected_assists": 0.1432,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.011,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0258,
                "opponent_faced": "Dani Raba",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.025
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1701,
                  "after": 0.1432
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 79.0)",
              "stats": {
                "interceptions": 0.9136,
                "tackles": 1.673,
                "tackles_won": 1.0393,
                "clearances": 2.4397,
                "aerial_won": 0.9017,
                "total_shots": 1.2588,
                "rating": 7.0629,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1756,
                "assists": 0,
                "expected_goals": 0.0403,
                "expected_assists": 0.1432,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.011,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0258,
                "opponent_faced": "Dani Raba",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.025,
                "fifa_overall": 79.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": 1551,
                "fifa_rank": 943.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 0.9136,
                "tackles": 1.673,
                "tackles_won": 1.0393,
                "clearances": 2.4397,
                "aerial_won": 0.9017,
                "total_shots": 1.2588,
                "rating": 7.0629,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1756,
                "assists": 0,
                "expected_goals": 0.0403,
                "expected_assists": 0.1432,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.011,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0258,
                "opponent_faced": "Dani Raba",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0395,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.025,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0395,
                "goal_rate": 0.0,
                "scorer_weight": 0.0322,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0296,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.9136,
                "tackles": 1.673,
                "tackles_won": 1.0393,
                "clearances": 2.4397,
                "aerial_won": 0.9017,
                "total_shots": 1.2588,
                "rating": 7.0629,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1756,
                "assists": 0,
                "expected_goals": 0.0403,
                "expected_assists": 0.1432,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.011,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0258,
                "opponent_faced": "Dani Raba",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0395,
                "projected_assists": 0,
                "assist_probability": 0.1334,
                "finishing_factor": 0.8,
                "creation_factor": 1.025,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1334,
                "assist_rate": 0.1756,
                "provider_weight": 0.1468,
                "squad_weight_total": 0.7312,
                "weight_share": 0.2007,
                "creation_factor": 1.025,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12
              }
            }
          ]
        },
        "Aymeric Laporte": {
          "player_id": 149734,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 14,
          "height": 191,
          "market_value": 8400000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.9708,
            "minutes": 87,
            "total_pass": 67,
            "accurate_pass": 62,
            "duels_won": 4,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 41,
            "accurate_own_half_passes": 40,
            "total_opp_half_passes": 26,
            "accurate_opp_half_passes": 22,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 77,
            "possession_lost": 5.1599,
            "dispossessed": 0.0036,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0041,
            "assists": 0,
            "expected_goals": 0.0633,
            "expected_assists": 0.0111,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0305,
            "ball_carries": 23,
            "total_progression": 109,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.808,
            "opponent_faced": "Hugo Duro",
            "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.0613,
            "projected_assists": 0,
            "assist_probability": 0.011,
            "finishing_factor": 0.8,
            "creation_factor": 0.856,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0188,
                "total_shots": 0,
                "total_pass": 96,
                "accurate_pass": 93,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 3,
                "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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.031,
                "total_shots": 0,
                "total_pass": 118,
                "accurate_pass": 111,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 53,
                "clearances": 8,
                "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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.432,
                "expected_assists": 0.0097,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 71,
                "accurate_pass": 69,
                "tackles": 1,
                "clearances": 7,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 31,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.098,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 36,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "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": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0131,
                "total_shots": 0,
                "total_pass": 67,
                "accurate_pass": 60,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0148,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "total_pass": 26,
                "accurate_pass": 18,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 10,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0083,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 55,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 160,
            "combined_rank_score": 140.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 59.0,
            "sofascore_rating": 7.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 221.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9708,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aymeric Laporte",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Guilherme Arana",
                  "ranking": 155
                },
                {
                  "player_name": "Will Smallbone",
                  "ranking": 156
                },
                {
                  "player_name": "Do-dam Kim",
                  "ranking": 157
                },
                {
                  "player_name": "Nuno Mendes",
                  "ranking": 158
                },
                {
                  "player_name": "Temurkhuja Abdukholikov",
                  "ranking": 159
                }
              ],
              "lower": [
                {
                  "player_name": "Daniel Castro",
                  "ranking": 161
                },
                {
                  "player_name": "Ryan Gravenberch",
                  "ranking": 162
                },
                {
                  "player_name": "Jhon Arias",
                  "ranking": 163
                },
                {
                  "player_name": "Oleksiy Gutsulyak",
                  "ranking": 164
                },
                {
                  "player_name": "Igor Vujačić",
                  "ranking": 165
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.774,
          "history_matches": 31,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 31,
            "data_confidence": 0.774,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9999,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 213.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.85,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (D_service) evaluated 31 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.16, 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.0105,
                "tackles": 1.3334,
                "tackles_won": 0.8362,
                "clearances": 4.6635,
                "aerial_won": 1.9242,
                "total_shots": 0.4945,
                "rating": 6.9708,
                "minutes": 87.08,
                "total_pass": 66.9278,
                "accurate_pass": 62.2657,
                "duels_won": 3.7134,
                "total_long_balls": 4.7984,
                "accurate_long_balls": 2.8118,
                "total_own_half_passes": 41.1583,
                "accurate_own_half_passes": 39.8655,
                "total_opp_half_passes": 25.7695,
                "accurate_opp_half_passes": 22.4002,
                "crosses_total": 0.0784,
                "crosses_accurate": 0.0112,
                "touches": 77.1524,
                "possession_lost": 5.1604,
                "dispossessed": 0.0036,
                "duels_lost": 2.2083,
                "aerial_lost": 0.9983,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0242,
                "challenges_lost": 0.3688,
                "fouls": 0.7445,
                "fouls_drawn": 0.5472,
                "blocks": 0.2697,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0042,
                "assist_rate": 0.0042,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0863,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3806,
                "total_progression": 108.7468,
                "progressive_carries": 0.9311,
                "key_pass": 0.0868,
                "shots_off_target": 0.4082
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0927,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.067,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.8386,
                  "aerialWon": 1.7664,
                  "totalClearance_p90": 4.125,
                  "totalTackle": 1.3847,
                  "defensive_actions": 2.2325
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0104706287384033,
                    "model_output": 1.0105,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1142
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0279
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0142
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0143
                        },
                        {
                          "name": "errorLeadToAGoal",
                          "contribution": -0.0142
                        }
                      ],
                      "others": -0.0068,
                      "total": 1.0105,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.124523
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.028181
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.014028
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.013953
                        },
                        {
                          "name": "errorLeadToAGoal",
                          "margin": -0.013903
                        }
                      ],
                      "others_margin": -0.006558
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3334298133850098,
                    "model_output": 1.3334,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1698
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0686
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0567
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0388
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0367
                        }
                      ],
                      "others": -0.1643,
                      "total": 1.3334,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115133
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.043024
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.035431
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.024987
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.024221
                        }
                      ],
                      "others_margin": -0.11615
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8362426161766052,
                    "model_output": 0.8362,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1054
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.037
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0312
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0224
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0211
                        }
                      ],
                      "others": -0.0857,
                      "total": 0.8362,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.116361
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.037829
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.031779
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.023433
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.022671
                        }
                      ],
                      "others_margin": -0.097514
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.663540840148926,
                    "model_output": 4.6635,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4173
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3284
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2817
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1431
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0956
                        }
                      ],
                      "others": -0.0353,
                      "total": 4.6635,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114728
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.081854
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.065235
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.031585
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.020546
                        }
                      ],
                      "others_margin": -0.00753
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.924235463142395,
                    "model_output": 1.9242,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.2156
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1644
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0874
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0701
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0505
                        }
                      ],
                      "others": -0.0411,
                      "total": 1.9242,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.1454
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.098252
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.048535
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.037294
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.026031
                        }
                      ],
                      "others_margin": -0.021116
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.49445220828056335,
                    "model_output": 0.4945,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0585
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0191
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.016
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0159
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0143
                        }
                      ],
                      "others": -0.005,
                      "total": 0.4945,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.05846
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.019072
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.016025
                        },
                        {
                          "name": "rating",
                          "margin": 0.015856
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.014298
                        }
                      ],
                      "others_margin": -0.004969
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.970774173736572,
                    "model_output": 6.9708,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": 0.0574
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0414
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0348
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0291
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0115
                        }
                      ],
                      "others": 0.0119,
                      "total": 6.9708,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.05744
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.041433
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.034796
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.029065
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.01155
                        }
                      ],
                      "others_margin": 0.011788
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 31,
                  "role_matches": 29,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9999, quality 0.503)",
              "stats": {
                "interceptions": 1.0104,
                "tackles": 1.3333,
                "tackles_won": 0.8362,
                "clearances": 4.6631,
                "aerial_won": 1.924,
                "total_shots": 0.4945,
                "rating": 6.9708,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0784,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7444,
                "fouls_drawn": 0.5471,
                "blocks": 0.2697,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0042,
                "assist_rate": 0.0042,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0863,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4082
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 0.9999,
                "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.0144)",
              "stats": {
                "interceptions": 1.0075,
                "tackles": 1.3333,
                "tackles_won": 0.8416,
                "clearances": 4.6631,
                "aerial_won": 1.924,
                "total_shots": 0.4992,
                "rating": 6.9708,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0041,
                "assist_rate": 0.0041,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4082
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9676,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.8362,
                  "after": 0.8416
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0075,
                "tackles": 1.3333,
                "tackles_won": 0.8416,
                "clearances": 4.6631,
                "aerial_won": 1.924,
                "total_shots": 0.4992,
                "rating": 6.9708,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0041,
                "assist_rate": 0.0041,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4082
              },
              "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.0075,
                "tackles": 1.3333,
                "tackles_won": 0.8416,
                "clearances": 4.6631,
                "aerial_won": 1.924,
                "total_shots": 0.4992,
                "rating": 6.9708,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0041,
                "assist_rate": 0.0041,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4082,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "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": "Hugo Duro",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0075,
                "tackles": 1.3333,
                "tackles_won": 0.8416,
                "clearances": 4.6631,
                "aerial_won": 1.924,
                "total_shots": 0.4992,
                "rating": 6.9708,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0041,
                "assists": 0,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4082,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.0075,
                "tackles": 1.3333,
                "tackles_won": 0.8416,
                "clearances": 4.6631,
                "aerial_won": 1.924,
                "total_shots": 0.4992,
                "rating": 6.9708,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0041,
                "assists": 0,
                "expected_goals": 0.0633,
                "expected_assists": 0.0111,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0305,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4082,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.856
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 84.0)",
              "stats": {
                "interceptions": 1.0075,
                "tackles": 1.3333,
                "tackles_won": 0.8416,
                "clearances": 4.6631,
                "aerial_won": 1.924,
                "total_shots": 0.4992,
                "rating": 6.9708,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0041,
                "assists": 0,
                "expected_goals": 0.0633,
                "expected_assists": 0.0111,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0305,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4082,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.856,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 160,
                "fifa_rank": 221.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.0075,
                "tackles": 1.3333,
                "tackles_won": 0.8416,
                "clearances": 4.6631,
                "aerial_won": 1.924,
                "total_shots": 0.4992,
                "rating": 6.9708,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0041,
                "assists": 0,
                "expected_goals": 0.0633,
                "expected_assists": 0.0111,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0305,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4082,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "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.0613,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.856,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0613,
                "goal_rate": 0.0,
                "scorer_weight": 0.0506,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0465,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.0075,
                "tackles": 1.3333,
                "tackles_won": 0.8416,
                "clearances": 4.6631,
                "aerial_won": 1.924,
                "total_shots": 0.4992,
                "rating": 6.9708,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0041,
                "assists": 0,
                "expected_goals": 0.0633,
                "expected_assists": 0.0111,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0305,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4082,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "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.0613,
                "projected_assists": 0,
                "assist_probability": 0.011,
                "finishing_factor": 0.8,
                "creation_factor": 0.856,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.011,
                "assist_rate": 0.0041,
                "provider_weight": 0.0095,
                "squad_weight_total": 0.7312,
                "weight_share": 0.013,
                "creation_factor": 0.856,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12
              }
            }
          ]
        },
        "Yeray Álvarez": {
          "player_id": 807648,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 183,
          "market_value": 930000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.766,
            "minutes": 79,
            "total_pass": 53,
            "accurate_pass": 46,
            "duels_won": 3,
            "total_long_balls": 7,
            "accurate_long_balls": 3,
            "total_own_half_passes": 30,
            "accurate_own_half_passes": 29,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 17,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 64,
            "possession_lost": 8.4816,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1229,
            "assists": 0,
            "expected_goals": 0.0271,
            "expected_assists": 0.0139,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 19,
            "total_progression": 74,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.808,
            "opponent_faced": "Hugo Duro",
            "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.0267,
            "projected_assists": 0,
            "assist_probability": 0.0138,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0135,
                "total_shots": 0,
                "total_pass": 110,
                "accurate_pass": 101,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 45,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 28,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0248,
                "expected_assists": 0.0024,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 21,
                "tackles": 1,
                "interceptions": 3,
                "clearances": 3,
                "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": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1336,
                "expected_assists": 0.0134,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 54,
                "accurate_pass": 46,
                "key_pass": 2,
                "clearances": 8,
                "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": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 45,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 5,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1161,
                "expected_assists": 0.1064,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 65,
                "accurate_pass": 58,
                "key_pass": 2,
                "interceptions": 5,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0307,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0129,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 45,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0139,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 43,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0067,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 30,
                "interceptions": 2,
                "clearances": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2342,
            "combined_rank_score": 1123.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 852.0,
            "sofascore_rating": 6.5714,
            "sofascore_appearances": 7.0,
            "fifa_rank": 1394.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.766,
            "source_file": "data/player_rankings.csv",
            "player_name": "Yeray Álvarez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Walterson Silva",
                  "ranking": 2337
                },
                {
                  "player_name": "Nayef Aguerd",
                  "ranking": 2338
                },
                {
                  "player_name": "Loïc Badé",
                  "ranking": 2339
                },
                {
                  "player_name": "Jakhongir Urozov",
                  "ranking": 2340
                },
                {
                  "player_name": "Matěj Kovář",
                  "ranking": 2341
                }
              ],
              "lower": [
                {
                  "player_name": "Ilkhomzhon Vakhobov",
                  "ranking": 2343
                },
                {
                  "player_name": "Lee Min-Ki",
                  "ranking": 2344
                },
                {
                  "player_name": "Vladislav Baboglo",
                  "ranking": 2345
                },
                {
                  "player_name": "Dan Bent",
                  "ranking": 2346
                },
                {
                  "player_name": "Je-hee Yun",
                  "ranking": 2347
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 11,
          "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": 11,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9937,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.5,
              "shots_per90": 1.5,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 11 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.13, gls/90: 0.0, ast/90: 0.5)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0712,
                "tackles": 1.0548,
                "tackles_won": 0.6751,
                "clearances": 4.464,
                "aerial_won": 1.384,
                "total_shots": 0.5205,
                "rating": 6.766,
                "minutes": 79.45,
                "total_pass": 53.1041,
                "accurate_pass": 46.1038,
                "duels_won": 3.201,
                "total_long_balls": 6.9176,
                "accurate_long_balls": 2.7529,
                "total_own_half_passes": 29.7999,
                "accurate_own_half_passes": 28.984,
                "total_opp_half_passes": 23.3042,
                "accurate_opp_half_passes": 17.1198,
                "crosses_total": 0.6218,
                "crosses_accurate": 0.0,
                "touches": 64.4643,
                "possession_lost": 8.5354,
                "dispossessed": 0.0,
                "duels_lost": 2.3629,
                "aerial_lost": 1.5235,
                "total_contest": 0.6439,
                "won_contest": 0.4588,
                "ball_recovery": 3.8895,
                "challenges_lost": 0.4567,
                "fouls": 0.4352,
                "fouls_drawn": 0.8141,
                "blocks": 0.3996,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1147,
                "assist_rate": 0.1147,
                "expected_goals": 0.0283,
                "expected_assists": 0.0166,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1147,
                "xgot": 0.0,
                "ball_carries": 18.6252,
                "total_progression": 74.2414,
                "progressive_carries": 0.7908,
                "key_pass": 0.455,
                "shots_off_target": 0.5205
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1801,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1531,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1302,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1106,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.094,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0799,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0679,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0578,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0491,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0417,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 11.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.5725,
                  "aerialWon": 1.3858,
                  "totalClearance_p90": 4.5191,
                  "totalTackle": 0.7061,
                  "defensive_actions": 2.1186
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0711941719055176,
                    "model_output": 1.0712,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1086
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0878
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0343
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.027
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.012
                        }
                      ],
                      "others": 0.0092,
                      "total": 1.0712,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.118762
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.086705
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.032973
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.026099
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.011336
                        }
                      ],
                      "others_margin": 0.008652
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.0547956228256226,
                    "model_output": 1.0548,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1485
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1424
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1255
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0462
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0361
                        }
                      ],
                      "others": -0.1228,
                      "total": 1.0548,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.112828
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.10847
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.094946
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.037359
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.03019
                        }
                      ],
                      "others_margin": -0.110187
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6751347184181213,
                    "model_output": 0.6751,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1009
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.092
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0777
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0241
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0178
                        }
                      ],
                      "others": -0.0684,
                      "total": 0.6751,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111653
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.101235
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.094317
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.031118
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.02363
                        }
                      ],
                      "others_margin": -0.096566
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.463964462280273,
                    "model_output": 4.464,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4627
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.3077
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.1218
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0867
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.083
                        }
                      ],
                      "others": 0.213,
                      "total": 4.464,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126449
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.076033
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.029413
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.021017
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.019709
                        }
                      ],
                      "others_margin": 0.048886
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.3840402364730835,
                    "model_output": 1.384,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1674
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1071
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.045
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0365
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0294
                        }
                      ],
                      "others": -0.0327,
                      "total": 1.384,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114697
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.071886
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.0308
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.0249
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.020509
                        }
                      ],
                      "others_margin": -0.02333
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5204614996910095,
                    "model_output": 0.5205,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0607
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0366
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0269
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0101
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.01
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.5205,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.060704
                        },
                        {
                          "name": "rating",
                          "margin": -0.03664
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.026865
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.010104
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.00997
                        }
                      ],
                      "others_margin": -0.005103
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.766024112701416,
                    "model_output": 6.766,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0204
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0199
                        },
                        {
                          "name": "rating",
                          "contribution": -0.019
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0109
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0083
                        }
                      ],
                      "others": -0.0018,
                      "total": 6.766,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.020368
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.019865
                        },
                        {
                          "name": "rating",
                          "margin": -0.018973
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.010893
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.008322
                        }
                      ],
                      "others_margin": -0.001773
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 11,
                  "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.9937, quality 0.437)",
              "stats": {
                "interceptions": 1.0644,
                "tackles": 1.0482,
                "tackles_won": 0.6709,
                "clearances": 4.4358,
                "aerial_won": 1.3753,
                "total_shots": 0.5172,
                "rating": 6.766,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.6179,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4325,
                "fouls_drawn": 0.809,
                "blocks": 0.3971,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.114,
                "assist_rate": 0.114,
                "expected_goals": 0.0281,
                "expected_assists": 0.0165,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5172
              },
              "params": {
                "market_value_eur": 930000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9937,
                "reference_quality": 0.505,
                "history_matches": 11,
                "history_shrink": 0.3125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0271)",
              "stats": {
                "interceptions": 1.0714,
                "tackles": 1.0482,
                "tackles_won": 0.6527,
                "clearances": 4.4358,
                "aerial_won": 1.3753,
                "total_shots": 0.539,
                "rating": 6.766,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1229,
                "assist_rate": 0.1229,
                "expected_goals": 0.0281,
                "expected_assists": 0.0165,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5172
              },
              "params": {
                "blend_weight": 0.0271,
                "history_matches": 11,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8828,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.6179,
                  "after": 0.649
                },
                {
                  "stat": "totalShots",
                  "before": 0.5172,
                  "after": 0.539
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6709,
                  "after": 0.6527
                },
                {
                  "stat": "wasFouled",
                  "before": 0.809,
                  "after": 0.799
                },
                {
                  "stat": "goalAssist",
                  "before": 0.114,
                  "after": 0.1229
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.0644,
                  "after": 1.0714
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0714,
                "tackles": 1.0482,
                "tackles_won": 0.6527,
                "clearances": 4.4358,
                "aerial_won": 1.3753,
                "total_shots": 0.539,
                "rating": 6.766,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1229,
                "assist_rate": 0.1229,
                "expected_goals": 0.0281,
                "expected_assists": 0.0165,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5172
              },
              "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.0714,
                "tackles": 1.0482,
                "tackles_won": 0.6527,
                "clearances": 4.4358,
                "aerial_won": 1.3753,
                "total_shots": 0.539,
                "rating": 6.766,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1229,
                "assist_rate": 0.1229,
                "expected_goals": 0.0281,
                "expected_assists": 0.0165,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5172,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "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": "Hugo Duro",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0714,
                "tackles": 1.0482,
                "tackles_won": 0.6527,
                "clearances": 4.4358,
                "aerial_won": 1.3753,
                "total_shots": 0.539,
                "rating": 6.766,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1229,
                "assists": 0,
                "expected_goals": 0.0281,
                "expected_assists": 0.0165,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5172,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.0714,
                "tackles": 1.0482,
                "tackles_won": 0.6527,
                "clearances": 4.4358,
                "aerial_won": 1.3753,
                "total_shots": 0.539,
                "rating": 6.766,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1229,
                "assists": 0,
                "expected_goals": 0.0271,
                "expected_assists": 0.0139,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5172,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 77.0)",
              "stats": {
                "interceptions": 1.0714,
                "tackles": 1.0482,
                "tackles_won": 0.6527,
                "clearances": 4.4358,
                "aerial_won": 1.3753,
                "total_shots": 0.539,
                "rating": 6.766,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1229,
                "assists": 0,
                "expected_goals": 0.0271,
                "expected_assists": 0.0139,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5172,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "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": 77.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": 2342,
                "fifa_rank": 1394.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.0714,
                "tackles": 1.0482,
                "tackles_won": 0.6527,
                "clearances": 4.4358,
                "aerial_won": 1.3753,
                "total_shots": 0.539,
                "rating": 6.766,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1229,
                "assists": 0,
                "expected_goals": 0.0271,
                "expected_assists": 0.0139,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5172,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "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.0267,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0267,
                "goal_rate": 0.0,
                "scorer_weight": 0.0217,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0199,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.0714,
                "tackles": 1.0482,
                "tackles_won": 0.6527,
                "clearances": 4.4358,
                "aerial_won": 1.3753,
                "total_shots": 0.539,
                "rating": 6.766,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1229,
                "assists": 0,
                "expected_goals": 0.0271,
                "expected_assists": 0.0139,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5172,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.808,
                "opponent_faced": "Hugo Duro",
                "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.0267,
                "projected_assists": 0,
                "assist_probability": 0.0138,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0138,
                "assist_rate": 0.1229,
                "provider_weight": 0.0174,
                "squad_weight_total": 0.7312,
                "weight_share": 0.0238,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12
              }
            }
          ]
        },
        "Jesús Areso": {
          "player_id": 910267,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 183,
          "market_value": 5500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6744,
            "minutes": 79,
            "total_pass": 29,
            "accurate_pass": 23,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 9,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 13,
            "crosses_total": 4,
            "crosses_accurate": 1,
            "touches": 51,
            "possession_lost": 12.279,
            "dispossessed": 0.4165,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0223,
            "assists": 0,
            "expected_goals": 0.0107,
            "expected_assists": 0.042,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 60,
            "progressive_carries": 2,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.4,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.419,
            "opponent_faced": "Javier Guerra",
            "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.0106,
            "projected_assists": 0,
            "assist_probability": 0.0411,
            "finishing_factor": 0.8183,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0149,
                "expected_assists": 0.1023,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 40,
                "accurate_pass": 37,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0189,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 25,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0227,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 5,
                "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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 86,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1085,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "key_pass": 2,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 58,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0696,
                "expected_assists": 0.0773,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 71,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0463,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "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": "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": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 17,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081813,
              "match_date": "2026-04-05",
              "home_team": "Getafe",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 26,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0424,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 18,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083632,
              "match_date": "2026-03-14",
              "home_team": "Girona FC",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 45,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0406,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 23,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081790,
              "match_date": "2026-02-28",
              "home_team": "Rayo Vallecano",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 73,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0271,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1711,
            "combined_rank_score": 696.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 26.0,
            "fifa_rank": 694.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6744,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jesús Areso",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Valentín Vidal",
                  "ranking": 1706
                },
                {
                  "player_name": "Tyler Adams",
                  "ranking": 1707
                },
                {
                  "player_name": "Ryu Jun-sun",
                  "ranking": 1708
                },
                {
                  "player_name": "Dan Burn",
                  "ranking": 1709
                },
                {
                  "player_name": "Mingueza",
                  "ranking": 1710
                }
              ],
              "lower": [
                {
                  "player_name": "Si-heon Lee",
                  "ranking": 1712
                },
                {
                  "player_name": "Ignacio Jeraldino",
                  "ranking": 1713
                },
                {
                  "player_name": "Augusto Aguirre",
                  "ranking": 1714
                },
                {
                  "player_name": "Adnan Januzaj",
                  "ranking": 1715
                },
                {
                  "player_name": "Cho Jin-hyuk",
                  "ranking": 1716
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.766,
          "history_matches": 31,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 31,
            "data_confidence": 0.766,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9985,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 142.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.63,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (D_service) evaluated 31 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.11, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1803,
                "tackles": 1.7285,
                "tackles_won": 1.0843,
                "clearances": 2.1052,
                "aerial_won": 1.0273,
                "total_shots": 0.4582,
                "rating": 6.6744,
                "minutes": 79.12,
                "total_pass": 28.6146,
                "accurate_pass": 22.7679,
                "duels_won": 3.8995,
                "total_long_balls": 1.3004,
                "accurate_long_balls": 0.3522,
                "total_own_half_passes": 11.2365,
                "accurate_own_half_passes": 9.3032,
                "total_opp_half_passes": 17.3782,
                "accurate_opp_half_passes": 13.4647,
                "crosses_total": 3.76,
                "crosses_accurate": 1.0405,
                "touches": 51.1127,
                "possession_lost": 12.2974,
                "dispossessed": 0.4171,
                "duels_lost": 2.7645,
                "aerial_lost": 0.5995,
                "total_contest": 0.9289,
                "won_contest": 0.3362,
                "ball_recovery": 2.755,
                "challenges_lost": 0.3984,
                "fouls": 0.9377,
                "fouls_drawn": 0.5316,
                "blocks": 0.2522,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0225,
                "assist_rate": 0.0225,
                "expected_goals": 0.0111,
                "expected_assists": 0.05,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0552,
                "xgot": 0.0,
                "ball_carries": 11.1287,
                "total_progression": 59.8547,
                "progressive_carries": 1.6164,
                "key_pass": 1.0916,
                "shots_off_target": 0.4582
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.151,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0927,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0569,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Getafe",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0484,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Girona FC",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Rayo Vallecano",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.6533,
                  "aerialWon": 1.3222,
                  "totalClearance_p90": 2.5208,
                  "totalTackle": 1.2125,
                  "defensive_actions": 2.3042
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1802573204040527,
                    "model_output": 1.1803,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1212
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0671
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0668
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0545
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0543
                        }
                      ],
                      "others": -0.0445,
                      "total": 1.1803,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131726
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.066063
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.061687
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.047678
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.045371
                        }
                      ],
                      "others_margin": -0.036985
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7285256385803223,
                    "model_output": 1.7285,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1867
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.063
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.051
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0414
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0403
                        }
                      ],
                      "others": 0.0374,
                      "total": 1.7285,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125899
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.039142
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.030606
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.024789
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.024142
                        }
                      ],
                      "others_margin": 0.021883
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.084270715713501,
                    "model_output": 1.0843,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1204
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0449
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0373
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0373
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0316
                        }
                      ],
                      "others": 0.0964,
                      "total": 1.0843,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131887
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.045034
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.037281
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.03727
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.031505
                        }
                      ],
                      "others_margin": 0.093131
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.1051883697509766,
                    "model_output": 2.1052,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.8021
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3512
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.2992
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2342
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2078
                        }
                      ],
                      "others": -0.1354,
                      "total": 2.1052,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.266137
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.125317
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.105747
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.091367
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.088692
                        }
                      ],
                      "others_margin": -0.062326
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.027329683303833,
                    "model_output": 1.0273,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.119
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1025
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0734
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0665
                        }
                      ],
                      "others": -0.086,
                      "total": 1.0273,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.090364
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.0894
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.085313
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.060337
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.05806
                        }
                      ],
                      "others_margin": -0.080323
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.45817965269088745,
                    "model_output": 0.4582,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0932
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0524
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0404
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0151
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0089
                        }
                      ],
                      "others": 0.0081,
                      "total": 0.4582,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.093195
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.05242
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.040376
                        },
                        {
                          "name": "rating",
                          "margin": -0.015136
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.008946
                        }
                      ],
                      "others_margin": 0.00816
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.674358367919922,
                    "model_output": 6.6744,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": -0.0198
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0153
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0127
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0317,
                      "total": 6.6744,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "accuratePass",
                          "margin": -0.019816
                        },
                        {
                          "name": "rating",
                          "margin": -0.019518
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015295
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.012651
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.011259
                        }
                      ],
                      "others_margin": -0.031807
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 31,
                  "role_matches": 18,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9985, quality 0.468)",
              "stats": {
                "interceptions": 1.1785,
                "tackles": 1.7259,
                "tackles_won": 1.0826,
                "clearances": 2.102,
                "aerial_won": 1.0258,
                "total_shots": 0.4575,
                "rating": 6.6744,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.7544,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9363,
                "fouls_drawn": 0.5308,
                "blocks": 0.2518,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0225,
                "assist_rate": 0.0225,
                "expected_goals": 0.0111,
                "expected_assists": 0.0499,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.4575
              },
              "params": {
                "market_value_eur": 5500000,
                "quality_factor": 0.4683,
                "boost_factor": 0.9985,
                "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.0096)",
              "stats": {
                "interceptions": 1.1724,
                "tackles": 1.7259,
                "tackles_won": 1.0775,
                "clearances": 2.102,
                "aerial_won": 1.0258,
                "total_shots": 0.4584,
                "rating": 6.6744,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0223,
                "assist_rate": 0.0223,
                "expected_goals": 0.0111,
                "expected_assists": 0.0499,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.4575
              },
              "params": {
                "blend_weight": 0.0096,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8791,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.5308,
                  "after": 0.5416
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1785,
                  "after": 1.1724
                },
                {
                  "stat": "wonTackle",
                  "before": 1.0826,
                  "after": 1.0775
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1724,
                "tackles": 1.7259,
                "tackles_won": 1.0775,
                "clearances": 2.102,
                "aerial_won": 1.0258,
                "total_shots": 0.4584,
                "rating": 6.6744,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0223,
                "assist_rate": 0.0223,
                "expected_goals": 0.0111,
                "expected_assists": 0.0499,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.4575
              },
              "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.1724,
                "tackles": 1.7259,
                "tackles_won": 1.0775,
                "clearances": 2.102,
                "aerial_won": 1.0258,
                "total_shots": 0.4584,
                "rating": 6.6744,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0223,
                "assist_rate": 0.0223,
                "expected_goals": 0.0111,
                "expected_assists": 0.0499,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.4575,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.419,
                "opponent_faced": "Javier Guerra",
                "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": "Javier Guerra",
                  "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 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.1724,
                "tackles": 1.7259,
                "tackles_won": 1.0775,
                "clearances": 2.102,
                "aerial_won": 1.0258,
                "total_shots": 0.4584,
                "rating": 6.6744,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0223,
                "assists": 0,
                "expected_goals": 0.0111,
                "expected_assists": 0.0499,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.4575,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.419,
                "opponent_faced": "Javier Guerra",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.1724,
                "tackles": 1.7259,
                "tackles_won": 1.0775,
                "clearances": 2.102,
                "aerial_won": 1.0258,
                "total_shots": 0.4584,
                "rating": 6.6744,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0223,
                "assists": 0,
                "expected_goals": 0.0107,
                "expected_assists": 0.042,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.4575,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.419,
                "opponent_faced": "Javier Guerra",
                "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.8183,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0499,
                  "after": 0.042
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 80.0)",
              "stats": {
                "interceptions": 1.1724,
                "tackles": 1.7259,
                "tackles_won": 1.0775,
                "clearances": 2.102,
                "aerial_won": 1.0258,
                "total_shots": 0.4584,
                "rating": 6.6744,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0223,
                "assists": 0,
                "expected_goals": 0.0107,
                "expected_assists": 0.042,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.4575,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.419,
                "opponent_faced": "Javier Guerra",
                "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.8183,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1711,
                "fifa_rank": 694.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.1724,
                "tackles": 1.7259,
                "tackles_won": 1.0775,
                "clearances": 2.102,
                "aerial_won": 1.0258,
                "total_shots": 0.4584,
                "rating": 6.6744,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0223,
                "assists": 0,
                "expected_goals": 0.0107,
                "expected_assists": 0.042,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.4575,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.419,
                "opponent_faced": "Javier Guerra",
                "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.0106,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8183,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0106,
                "goal_rate": 0.0,
                "scorer_weight": 0.0088,
                "squad_weight_total": 1.0881,
                "weight_share": 0.008,
                "finishing_factor": 0.8183,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.1724,
                "tackles": 1.7259,
                "tackles_won": 1.0775,
                "clearances": 2.102,
                "aerial_won": 1.0258,
                "total_shots": 0.4584,
                "rating": 6.6744,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0223,
                "assists": 0,
                "expected_goals": 0.0107,
                "expected_assists": 0.042,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.4575,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.419,
                "opponent_faced": "Javier Guerra",
                "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.0106,
                "projected_assists": 0,
                "assist_probability": 0.0411,
                "finishing_factor": 0.8183,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0411,
                "assist_rate": 0.0223,
                "provider_weight": 0.0336,
                "squad_weight_total": 0.7312,
                "weight_share": 0.046,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12
              }
            }
          ]
        },
        "Unai Simón": {
          "player_id": 797291,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 189,
          "market_value": 21000000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0674,
            "rating": 7.0015,
            "minutes": 90,
            "total_pass": 33,
            "accurate_pass": 23,
            "total_long_balls": 17,
            "accurate_long_balls": 7,
            "touches": 44,
            "clearances": 1,
            "ball_recovery": 10,
            "high_claims": 1,
            "punches": 0.3896,
            "aerial_won": 0,
            "sweeper_actions": 2,
            "sweeper_accurate": 2,
            "saves_inside_box": 2,
            "possession_lost": 10.5831,
            "duels_won": 1,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 18,
            "gk_engine_opponent_lambda": 1.0083,
            "shots_faced": 9.4,
            "expected_saves": 2.3,
            "high_pressure_saves": 0.79,
            "opponent_faced": "Hugo Duro, Javier Guerra",
            "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": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 21,
                "clearances": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 28,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 9,
                "goals_prevented": -0.1346
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 8.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 34,
                "clearances": 2,
                "ball_recovery": 14,
                "saves": 5,
                "goals_prevented": 1.2353
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 22,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 7,
                "saves": 2,
                "goals_prevented": 0.3212
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 9.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 23,
                "clearances": 3,
                "ball_recovery": 14,
                "saves": 8,
                "goals_prevented": 1.8497
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 4.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0116,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 29,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 2,
                "goals_prevented": -1.3506
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 12,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 13,
                "saves": 1,
                "goals_prevented": -0.6162
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0083,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 15,
                "duels_won": 1,
                "ball_recovery": 15,
                "saves": 3,
                "goals_prevented": -0.9032
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 22,
                "ball_recovery": 15,
                "saves": 2,
                "goals_prevented": 0.3069
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0075,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 13,
                "ball_recovery": 7,
                "saves": 2,
                "goals_prevented": -0.9854
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 323,
            "combined_rank_score": 218.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 278.0,
            "sofascore_rating": 7.0667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 158.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0015,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai Simón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bryan Mbeumo",
                  "ranking": 318
                },
                {
                  "player_name": "Sandzhar Kuvvatov",
                  "ranking": 319
                },
                {
                  "player_name": "Jon Ander Olasagasti",
                  "ranking": 320
                },
                {
                  "player_name": "Mario Rivas",
                  "ranking": 321
                },
                {
                  "player_name": "Nico Paz",
                  "ranking": 322
                }
              ],
              "lower": [
                {
                  "player_name": "Aleksandre Andronikashvili",
                  "ranking": 324
                },
                {
                  "player_name": "Javier Correa",
                  "ranking": 325
                },
                {
                  "player_name": "Alejandro Santander",
                  "ranking": 326
                },
                {
                  "player_name": "Diego Murillo",
                  "ranking": 327
                },
                {
                  "player_name": "Boubacar Kamara",
                  "ranking": 328
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 43,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 43,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0042,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "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 43 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, 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.9114,
                "goals_prevented": -0.0672,
                "rating": 7.0015,
                "minutes": 90.0,
                "total_pass": 32.9052,
                "accurate_pass": 22.5836,
                "total_long_balls": 17.205,
                "accurate_long_balls": 7.2557,
                "touches": 43.7656,
                "clearances": 0.9875,
                "ball_recovery": 9.7336,
                "high_claims": 1.4529,
                "punches": 0.388,
                "aerial_won": 0.3341,
                "sweeper_actions": 1.9839,
                "sweeper_accurate": 1.7286,
                "saves_inside_box": 1.5829,
                "possession_lost": 10.5388,
                "duels_won": 0.518,
                "duels_lost": 0.0784,
                "total_contest": 0.0922,
                "won_contest": 0.0922,
                "fouls": 0.0,
                "fouls_drawn": 0.0927,
                "total_own_half_passes": 20.2603,
                "accurate_own_half_passes": 18.0691
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-17T10:04:09.876591+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 4.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateLongBalls": 7.2557,
                  "save_contribution": 2.4398,
                  "distribution_accuracy": 0.8765,
                  "accurateOwnHalfPasses": 18.0691,
                  "passValueNormalized": 0.1247,
                  "totalOwnHalfPasses": 20.2603
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.9113869667053223,
                    "model_output": 2.9114,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.04
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0243
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0136
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0113
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.006,
                      "total": 2.9114,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.013686
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.008352
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.004628
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.003847
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.003481
                        }
                      ],
                      "others_margin": -0.002099
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.06715967506170273,
                    "model_output": -0.0672,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0271
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0269
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0205
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0141
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0136
                        }
                      ],
                      "others": -0.0333,
                      "total": -0.0672,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.02714
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.026881
                        },
                        {
                          "name": "punches",
                          "margin": 0.020489
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.014129
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.013626
                        }
                      ],
                      "others_margin": -0.03327
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.001473903656006,
                    "model_output": 7.0015,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "punches",
                          "contribution": 0.019
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0151
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0136
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0108
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0092
                        }
                      ],
                      "others": -0.015,
                      "total": 7.0015,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "punches",
                          "margin": 0.019041
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.01506
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.013555
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.010824
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.009229
                        }
                      ],
                      "others_margin": -0.01506
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "role_matches": 43,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0042, quality 0.641)",
              "stats": {
                "saves": 2.9236,
                "goals_prevented": -0.0674,
                "rating": 7.0015,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0931,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0042,
                "reference_quality": 0.505,
                "history_matches": 43,
                "history_shrink": 0.1042,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0135)",
              "stats": {
                "saves": 2.9382,
                "goals_prevented": -0.0674,
                "rating": 7.0015,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145
              },
              "params": {
                "blend_weight": 0.0135,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.9236,
                  "after": 2.9382
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.9382,
                "goals_prevented": -0.0674,
                "rating": 7.0015,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145
              },
              "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.9382,
                "goals_prevented": -0.0674,
                "rating": 7.0015,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.0083,
                "shots_faced": 9.6,
                "expected_saves": 2.35,
                "high_pressure_saves": 0.81,
                "opponent_faced": "Hugo Duro, Javier Guerra",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Hugo Duro, Javier Guerra",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.0083
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.9382,
                "goals_prevented": -0.0674,
                "rating": 7.0015,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.0083,
                "shots_faced": 9.6,
                "expected_saves": 2.35,
                "high_pressure_saves": 0.81,
                "opponent_faced": "Hugo Duro, Javier Guerra",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "saves": 2.9382,
                "goals_prevented": -0.0674,
                "rating": 7.0015,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.0083,
                "shots_faced": 9.4,
                "expected_saves": 2.3,
                "high_pressure_saves": 0.79,
                "opponent_faced": "Hugo Duro, Javier Guerra",
                "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.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 9.6,
                  "after": 9.4
                },
                {
                  "stat": "expected_saves",
                  "before": 2.35,
                  "after": 2.3
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.81,
                  "after": 0.79
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 85.0)",
              "stats": {
                "saves": 2.9382,
                "goals_prevented": -0.0674,
                "rating": 7.0015,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.0083,
                "shots_faced": 9.4,
                "expected_saves": 2.3,
                "high_pressure_saves": 0.79,
                "opponent_faced": "Hugo Duro, Javier Guerra",
                "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": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 323,
                "fifa_rank": 158.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 85.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "saves": 2.9382,
                "goals_prevented": -0.0674,
                "rating": 7.0015,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.0083,
                "shots_faced": 9.4,
                "expected_saves": 2.3,
                "high_pressure_saves": 0.79,
                "opponent_faced": "Hugo Duro, Javier Guerra",
                "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": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "saves": 2.9382,
                "goals_prevented": -0.0674,
                "rating": 7.0015,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.0083,
                "shots_faced": 9.4,
                "expected_saves": 2.3,
                "high_pressure_saves": 0.79,
                "opponent_faced": "Hugo Duro, Javier Guerra",
                "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": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.7312,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0
              }
            }
          ]
        },
        "Peio Canales": {
          "player_id": 1464648,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 28,
          "height": 175,
          "market_value": 9700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0881,
            "assist_rate": 0.0824,
            "assists": 0,
            "expected_goals": 0.0853,
            "goal_rate": 0.0957,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9079,
            "minutes": 88,
            "total_pass": 31,
            "accurate_pass": 27,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 14,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 39,
            "possession_lost": 6.4527,
            "dispossessed": 0.4204,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0175,
            "ball_carries": 14,
            "total_progression": 44,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0622,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.4,
            "crosses_attempted": 2.0,
            "duel_win_rate": 0.522,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Maffeo",
            "opponent_faced": "Pablo Maffeo",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0818,
            "projected_assists": 0,
            "assist_probability": 0.0843,
            "finishing_factor": 1.0512,
            "creation_factor": 0.8559,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 15,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0337,
                "expected_assists": 0.0243,
                "total_shots": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0116,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1649,
                "expected_assists": 0.2617,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 69,
                "accurate_pass": 60,
                "key_pass": 3,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4167,
            "combined_rank_score": 2176.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 856.0,
            "sofascore_rating": 6.5667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3497.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9079,
            "source_file": "data/player_rankings.csv",
            "player_name": "Peio Canales",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carlos Forbs",
                  "ranking": 4162
                },
                {
                  "player_name": "Kees Smit",
                  "ranking": 4163
                },
                {
                  "player_name": "Tjaronn Chery",
                  "ranking": 4164
                },
                {
                  "player_name": "Nick Olij",
                  "ranking": 4165
                },
                {
                  "player_name": "Anel Ahmedhodžić",
                  "ranking": 4166
                }
              ],
              "lower": [
                {
                  "player_name": "Vasilios Barkas",
                  "ranking": 4168
                },
                {
                  "player_name": "Charles Vanhoutte",
                  "ranking": 4169
                },
                {
                  "player_name": "Allan",
                  "ranking": 4170
                },
                {
                  "player_name": "Yoann Cathline",
                  "ranking": 4171
                },
                {
                  "player_name": "Mika Mármol",
                  "ranking": 4172
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.523,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.523,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0023,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 206.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.31,
              "shots_on_target_pct": 66.7,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.15, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.1763,
                "expected_assists": 0.1045,
                "assists": 0.087,
                "assist_rate": 0.087,
                "expected_goals": 0.0832,
                "goals": 0.0952,
                "goal_rate": 0.0952,
                "shots_on_target": 0.3546,
                "total_shots": 1.038,
                "rating": 6.9079,
                "minutes": 88.0,
                "total_pass": 30.5706,
                "accurate_pass": 26.6685,
                "duels_won": 2.6498,
                "total_long_balls": 1.2398,
                "accurate_long_balls": 0.6276,
                "total_own_half_passes": 13.0746,
                "accurate_own_half_passes": 12.4624,
                "total_opp_half_passes": 17.496,
                "accurate_opp_half_passes": 14.206,
                "crosses_total": 1.1527,
                "crosses_accurate": 0.1927,
                "touches": 38.5587,
                "possession_lost": 6.4379,
                "dispossessed": 0.4194,
                "duels_lost": 1.8025,
                "aerial_won": 0.3138,
                "aerial_lost": 0.0,
                "interceptions": 0.2267,
                "tackles_won": 0.4535,
                "tackles": 0.4535,
                "clearances": 0.2667,
                "total_contest": 1.5418,
                "won_contest": 0.7709,
                "challenges_lost": 0.4194,
                "fouls": 0.1927,
                "fouls_drawn": 1.1116,
                "blocks": 0.0,
                "big_chances_created": 0.2809,
                "big_chances_missed": 0.0,
                "xgot": 0.0171,
                "ball_carries": 14.0123,
                "total_progression": 44.0953,
                "progressive_carries": 1.0847,
                "shots_off_target": 0.6834
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.892,
                  "creative_index": 0.4848,
                  "expectedGoals": 0.0424,
                  "expectedAssists": 0.0622,
                  "onTargetScoringAttempt": 0.3854
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.176296353340149,
                    "model_output": 1.1763,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1241
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0907
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.034
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0266
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0265
                        }
                      ],
                      "others": 0.1024,
                      "total": 1.1763,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130099
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.085439
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.031169
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.024507
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.024337
                        }
                      ],
                      "others_margin": 0.091021
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10448192805051804,
                    "model_output": 0.1045,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0121
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0053
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0045
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0036
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.0166,
                      "total": 0.1045,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.13227
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.055228
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.049806
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.04052
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.039855
                        }
                      ],
                      "others_margin": 0.170958
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08699589967727661,
                    "model_output": 0.087,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0081
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0073
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0058
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0061
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0045
                        }
                      ],
                      "others": 0.0078,
                      "total": 0.087,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.097658
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.096827
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.078235
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.075272
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.055396
                        }
                      ],
                      "others_margin": 0.093552
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08324510604143143,
                    "model_output": 0.0832,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0127
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0124
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0082
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0047
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0025
                        }
                      ],
                      "others": -0.0104,
                      "total": 0.0832,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126043
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.123703
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.090764
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.053512
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.027319
                        }
                      ],
                      "others_margin": -0.117046
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09518551081418991,
                    "model_output": 0.0952,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0125
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0103
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0103
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0093
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.006
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0952,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.136586
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.113917
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.102428
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.092412
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.060654
                        }
                      ],
                      "others_margin": -0.074982
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.35460469126701355,
                    "model_output": 0.3546,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0506
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0373
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0298
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0246
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0171
                        }
                      ],
                      "others": -0.0217,
                      "total": 0.3546,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.144396
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.104506
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.084372
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.06453
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.044392
                        }
                      ],
                      "others_margin": -0.059463
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0379858016967773,
                    "model_output": 1.038,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1544
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.062
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0453
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0205
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0199
                        }
                      ],
                      "others": -0.0548,
                      "total": 1.038,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.154425
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.061962
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.045339
                        },
                        {
                          "name": "goals",
                          "margin": -0.020486
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.019873
                        }
                      ],
                      "others_margin": -0.054992
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9079365730285645,
                    "model_output": 6.9079,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0452
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0438
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0379
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0188
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0158
                        }
                      ],
                      "others": -0.0163,
                      "total": 6.9079,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.045247
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.043758
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.037916
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.018818
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.015821
                        }
                      ],
                      "others_margin": -0.016185
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 4,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0023, quality 0.519)",
              "stats": {
                "key_pass": 1.179,
                "expected_assists": 0.1047,
                "assists": 0.0872,
                "assist_rate": 0.0872,
                "expected_goals": 0.0834,
                "goals": 0.0954,
                "goal_rate": 0.0954,
                "shots_on_target": 0.3554,
                "total_shots": 1.0404,
                "rating": 6.9079,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1554,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2272,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.1931,
                "fouls_drawn": 1.1142,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0171,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.685
              },
              "params": {
                "market_value_eur": 9700000,
                "quality_factor": 0.5189,
                "boost_factor": 1.0023,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0554)",
              "stats": {
                "key_pass": 1.179,
                "expected_assists": 0.1047,
                "assists": 0.0824,
                "assist_rate": 0.0824,
                "expected_goals": 0.0834,
                "goals": 0.0901,
                "goal_rate": 0.0901,
                "shots_on_target": 0.3828,
                "total_shots": 1.0537,
                "rating": 6.9079,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4764,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0171,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.685
              },
              "params": {
                "blend_weight": 0.0554,
                "history_matches": 4,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9778,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.1142,
                  "after": 1.1467
                },
                {
                  "stat": "totalCross",
                  "before": 1.1554,
                  "after": 1.1856
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3554,
                  "after": 0.3828
                },
                {
                  "stat": "wonTackle",
                  "before": 0.4545,
                  "after": 0.4764
                },
                {
                  "stat": "totalShots",
                  "before": 1.0404,
                  "after": 1.0537
                },
                {
                  "stat": "fouls",
                  "before": 0.1931,
                  "after": 0.2059
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.2272,
                  "after": 0.2382
                },
                {
                  "stat": "goals",
                  "before": 0.0954,
                  "after": 0.0901
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.179,
                "expected_assists": 0.1047,
                "assists": 0.0824,
                "assist_rate": 0.0824,
                "expected_goals": 0.0834,
                "goals": 0.0901,
                "goal_rate": 0.0901,
                "shots_on_target": 0.3828,
                "total_shots": 1.0678,
                "rating": 6.9079,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0171,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.685
              },
              "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.179,
                "expected_assists": 0.1047,
                "assists": 0.0824,
                "assist_rate": 0.0824,
                "expected_goals": 0.0886,
                "goals": 0.0957,
                "goal_rate": 0.0957,
                "shots_on_target": 0.4066,
                "total_shots": 1.1342,
                "rating": 6.9079,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0182,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7276,
                "duel_xg_multiplier": 1.0622,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.522,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Maffeo",
                "opponent_faced": "Pablo Maffeo",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Maffeo",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.522,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0622,
                  "skill_edge": 0.0343,
                  "height_edge": 0.008,
                  "attacker_skill": 0.5189,
                  "defender_skill": 0.4428,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pablo Maffeo",
                      "market_value": 2400000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4428
                    }
                  ],
                  "xg_override": 0.0886
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.3145,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.0678,
                  "after": 1.1342
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.685,
                  "after": 0.7276
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3828,
                  "after": 0.4066
                },
                {
                  "stat": "goals",
                  "before": 0.0901,
                  "after": 0.0957
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0834,
                  "after": 0.0886
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.179,
                "expected_assists": 0.1047,
                "assist_rate": 0.0824,
                "assists": 0,
                "expected_goals": 0.0886,
                "goal_rate": 0.0957,
                "goals": 0,
                "shots_on_target": 0.4066,
                "total_shots": 1.1342,
                "rating": 6.9079,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0182,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7276,
                "duel_xg_multiplier": 1.0622,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.522,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Maffeo",
                "opponent_faced": "Pablo Maffeo",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.179,
                "expected_assists": 0.0881,
                "assist_rate": 0.0824,
                "assists": 0,
                "expected_goals": 0.0853,
                "goal_rate": 0.0957,
                "goals": 0,
                "shots_on_target": 0.4066,
                "total_shots": 1.1342,
                "rating": 6.9079,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0175,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7276,
                "duel_xg_multiplier": 1.0622,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.522,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Maffeo",
                "opponent_faced": "Pablo Maffeo",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0512,
                "creation_factor": 0.8559
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1047,
                  "after": 0.0881
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 73.0)",
              "stats": {
                "key_pass": 1.179,
                "expected_assists": 0.0881,
                "assist_rate": 0.0824,
                "assists": 0,
                "expected_goals": 0.0853,
                "goal_rate": 0.0957,
                "goals": 0,
                "shots_on_target": 0.4066,
                "total_shots": 1.1342,
                "rating": 6.9079,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0175,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7276,
                "duel_xg_multiplier": 1.0622,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.522,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Maffeo",
                "opponent_faced": "Pablo Maffeo",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0512,
                "creation_factor": 0.8559,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4167,
                "fifa_rank": 3497.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.179,
                "expected_assists": 0.0881,
                "assist_rate": 0.0824,
                "assists": 0,
                "expected_goals": 0.0853,
                "goal_rate": 0.0957,
                "goals": 0,
                "shots_on_target": 0.4066,
                "total_shots": 1.1342,
                "rating": 6.9079,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0175,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7276,
                "duel_xg_multiplier": 1.0622,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.522,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Maffeo",
                "opponent_faced": "Pablo Maffeo",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0818,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0512,
                "creation_factor": 0.8559,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0818,
                "goal_rate": 0.0957,
                "scorer_weight": 0.0897,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0824,
                "finishing_factor": 1.0512,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1.179,
                "expected_assists": 0.0881,
                "assist_rate": 0.0824,
                "assists": 0,
                "expected_goals": 0.0853,
                "goal_rate": 0.0957,
                "goals": 0,
                "shots_on_target": 0.4066,
                "total_shots": 1.1342,
                "rating": 6.9079,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0175,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7276,
                "duel_xg_multiplier": 1.0622,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.522,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Maffeo",
                "opponent_faced": "Pablo Maffeo",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0818,
                "projected_assists": 0,
                "assist_probability": 0.0843,
                "finishing_factor": 1.0512,
                "creation_factor": 0.8559,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0843,
                "assist_rate": 0.0824,
                "provider_weight": 0.0754,
                "squad_weight_total": 0.7312,
                "weight_share": 0.1031,
                "creation_factor": 0.8559,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12
              }
            }
          ]
        },
        "Álex Berenguer": {
          "player_id": 592012,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 7,
          "height": 175,
          "market_value": 4099999,
          "stats": {
            "expected_goals": 0.126,
            "goal_rate": 0.1583,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0929,
            "key_pass": 1,
            "rating": 6.8141,
            "minutes": 83,
            "total_pass": 32,
            "accurate_pass": 24,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 17,
            "crosses_total": 6,
            "crosses_accurate": 1,
            "touches": 55,
            "possession_lost": 19.3186,
            "dispossessed": 1.7208,
            "duels_lost": 7,
            "aerial_lost": 2,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0223,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1909,
            "offsides": 0,
            "ball_carries": 14,
            "total_progression": 54,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8917,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
            "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1184,
            "projected_assists": 0,
            "assist_probability": 0.0887,
            "finishing_factor": 1.1515,
            "creation_factor": 0.8,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.017,
                "expected_assists": 0.1394,
                "total_shots": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 18,
                "rating": 7.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.234,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 2,
                "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": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4,
                "tackles": 1,
                "interceptions": 2,
                "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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.089,
                "expected_assists": 0.4139,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 29,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 30,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.028,
                "expected_assists": 0.0496,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 3,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.052,
                "expected_assists": 0.1058,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 49,
                "accurate_pass": 42,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 82,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0421,
                "expected_assists": 0.0304,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3488,
                "expected_assists": 0.0676,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 25,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1179,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 12,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 20,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0562,
                "expected_assists": 0.0632,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 8,
                "key_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 600,
            "combined_rank_score": 436.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 310.0,
            "sofascore_rating": 7.0333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 563.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8141,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álex Berenguer",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Claudio Sepúlveda",
                  "ranking": 595
                },
                {
                  "player_name": "Juan Manuel Requena",
                  "ranking": 596
                },
                {
                  "player_name": "Siavash Haghnazari",
                  "ranking": 597
                },
                {
                  "player_name": "Andreas Pereira",
                  "ranking": 598
                },
                {
                  "player_name": "Pavel Zabelin",
                  "ranking": 599
                }
              ],
              "lower": [
                {
                  "player_name": "Nonato",
                  "ranking": 601
                },
                {
                  "player_name": "Charles De Ketelaere",
                  "ranking": 602
                },
                {
                  "player_name": "Andrej Kramarić",
                  "ranking": 603
                },
                {
                  "player_name": "Daniel Muñoz",
                  "ranking": 604
                },
                {
                  "player_name": "Nemanja Ćalasan",
                  "ranking": 605
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 37,
          "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": 37,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9981,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 211.0,
              "goals_per90": 0.4347826086956522,
              "assists_per90": 0.0,
              "shots_per90": 2.13,
              "shots_on_target_pct": 40.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (F_service) evaluated 37 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.15, gls/90: 0.4347826086956522, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1471,
                "goals": 0.1751,
                "goal_rate": 0.1751,
                "shots_on_target": 0.5132,
                "total_shots": 1.4334,
                "expected_assists": 0.1107,
                "key_pass": 1.2574,
                "rating": 6.8141,
                "minutes": 83.46,
                "total_pass": 31.6036,
                "accurate_pass": 24.528,
                "duels_won": 4.0633,
                "total_long_balls": 3.0489,
                "accurate_long_balls": 1.2622,
                "total_opp_half_passes": 21.9707,
                "accurate_opp_half_passes": 16.5926,
                "crosses_total": 6.4783,
                "crosses_accurate": 1.2089,
                "touches": 55.5786,
                "possession_lost": 19.3554,
                "dispossessed": 1.7241,
                "duels_lost": 6.5371,
                "aerial_lost": 1.5651,
                "total_contest": 2.6704,
                "won_contest": 0.8146,
                "ball_recovery": 4.038,
                "challenges_lost": 0.5605,
                "fouls": 0.9607,
                "fouls_drawn": 0.6399,
                "assists": 0.0226,
                "assist_rate": 0.0226,
                "interceptions": 0.6203,
                "tackles_won": 0.99,
                "tackles": 1.1072,
                "clearances": 0.7311,
                "blocks": 0.0933,
                "big_chances_created": 0.2552,
                "big_chances_missed": 0.1492,
                "xgot": 0.2228,
                "offsides": 0.1147,
                "ball_carries": 14.4307,
                "total_progression": 54.3887,
                "progressive_carries": 2.4358,
                "shots_off_target": 0.9202
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1504,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1278,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 14.2455,
                  "expectedGoals": 0.0655,
                  "accurateOppositionHalfPasses": 10.7586,
                  "accuratePass": 15.889,
                  "totalShots": 1.0163
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1471225470304489,
                    "model_output": 0.1471,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0639
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0519
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0122
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0108
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0085
                        }
                      ],
                      "others": -0.0309,
                      "total": 0.1471,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.280475
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.221455
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.060018
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.056223
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.046552
                        }
                      ],
                      "others_margin": -0.190799
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17510275542736053,
                    "model_output": 0.1751,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0619
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0298
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0131
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0124
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0067
                        }
                      ],
                      "others": -0.0282,
                      "total": 0.1751,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.265659
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.119004
                        },
                        {
                          "name": "goals",
                          "margin": -0.057339
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.057163
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.032312
                        }
                      ],
                      "others_margin": -0.149434
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5132448673248291,
                    "model_output": 0.5132,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1832
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.073
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0301
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0248
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0199
                        }
                      ],
                      "others": -0.0598,
                      "total": 0.5132,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.293234
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.106702
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.047649
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.040987
                        },
                        {
                          "name": "goals",
                          "margin": -0.034163
                        }
                      ],
                      "others_margin": -0.110186
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.4334474802017212,
                    "model_output": 1.4334,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4202
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1528
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0557
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0539
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.043
                        }
                      ],
                      "others": -0.0552,
                      "total": 1.4334,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.420245
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.152792
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.055732
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.053886
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.042952
                        }
                      ],
                      "others_margin": -0.055276
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11065884679555893,
                    "model_output": 0.1107,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0116
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0127
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0094
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0078
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0074
                        }
                      ],
                      "others": -0.0024,
                      "total": 0.1107,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.166405
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.154968
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.101263
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.076894
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.067239
                        }
                      ],
                      "others_margin": -0.022563
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.2574012279510498,
                    "model_output": 1.2574,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1671
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1062
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.1156
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0769
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0585
                        }
                      ],
                      "others": 0.0597,
                      "total": 1.2574,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.221652
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.118974
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.115247
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.069879
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.050097
                        }
                      ],
                      "others_margin": 0.04866
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.814146518707275,
                    "model_output": 6.8141,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.053
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0196
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0173
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.016
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0146
                        }
                      ],
                      "others": -0.0096,
                      "total": 6.8141,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.052983
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.01962
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.017282
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.016033
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.014571
                        }
                      ],
                      "others_margin": -0.009638
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "role_matches": 27,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9981, quality 0.451)",
              "stats": {
                "expected_goals": 0.1468,
                "goals": 0.1748,
                "goal_rate": 0.1748,
                "shots_on_target": 0.5123,
                "total_shots": 1.4308,
                "expected_assists": 0.1104,
                "key_pass": 1.255,
                "rating": 6.8141,
                "minutes": 83.46,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.466,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_lost": 1.5621,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "ball_recovery": 4.0303,
                "challenges_lost": 0.5594,
                "fouls": 0.9589,
                "fouls_drawn": 0.6387,
                "assists": 0.0226,
                "assist_rate": 0.0226,
                "interceptions": 0.6191,
                "tackles_won": 0.9881,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1489,
                "xgot": 0.2224,
                "offsides": 0.1145,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.9185
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511,
                "boost_factor": 0.9981,
                "reference_quality": 0.505,
                "history_matches": 37,
                "history_shrink": 0.119,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0119)",
              "stats": {
                "expected_goals": 0.1468,
                "goals": 0.1775,
                "goal_rate": 0.1775,
                "shots_on_target": 0.5156,
                "total_shots": 1.4373,
                "expected_assists": 0.1104,
                "key_pass": 1.255,
                "rating": 6.8141,
                "minutes": 83.46,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.4706,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_lost": 1.5621,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "ball_recovery": 4.0303,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "assists": 0.0223,
                "assist_rate": 0.0223,
                "interceptions": 0.6213,
                "tackles_won": 0.9907,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1489,
                "xgot": 0.2224,
                "offsides": 0.1179,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.9185
              },
              "params": {
                "blend_weight": 0.0119,
                "history_matches": 37,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9273,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.4308,
                  "after": 1.4373
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1468,
                "goals": 0.1775,
                "goal_rate": 0.1775,
                "shots_on_target": 0.5156,
                "total_shots": 1.4373,
                "expected_assists": 0.1104,
                "key_pass": 1.255,
                "rating": 6.8141,
                "minutes": 83.46,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.4706,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_lost": 1.5621,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "ball_recovery": 4.0303,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "assists": 0.0223,
                "assist_rate": 0.0223,
                "interceptions": 0.6213,
                "tackles_won": 0.9907,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1489,
                "xgot": 0.2224,
                "offsides": 0.1179,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.9185
              },
              "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.1309,
                "goals": 0.1583,
                "goal_rate": 0.1583,
                "shots_on_target": 0.4598,
                "total_shots": 1.2816,
                "expected_assists": 0.1104,
                "key_pass": 1.255,
                "rating": 6.8141,
                "minutes": 83.46,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.4706,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_lost": 1.5621,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "ball_recovery": 4.0303,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "assists": 0.0223,
                "assist_rate": 0.0223,
                "interceptions": 0.6213,
                "tackles_won": 0.9907,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1328,
                "xgot": 0.1983,
                "offsides": 0.1179,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.819,
                "duel_xg_multiplier": 0.8917,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.8917,
                  "skill_edge": -0.0137,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4511,
                  "defender_skill": 0.4815,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Justin De Haas",
                      "market_value": 7700000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5256
                    },
                    {
                      "player": "Mouctar Diakhaby",
                      "market_value": 1500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1309
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.4373,
                  "after": 1.2816
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9185,
                  "after": 0.819
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5156,
                  "after": 0.4598
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2224,
                  "after": 0.1983
                },
                {
                  "stat": "goals",
                  "before": 0.1775,
                  "after": 0.1583
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1489,
                  "after": 0.1328
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1468,
                  "after": 0.1309
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1309,
                "goal_rate": 0.1583,
                "goals": 0,
                "shots_on_target": 0.4598,
                "total_shots": 1.2816,
                "expected_assists": 0.1104,
                "key_pass": 1.255,
                "rating": 6.8141,
                "minutes": 83.46,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.4706,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_lost": 1.5621,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "ball_recovery": 4.0303,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "assist_rate": 0.0223,
                "assists": 0,
                "interceptions": 0.6213,
                "tackles_won": 0.9907,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1328,
                "xgot": 0.1983,
                "offsides": 0.1179,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.819,
                "duel_xg_multiplier": 0.8917,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.126,
                "goal_rate": 0.1583,
                "goals": 0,
                "shots_on_target": 0.4598,
                "total_shots": 1.2816,
                "expected_assists": 0.0929,
                "key_pass": 1.255,
                "rating": 6.8141,
                "minutes": 83.46,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.4706,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_lost": 1.5621,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "ball_recovery": 4.0303,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "assist_rate": 0.0223,
                "assists": 0,
                "interceptions": 0.6213,
                "tackles_won": 0.9907,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1328,
                "xgot": 0.1909,
                "offsides": 0.1179,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.819,
                "duel_xg_multiplier": 0.8917,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1515,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1104,
                  "after": 0.0929
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 81.0)",
              "stats": {
                "expected_goals": 0.126,
                "goal_rate": 0.1583,
                "goals": 0,
                "shots_on_target": 0.4598,
                "total_shots": 1.2816,
                "expected_assists": 0.0929,
                "key_pass": 1.255,
                "rating": 6.8141,
                "minutes": 83.46,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.4706,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_lost": 1.5621,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "ball_recovery": 4.0303,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "assist_rate": 0.0223,
                "assists": 0,
                "interceptions": 0.6213,
                "tackles_won": 0.9907,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1328,
                "xgot": 0.1909,
                "offsides": 0.1179,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.819,
                "duel_xg_multiplier": 0.8917,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1515,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 600,
                "fifa_rank": 563.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.126,
                "goal_rate": 0.1583,
                "goals": 0,
                "shots_on_target": 0.4598,
                "total_shots": 1.2816,
                "expected_assists": 0.0929,
                "key_pass": 1.255,
                "rating": 6.8141,
                "minutes": 83.46,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.4706,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_lost": 1.5621,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "ball_recovery": 4.0303,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "assist_rate": 0.0223,
                "assists": 0,
                "interceptions": 0.6213,
                "tackles_won": 0.9907,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1328,
                "xgot": 0.1909,
                "offsides": 0.1179,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.819,
                "duel_xg_multiplier": 0.8917,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1184,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1515,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1184,
                "goal_rate": 0.1583,
                "scorer_weight": 0.1451,
                "squad_weight_total": 1.0881,
                "weight_share": 0.1333,
                "finishing_factor": 1.1515,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.126,
                "goal_rate": 0.1583,
                "goals": 0,
                "shots_on_target": 0.4598,
                "total_shots": 1.2816,
                "expected_assists": 0.0929,
                "key_pass": 1.255,
                "rating": 6.8141,
                "minutes": 83.46,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.4706,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_lost": 1.5621,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "ball_recovery": 4.0303,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "assist_rate": 0.0223,
                "assists": 0,
                "interceptions": 0.6213,
                "tackles_won": 0.9907,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1328,
                "xgot": 0.1909,
                "offsides": 0.1179,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.819,
                "duel_xg_multiplier": 0.8917,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1184,
                "projected_assists": 0,
                "assist_probability": 0.0887,
                "finishing_factor": 1.1515,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0887,
                "assist_rate": 0.0223,
                "provider_weight": 0.0743,
                "squad_weight_total": 0.7312,
                "weight_share": 0.1016,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12
              }
            }
          ]
        },
        "Iñaki Williams": {
          "player_id": 783374,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 186,
          "market_value": 7300000,
          "stats": {
            "expected_goals": 0.3355,
            "goal_rate": 0.3863,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0529,
            "key_pass": 1,
            "rating": 6.8176,
            "minutes": 71,
            "total_pass": 12,
            "accurate_pass": 7,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 9.331,
            "dispossessed": 0.7532,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.3586,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2632,
            "offsides": 0,
            "ball_carries": 6,
            "total_progression": 25,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9705,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
            "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.285,
            "projected_assists": 0,
            "assist_probability": 0.0515,
            "finishing_factor": 1.0951,
            "creation_factor": 1.25,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1997,
                "expected_assists": 0.001,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 81,
                "rating": 6.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.3179,
                "expected_assists": 0.0008,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 6,
                "accurate_pass": 1,
                "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": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1691,
                "expected_assists": 0.0271,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 2,
                "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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 65,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.686,
                "expected_assists": 0.0255,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 13,
                "accurate_pass": 8,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 60,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1497,
                "expected_assists": 0.0233,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 12,
                "accurate_pass": 8,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_assists": 0.5147,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 5,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 86,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1391,
                "expected_assists": 0.0493,
                "total_shots": 7,
                "shots_on_target": 3,
                "shots_off_target": 3,
                "total_pass": 17,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "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": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 63,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2513,
                "expected_assists": 0.0395,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "key_pass": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 54,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1708,
                "expected_assists": 0.1005,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 10,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2065,
            "combined_rank_score": 785.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 821.0,
            "sofascore_rating": 6.6033,
            "sofascore_appearances": 30.0,
            "fifa_rank": 749.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8176,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iñaki Williams",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jonas Weissenhofer",
                  "ranking": 2060
                },
                {
                  "player_name": "Manolis Siopis",
                  "ranking": 2061
                },
                {
                  "player_name": "Diego Antonio Sabando Sanhueza",
                  "ranking": 2062
                },
                {
                  "player_name": "Lee Kyu-Min",
                  "ranking": 2063
                },
                {
                  "player_name": "Salem Al Dawsari",
                  "ranking": 2064
                }
              ],
              "lower": [
                {
                  "player_name": "Youssef En-Nesyri",
                  "ranking": 2066
                },
                {
                  "player_name": "Dominic Calvert-Lewin",
                  "ranking": 2067
                },
                {
                  "player_name": "Kim Jong-Seok",
                  "ranking": 2068
                },
                {
                  "player_name": "Ariel Cáceres",
                  "ranking": 2069
                },
                {
                  "player_name": "Lucas Zelarayán",
                  "ranking": 2070
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 36,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 36,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9995,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.5,
              "shots_per90": 2.0,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (F_service) evaluated 36 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.13, gls/90: 0.0, ast/90: 0.5)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3592,
                "goals": 0.4024,
                "goal_rate": 0.4024,
                "shots_on_target": 0.9344,
                "total_shots": 2.2346,
                "expected_assists": 0.0628,
                "key_pass": 0.7052,
                "rating": 6.8176,
                "minutes": 71.2,
                "total_pass": 11.5187,
                "accurate_pass": 7.1582,
                "duels_won": 2.7633,
                "total_long_balls": 0.2868,
                "accurate_long_balls": 0.0072,
                "total_opp_half_passes": 8.8342,
                "accurate_opp_half_passes": 5.0392,
                "crosses_total": 1.2812,
                "crosses_accurate": 0.2304,
                "touches": 23.1005,
                "possession_lost": 9.3357,
                "dispossessed": 0.7536,
                "duels_lost": 4.6675,
                "aerial_lost": 1.4569,
                "total_contest": 1.6364,
                "won_contest": 0.5723,
                "ball_recovery": 1.2328,
                "challenges_lost": 0.3656,
                "fouls": 1.0312,
                "fouls_drawn": 0.6694,
                "assists": 0.3584,
                "assist_rate": 0.3584,
                "interceptions": 0.303,
                "tackles_won": 0.4449,
                "tackles": 0.5521,
                "clearances": 0.4007,
                "blocks": 0.1153,
                "big_chances_created": 0.2983,
                "big_chances_missed": 0.4188,
                "xgot": 0.2818,
                "offsides": 0.301,
                "ball_carries": 6.4897,
                "total_progression": 25.0121,
                "progressive_carries": 1.4453,
                "shots_off_target": 1.3002
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 54.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 8.8199,
                  "expectedGoals": 0.3865,
                  "accurateOppositionHalfPasses": 4.9864,
                  "accuratePass": 6.9765,
                  "totalShots": 2.124
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3591552972793579,
                    "model_output": 0.3592,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0605
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0375
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0157
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0139
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0115
                        }
                      ],
                      "others": 0.0504,
                      "total": 0.3592,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.267172
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.135687
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.051846
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.045816
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.037822
                        }
                      ],
                      "others_margin": 0.151207
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.40244829654693604,
                    "model_output": 0.4024,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0743
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0444
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0208
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0201
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0149
                        }
                      ],
                      "others": 0.0543,
                      "total": 0.4024,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.311245
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.148268
                        },
                        {
                          "name": "goals",
                          "margin": 0.062519
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.056966
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.041954
                        }
                      ],
                      "others_margin": 0.145557
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.9343693256378174,
                    "model_output": 0.9344,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1623
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0553
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0495
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0498
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0325
                        }
                      ],
                      "others": 0.1124,
                      "total": 0.9344,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.26374
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.076032
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.063493
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.060103
                        },
                        {
                          "name": "goals",
                          "margin": -0.038749
                        }
                      ],
                      "others_margin": 0.128047
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.2345340251922607,
                    "model_output": 2.2345,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5019
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1696
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0526
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0409
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0222
                        }
                      ],
                      "others": 0.0735,
                      "total": 2.2345,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.501928
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.169586
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.052616
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.040936
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.022171
                        }
                      ],
                      "others_margin": 0.073455
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06280912458896637,
                    "model_output": 0.0628,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.02
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0124
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0075
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.005
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0032,
                      "total": 0.0628,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.271092
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.158654
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.1105
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.074227
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.048552
                        }
                      ],
                      "others_margin": -0.049756
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.705195426940918,
                    "model_output": 0.7052,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.207
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0759
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0574
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0419
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0149
                        }
                      ],
                      "others": 0.0149,
                      "total": 0.7052,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.268038
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.09013
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.073992
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.057768
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.02139
                        }
                      ],
                      "others_margin": 0.021424
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.817575931549072,
                    "model_output": 6.8176,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0623
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0251
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0217
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0191
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0141
                        }
                      ],
                      "others": -0.0201,
                      "total": 6.8176,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.062271
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.025138
                        },
                        {
                          "name": "rating",
                          "margin": -0.021704
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.019143
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.014095
                        }
                      ],
                      "others_margin": -0.020179
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "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.9995, quality 0.490)",
              "stats": {
                "expected_goals": 0.359,
                "goals": 0.4022,
                "goal_rate": 0.4022,
                "shots_on_target": 0.9339,
                "total_shots": 2.2335,
                "expected_assists": 0.0628,
                "key_pass": 0.7048,
                "rating": 6.8176,
                "minutes": 71.2,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2806,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_lost": 1.4562,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "ball_recovery": 1.2322,
                "challenges_lost": 0.3654,
                "fouls": 1.0307,
                "fouls_drawn": 0.6691,
                "assists": 0.3582,
                "assist_rate": 0.3582,
                "interceptions": 0.3028,
                "tackles_won": 0.4447,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4186,
                "xgot": 0.2817,
                "offsides": 0.3008,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.2995
              },
              "params": {
                "market_value_eur": 7300000,
                "quality_factor": 0.4903,
                "boost_factor": 0.9995,
                "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.0106)",
              "stats": {
                "expected_goals": 0.359,
                "goals": 0.398,
                "goal_rate": 0.398,
                "shots_on_target": 0.9408,
                "total_shots": 2.2266,
                "expected_assists": 0.0628,
                "key_pass": 0.7048,
                "rating": 6.8176,
                "minutes": 71.2,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2754,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_lost": 1.4562,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "ball_recovery": 1.2322,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "assists": 0.3586,
                "assist_rate": 0.3586,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4186,
                "xgot": 0.2817,
                "offsides": 0.3018,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.2995
              },
              "params": {
                "blend_weight": 0.0106,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7911,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9339,
                  "after": 0.9408
                },
                {
                  "stat": "totalShots",
                  "before": 2.2335,
                  "after": 2.2266
                },
                {
                  "stat": "fouls",
                  "before": 1.0307,
                  "after": 1.024
                },
                {
                  "stat": "wasFouled",
                  "before": 0.6691,
                  "after": 0.6746
                },
                {
                  "stat": "totalCross",
                  "before": 1.2806,
                  "after": 1.2754
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.359,
                "goals": 0.398,
                "goal_rate": 0.398,
                "shots_on_target": 0.9408,
                "total_shots": 2.2403,
                "expected_assists": 0.0628,
                "key_pass": 0.7048,
                "rating": 6.8176,
                "minutes": 71.2,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2754,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_lost": 1.4562,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "ball_recovery": 1.2322,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "assists": 0.3586,
                "assist_rate": 0.3586,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4186,
                "xgot": 0.2817,
                "offsides": 0.3018,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.2995
              },
              "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.3484,
                "goals": 0.3863,
                "goal_rate": 0.3863,
                "shots_on_target": 0.913,
                "total_shots": 2.1742,
                "expected_assists": 0.0628,
                "key_pass": 0.7048,
                "rating": 6.8176,
                "minutes": 71.2,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2754,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_lost": 1.4562,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "ball_recovery": 1.2322,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "assists": 0.3586,
                "assist_rate": 0.3586,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4063,
                "xgot": 0.2734,
                "offsides": 0.3018,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.2612,
                "duel_xg_multiplier": 0.9705,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9705,
                  "skill_edge": 0.0039,
                  "height_edge": -0.024,
                  "attacker_skill": 0.4903,
                  "defender_skill": 0.4815,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Justin De Haas",
                      "market_value": 7700000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5256
                    },
                    {
                      "player": "Mouctar Diakhaby",
                      "market_value": 1500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.3484
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.2403,
                  "after": 2.1742
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2995,
                  "after": 1.2612
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9408,
                  "after": 0.913
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.4186,
                  "after": 0.4063
                },
                {
                  "stat": "goals",
                  "before": 0.398,
                  "after": 0.3863
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.359,
                  "after": 0.3484
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2817,
                  "after": 0.2734
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.3484,
                "goal_rate": 0.3863,
                "goals": 0,
                "shots_on_target": 0.913,
                "total_shots": 2.1742,
                "expected_assists": 0.0628,
                "key_pass": 0.7048,
                "rating": 6.8176,
                "minutes": 71.2,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2754,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_lost": 1.4562,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "ball_recovery": 1.2322,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "assist_rate": 0.3586,
                "assists": 0,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4063,
                "xgot": 0.2734,
                "offsides": 0.3018,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.2612,
                "duel_xg_multiplier": 0.9705,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.3355,
                "goal_rate": 0.3863,
                "goals": 0,
                "shots_on_target": 0.913,
                "total_shots": 2.1742,
                "expected_assists": 0.0529,
                "key_pass": 0.7048,
                "rating": 6.8176,
                "minutes": 71.2,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2754,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_lost": 1.4562,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "ball_recovery": 1.2322,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "assist_rate": 0.3586,
                "assists": 0,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4063,
                "xgot": 0.2632,
                "offsides": 0.3018,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.2612,
                "duel_xg_multiplier": 0.9705,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0951,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3484,
                  "after": 0.3355
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0628,
                  "after": 0.0529
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 80.0)",
              "stats": {
                "expected_goals": 0.3355,
                "goal_rate": 0.3863,
                "goals": 0,
                "shots_on_target": 0.913,
                "total_shots": 2.1742,
                "expected_assists": 0.0529,
                "key_pass": 0.7048,
                "rating": 6.8176,
                "minutes": 71.2,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2754,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_lost": 1.4562,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "ball_recovery": 1.2322,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "assist_rate": 0.3586,
                "assists": 0,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4063,
                "xgot": 0.2632,
                "offsides": 0.3018,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.2612,
                "duel_xg_multiplier": 0.9705,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0951,
                "creation_factor": 1.25,
                "fifa_overall": 80.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": 2065,
                "fifa_rank": 749.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.3355,
                "goal_rate": 0.3863,
                "goals": 0,
                "shots_on_target": 0.913,
                "total_shots": 2.1742,
                "expected_assists": 0.0529,
                "key_pass": 0.7048,
                "rating": 6.8176,
                "minutes": 71.2,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2754,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_lost": 1.4562,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "ball_recovery": 1.2322,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "assist_rate": 0.3586,
                "assists": 0,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4063,
                "xgot": 0.2632,
                "offsides": 0.3018,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.2612,
                "duel_xg_multiplier": 0.9705,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.285,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0951,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.285,
                "goal_rate": 0.3863,
                "scorer_weight": 0.3674,
                "squad_weight_total": 1.0881,
                "weight_share": 0.3377,
                "finishing_factor": 1.0951,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.3355,
                "goal_rate": 0.3863,
                "goals": 0,
                "shots_on_target": 0.913,
                "total_shots": 2.1742,
                "expected_assists": 0.0529,
                "key_pass": 0.7048,
                "rating": 6.8176,
                "minutes": 71.2,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2754,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_lost": 1.4562,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "ball_recovery": 1.2322,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "assist_rate": 0.3586,
                "assists": 0,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4063,
                "xgot": 0.2632,
                "offsides": 0.3018,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.2612,
                "duel_xg_multiplier": 0.9705,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Justin De Haas, Mouctar Diakhaby",
                "opponent_faced": "Justin De Haas, Mouctar Diakhaby",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.285,
                "projected_assists": 0,
                "assist_probability": 0.0515,
                "finishing_factor": 1.0951,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0515,
                "assist_rate": 0.3586,
                "provider_weight": 0.0661,
                "squad_weight_total": 0.7312,
                "weight_share": 0.0904,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12
              }
            }
          ]
        }
      },
      "bench_players": {
        "Alex Padilla": {
          "player_id": 1155116,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 190,
          "market_value": 3100000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.0027,
            "rating": 7.1762,
            "minutes": 4,
            "total_pass": 5,
            "accurate_pass": 2,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "touches": 6,
            "clearances": 0,
            "ball_recovery": 1,
            "high_claims": 0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 3.1862,
            "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": 0,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 11,
                "ball_recovery": 7,
                "saves": 4,
                "goals_prevented": -1.8191
              },
              "has_player_stats": true,
              "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": 5722,
            "combined_rank_score": 3995.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 1018.0,
            "sofascore_rating": 5.1,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6972.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1762,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alex Padilla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Elmin Rastoder",
                  "ranking": 5717
                },
                {
                  "player_name": "Max Bird",
                  "ranking": 5718
                },
                {
                  "player_name": "Rob Atkinson",
                  "ranking": 5719
                },
                {
                  "player_name": "Tariq Lamptey",
                  "ranking": 5720
                },
                {
                  "player_name": "Liberato Cacace",
                  "ranking": 5721
                }
              ],
              "lower": [
                {
                  "player_name": "Jordan Beyer",
                  "ranking": 5723
                },
                {
                  "player_name": "Nathan Wood",
                  "ranking": 5724
                },
                {
                  "player_name": "Tomoki Iwata",
                  "ranking": 5725
                },
                {
                  "player_name": "Harrison Burrows",
                  "ranking": 5726
                },
                {
                  "player_name": "Pelle Mattsson",
                  "ranking": 5727
                }
              ]
            }
          },
          "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.397143516617772,
            "bench_appearance_prob": 0.10896106893717145,
            "market_value_adjustment": 0.9834,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost G_service (1 historical appearances) to 4.4 expected mins (appearance prob 0.11); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.9265,
                "goals_prevented": 0.0175,
                "rating": 7.1762,
                "minutes": 28.5,
                "total_pass": 31.0,
                "accurate_pass": 11.0,
                "total_long_balls": 27.0,
                "accurate_long_balls": 8.0,
                "touches": 42.0,
                "clearances": 0.0,
                "ball_recovery": 7.0,
                "high_claims": 1.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 2.0,
                "possession_lost": 21.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": 5.0,
                "accurate_own_half_passes": 3.0
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-17T10:04:09.876591+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 5.1
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "accurateLongBalls": 8.0,
                  "save_contribution": 2.1809,
                  "distribution_accuracy": 0.6,
                  "accurateOwnHalfPasses": 3.0,
                  "passValueNormalized": 0.03,
                  "totalOwnHalfPasses": 5.0
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.9265241622924805,
                    "model_output": 2.9265,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2354
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0777
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0682
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0539
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0451
                        }
                      ],
                      "others": 0.0662,
                      "total": 2.9265,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.083406
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.028324
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.024216
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.018732
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.01565
                        }
                      ],
                      "others_margin": 0.022837
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.01752500794827938,
                    "model_output": 0.0175,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0451
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0245
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0179
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.0153
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "contribution": 0.0126
                        }
                      ],
                      "others": 0.0098,
                      "total": 0.0175,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.045149
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.024533
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.017937
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.015299
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "margin": 0.012587
                        }
                      ],
                      "others_margin": 0.009796
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.176156520843506,
                    "model_output": 7.1762,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.119
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0347
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "contribution": 0.0335
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0321
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0242
                        }
                      ],
                      "others": -0.0005,
                      "total": 7.1762,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.11904
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.034663
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "margin": 0.033533
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.032102
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": 0.024235
                        }
                      ],
                      "others_margin": -0.000616
                    }
                  }
                ],
                "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.9834, quality 0.439)",
              "stats": {
                "saves": 2.8779,
                "goals_prevented": 0.0172,
                "rating": 7.1762,
                "minutes": 28.5,
                "total_pass": 30.4854,
                "accurate_pass": 10.8174,
                "total_long_balls": 26.5518,
                "accurate_long_balls": 7.8672,
                "touches": 41.3028,
                "clearances": 0.0,
                "ball_recovery": 6.8838,
                "high_claims": 0.9834,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 1.9668,
                "possession_lost": 20.6514,
                "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": 4.917,
                "accurate_own_half_passes": 2.9502
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387,
                "boost_factor": 0.9834,
                "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.444,
                "goals_prevented": 0.0027,
                "rating": 7.1762,
                "minutes": 4.4,
                "total_pass": 4.7035,
                "accurate_pass": 1.669,
                "total_long_balls": 4.0966,
                "accurate_long_balls": 1.2138,
                "touches": 6.3724,
                "clearances": 0.0,
                "ball_recovery": 1.0621,
                "high_claims": 0.1517,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.3034,
                "possession_lost": 3.1862,
                "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": 0.7586,
                "accurate_own_half_passes": 0.4552,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "expected_minutes": 4.4,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1543,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.444,
                "goals_prevented": 0.0027,
                "rating": 7.1762,
                "minutes": 4.4,
                "total_pass": 4.7035,
                "accurate_pass": 1.669,
                "total_long_balls": 4.0966,
                "accurate_long_balls": 1.2138,
                "touches": 6.3724,
                "clearances": 0.0,
                "ball_recovery": 1.0621,
                "high_claims": 0.1517,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.3034,
                "possession_lost": 3.1862,
                "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": 0.7586,
                "accurate_own_half_passes": 0.4552,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.444,
                "goals_prevented": 0.0027,
                "rating": 7.1762,
                "minutes": 4.4,
                "total_pass": 4.7035,
                "accurate_pass": 1.669,
                "total_long_balls": 4.0966,
                "accurate_long_balls": 1.2138,
                "touches": 6.3724,
                "clearances": 0.0,
                "ball_recovery": 1.0621,
                "high_claims": 0.1517,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.3034,
                "possession_lost": 3.1862,
                "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": 0.7586,
                "accurate_own_half_passes": 0.4552,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.109,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 69.0)",
              "stats": {
                "saves": 0.444,
                "goals_prevented": 0.0027,
                "rating": 7.1762,
                "minutes": 4.4,
                "total_pass": 4.7035,
                "accurate_pass": 1.669,
                "total_long_balls": 4.0966,
                "accurate_long_balls": 1.2138,
                "touches": 6.3724,
                "clearances": 0.0,
                "ball_recovery": 1.0621,
                "high_claims": 0.1517,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.3034,
                "possession_lost": 3.1862,
                "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": 0.7586,
                "accurate_own_half_passes": 0.4552,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5722,
                "fifa_rank": 6972.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Dani Vivian": {
          "player_id": 910978,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 3,
          "height": 183,
          "market_value": 18200000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.739,
            "minutes": 14,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 0,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 2.3553,
            "dispossessed": 0.5642,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0023,
            "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.33,
            "bench_expected_minutes": 14.27,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 19,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "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": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0528,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 18,
                "accurate_pass": 16,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 36,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0348,
                "expected_assists": 0.0077,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 56,
                "accurate_pass": 49,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 15,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "clearances": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083102,
              "match_date": "2026-04-12",
              "home_team": "Athletic Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.164,
                "total_shots": 0,
                "total_pass": 84,
                "accurate_pass": 77,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081813,
              "match_date": "2026-04-05",
              "home_team": "Getafe",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0314,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 51,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083657,
              "match_date": "2026-03-22",
              "home_team": "Athletic Club",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0431,
                "expected_assists": 0.0046,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 28,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083632,
              "match_date": "2026-03-14",
              "home_team": "Girona FC",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0206,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 62,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083597,
              "match_date": "2026-03-07",
              "home_team": "Athletic Club",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0193,
                "expected_assists": 0.0587,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 7,
                "duels_won": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2014,
            "combined_rank_score": 938.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 766.0,
            "sofascore_rating": 6.6484,
            "sofascore_appearances": 31.0,
            "fifa_rank": 1110.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.739,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Vivian",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Egor Khvalko",
                  "ranking": 2009
                },
                {
                  "player_name": "Vladislav Malkevich",
                  "ranking": 2010
                },
                {
                  "player_name": "Ayoub El Kaabi",
                  "ranking": 2011
                },
                {
                  "player_name": "Viktor Tsygankov",
                  "ranking": 2012
                },
                {
                  "player_name": "Brennan Johnson",
                  "ranking": 2013
                }
              ],
              "lower": [
                {
                  "player_name": "Joaquín Larrivey",
                  "ranking": 2015
                },
                {
                  "player_name": "Dominik Livaković",
                  "ranking": 2016
                },
                {
                  "player_name": "Alexander Nübel",
                  "ranking": 2017
                },
                {
                  "player_name": "Domingos Duarte",
                  "ranking": 2018
                },
                {
                  "player_name": "Davide Frattesi",
                  "ranking": 2019
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 31,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 31,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 14.267480644499035,
            "bench_appearance_prob": 0.3303400292954107,
            "market_value_adjustment": 1.0045,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (31 historical appearances) to 14.3 expected mins (appearance prob 0.33)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3751,
                "tackles": 0.6771,
                "tackles_won": 0.3789,
                "clearances": 1.362,
                "aerial_won": 0.3717,
                "total_shots": 0.1794,
                "rating": 6.739,
                "minutes": 30.27,
                "total_pass": 22.1234,
                "accurate_pass": 19.0495,
                "duels_won": 0.6696,
                "total_long_balls": 3.6356,
                "accurate_long_balls": 1.2313,
                "total_own_half_passes": 11.5335,
                "accurate_own_half_passes": 11.2526,
                "total_opp_half_passes": 10.5899,
                "accurate_opp_half_passes": 7.7969,
                "crosses_total": 0.6696,
                "crosses_accurate": 0.0,
                "touches": 28.7502,
                "possession_lost": 4.9747,
                "dispossessed": 0.5617,
                "duels_lost": 1.62,
                "aerial_lost": 0.7775,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.62,
                "challenges_lost": 0.0,
                "fouls": 0.2809,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0048,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 8.1856,
                "total_progression": 38.8873,
                "progressive_carries": 1.0811,
                "key_pass": 0.0,
                "shots_off_target": 0.1794
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1091,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0927,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0788,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-07",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 3.8385,
                  "aerialWon": 0.8387,
                  "totalClearance_p90": 6.8543,
                  "totalTackle": 1.6876,
                  "defensive_actions": 2.342
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.37509652972221375,
                    "model_output": 0.3751,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4727
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0331
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0223
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0102
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0031,
                      "total": 0.3751,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.796619
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.08917
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.060977
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.026664
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.024629
                        }
                      ],
                      "others_margin": -0.007988
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6771298050880432,
                    "model_output": 0.6771,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7736
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0261
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.024
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.021
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.017
                        }
                      ],
                      "others": 0.0051,
                      "total": 0.6771,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.811823
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.04132
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.036623
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.03093
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.024946
                        }
                      ],
                      "others_margin": 0.007617
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.37888890504837036,
                    "model_output": 0.3789,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4838
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0196
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0195
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0192
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0099
                        }
                      ],
                      "others": -0.0007,
                      "total": 0.3789,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.83561
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.054397
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.054014
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.050583
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.025681
                        }
                      ],
                      "others_margin": -0.001793
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.3620333671569824,
                    "model_output": 1.362,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1724
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1807
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0733
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0377
                        },
                        {
                          "name": "errorLeadToAGoal",
                          "contribution": 0.0354
                        }
                      ],
                      "others": -0.15,
                      "total": 1.362,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -1.001992
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.13396
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.049596
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.025189
                        },
                        {
                          "name": "errorLeadToAGoal",
                          "margin": 0.023707
                        }
                      ],
                      "others_margin": -0.10446
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.3717395067214966,
                    "model_output": 0.3717,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8705
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.104
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0347
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0218
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0171
                        }
                      ],
                      "others": -0.0705,
                      "total": 0.3717,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.999808
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.229651
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.082664
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.04869
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.037894
                        }
                      ],
                      "others_margin": -0.173696
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.17939116060733795,
                    "model_output": 0.1794,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2373
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0216
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0103
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0089
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0073
                        }
                      ],
                      "others": -0.0303,
                      "total": 0.1794,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.237307
                        },
                        {
                          "name": "rating",
                          "margin": -0.02157
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.010299
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.008935
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.007271
                        }
                      ],
                      "others_margin": -0.030326
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7390360832214355,
                    "model_output": 6.739,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0142
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0134
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0081
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0081
                        }
                      ],
                      "others": -0.027,
                      "total": 6.739,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.019485
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.014192
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013432
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.008104
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.008059
                        }
                      ],
                      "others_margin": -0.026986
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 31,
                  "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.0045, quality 0.613)",
              "stats": {
                "interceptions": 0.3768,
                "tackles": 0.6802,
                "tackles_won": 0.3806,
                "clearances": 1.3682,
                "aerial_won": 0.3734,
                "total_shots": 0.1802,
                "rating": 6.739,
                "minutes": 30.27,
                "total_pass": 22.223,
                "accurate_pass": 19.1352,
                "duels_won": 0.6726,
                "total_long_balls": 3.652,
                "accurate_long_balls": 1.2368,
                "total_own_half_passes": 11.5854,
                "accurate_own_half_passes": 11.3032,
                "total_opp_half_passes": 10.6376,
                "accurate_opp_half_passes": 7.832,
                "crosses_total": 0.6726,
                "crosses_accurate": 0.0,
                "touches": 28.8796,
                "possession_lost": 4.9971,
                "dispossessed": 0.5642,
                "duels_lost": 1.6273,
                "aerial_lost": 0.781,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.6273,
                "challenges_lost": 0.0,
                "fouls": 0.2822,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0048,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 8.2224,
                "total_progression": 39.0623,
                "progressive_carries": 1.086,
                "key_pass": 0.0,
                "shots_off_target": 0.1802
              },
              "params": {
                "market_value_eur": 18200000,
                "quality_factor": 0.613,
                "boost_factor": 1.0045,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 30.3 to 14.3 expected minutes (appearance prob 0.33)",
              "stats": {
                "interceptions": 0.1776,
                "tackles": 0.3206,
                "tackles_won": 0.1794,
                "clearances": 0.6449,
                "aerial_won": 0.176,
                "total_shots": 0.0849,
                "rating": 6.739,
                "minutes": 14.27,
                "total_pass": 10.4746,
                "accurate_pass": 9.0192,
                "duels_won": 0.317,
                "total_long_balls": 1.7213,
                "accurate_long_balls": 0.583,
                "total_own_half_passes": 5.4607,
                "accurate_own_half_passes": 5.3277,
                "total_opp_half_passes": 5.0139,
                "accurate_opp_half_passes": 3.6915,
                "crosses_total": 0.317,
                "crosses_accurate": 0.0,
                "touches": 13.6121,
                "possession_lost": 2.3553,
                "dispossessed": 0.5642,
                "duels_lost": 0.767,
                "aerial_lost": 0.781,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.767,
                "challenges_lost": 0.0,
                "fouls": 0.133,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0023,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8756,
                "total_progression": 18.4116,
                "progressive_carries": 0.5119,
                "key_pass": 0.0,
                "shots_off_target": 0.0849,
                "bench_appearance_probability": 0.33,
                "bench_expected_minutes": 14.27
              },
              "params": {
                "expected_minutes": 14.27,
                "projection_minutes": 30.27,
                "minutes_scale": 0.4713,
                "appearance_probability": 0.33
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1776,
                "tackles": 0.3206,
                "tackles_won": 0.1794,
                "clearances": 0.6449,
                "aerial_won": 0.176,
                "total_shots": 0.0849,
                "rating": 6.739,
                "minutes": 14.27,
                "total_pass": 10.4746,
                "accurate_pass": 9.0192,
                "duels_won": 0.317,
                "total_long_balls": 1.7213,
                "accurate_long_balls": 0.583,
                "total_own_half_passes": 5.4607,
                "accurate_own_half_passes": 5.3277,
                "total_opp_half_passes": 5.0139,
                "accurate_opp_half_passes": 3.6915,
                "crosses_total": 0.317,
                "crosses_accurate": 0.0,
                "touches": 13.6121,
                "possession_lost": 2.3553,
                "dispossessed": 0.5642,
                "duels_lost": 0.767,
                "aerial_lost": 0.781,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.767,
                "challenges_lost": 0.0,
                "fouls": 0.133,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0023,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8756,
                "total_progression": 18.4116,
                "progressive_carries": 0.5119,
                "key_pass": 0.0,
                "shots_off_target": 0.0849,
                "bench_appearance_probability": 0.33,
                "bench_expected_minutes": 14.27
              },
              "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.1776,
                "tackles": 0.3206,
                "tackles_won": 0.1794,
                "clearances": 0.6449,
                "aerial_won": 0.176,
                "total_shots": 0.0849,
                "rating": 6.739,
                "minutes": 14.27,
                "total_pass": 10.4746,
                "accurate_pass": 9.0192,
                "duels_won": 0.317,
                "total_long_balls": 1.7213,
                "accurate_long_balls": 0.583,
                "total_own_half_passes": 5.4607,
                "accurate_own_half_passes": 5.3277,
                "total_opp_half_passes": 5.0139,
                "accurate_opp_half_passes": 3.6915,
                "crosses_total": 0.317,
                "crosses_accurate": 0.0,
                "touches": 13.6121,
                "possession_lost": 2.3553,
                "dispossessed": 0.5642,
                "duels_lost": 0.767,
                "aerial_lost": 0.781,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.767,
                "challenges_lost": 0.0,
                "fouls": 0.133,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0023,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8756,
                "total_progression": 18.4116,
                "progressive_carries": 0.5119,
                "key_pass": 0.0,
                "shots_off_target": 0.0849,
                "bench_appearance_probability": 0.33,
                "bench_expected_minutes": 14.27,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.33,
                "projected_substitutes": 2,
                "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 78.0)",
              "stats": {
                "interceptions": 0.1776,
                "tackles": 0.3206,
                "tackles_won": 0.1794,
                "clearances": 0.6449,
                "aerial_won": 0.176,
                "total_shots": 0.0849,
                "rating": 6.739,
                "minutes": 14.27,
                "total_pass": 10.4746,
                "accurate_pass": 9.0192,
                "duels_won": 0.317,
                "total_long_balls": 1.7213,
                "accurate_long_balls": 0.583,
                "total_own_half_passes": 5.4607,
                "accurate_own_half_passes": 5.3277,
                "total_opp_half_passes": 5.0139,
                "accurate_opp_half_passes": 3.6915,
                "crosses_total": 0.317,
                "crosses_accurate": 0.0,
                "touches": 13.6121,
                "possession_lost": 2.3553,
                "dispossessed": 0.5642,
                "duels_lost": 0.767,
                "aerial_lost": 0.781,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.767,
                "challenges_lost": 0.0,
                "fouls": 0.133,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0023,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8756,
                "total_progression": 18.4116,
                "progressive_carries": 0.5119,
                "key_pass": 0.0,
                "shots_off_target": 0.0849,
                "bench_appearance_probability": 0.33,
                "bench_expected_minutes": 14.27,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.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": 2014,
                "fifa_rank": 1110.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Aitor Paredes": {
          "player_id": 959872,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 186,
          "market_value": 7100000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.8858,
            "minutes": 14,
            "total_pass": 33,
            "accurate_pass": 30,
            "duels_won": 2,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 14,
            "accurate_opp_half_passes": 12,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 39,
            "possession_lost": 3.1969,
            "dispossessed": 0.0579,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.1201,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.028,
            "expected_assists": 0.0146,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0858,
            "ball_carries": 10,
            "total_progression": 34,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.221,
            "bench_expected_minutes": 13.77,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0264,
                "total_shots": 0,
                "total_pass": 96,
                "accurate_pass": 96,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 45,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 21,
                "tackles": 2,
                "clearances": 4,
                "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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0084,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 49,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 74,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2616,
                "expected_assists": 0.0216,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 70,
                "accurate_pass": 61,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 5,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "interceptions": 2,
                "clearances": 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": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0921,
                "expected_assists": 0.0096,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 71,
                "accurate_pass": 67,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083454,
              "match_date": "2026-02-15",
              "home_team": "Real Oviedo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.096,
                "expected_assists": 0.0026,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 32,
                "accurate_pass": 27,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083260,
              "match_date": "2026-02-08",
              "home_team": "Athletic Club",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2148,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 60,
                "key_pass": 1,
                "interceptions": 4,
                "clearances": 10,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083195,
              "match_date": "2026-02-01",
              "home_team": "Athletic Club",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.077,
                "expected_assists": 0.0155,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 43,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "duels_won": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083127,
              "match_date": "2026-01-24",
              "home_team": "Sevilla",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0688,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 24,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 4,
                "duels_won": 8
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1702,
            "combined_rank_score": 690.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 138.0,
            "sofascore_rating": 7.35,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1243.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8858,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aitor Paredes",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vicente Álvarez",
                  "ranking": 1697
                },
                {
                  "player_name": "Matías Cavalleri",
                  "ranking": 1698
                },
                {
                  "player_name": "Arthur Theate",
                  "ranking": 1699
                },
                {
                  "player_name": "Javokhir Kakhramonov",
                  "ranking": 1700
                },
                {
                  "player_name": "Wilson Odobert",
                  "ranking": 1701
                }
              ],
              "lower": [
                {
                  "player_name": "Danny Welbeck",
                  "ranking": 1703
                },
                {
                  "player_name": "Angeliño",
                  "ranking": 1704
                },
                {
                  "player_name": "Park Kyu-Min",
                  "ranking": 1705
                },
                {
                  "player_name": "Valentín Vidal",
                  "ranking": 1706
                },
                {
                  "player_name": "Tyler Adams",
                  "ranking": 1707
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "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.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.771804972390745,
            "bench_appearance_prob": 0.221,
            "market_value_adjustment": 0.9991,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.5555555555555556,
              "assists_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "Bench projection scaled from XGBoost D_service (23 historical appearances) to 13.8 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.4184,
                "tackles": 0.5454,
                "tackles_won": 0.3139,
                "clearances": 2.154,
                "aerial_won": 0.872,
                "total_shots": 0.2538,
                "rating": 6.8858,
                "minutes": 23.23,
                "total_pass": 55.0303,
                "accurate_pass": 50.2129,
                "duels_won": 3.2582,
                "total_long_balls": 6.95,
                "accurate_long_balls": 3.9208,
                "total_own_half_passes": 31.4852,
                "accurate_own_half_passes": 30.0023,
                "total_opp_half_passes": 23.5451,
                "accurate_opp_half_passes": 20.2106,
                "crosses_total": 0.2473,
                "crosses_accurate": 0.0,
                "touches": 65.7148,
                "possession_lost": 5.3974,
                "dispossessed": 0.058,
                "duels_lost": 1.6217,
                "aerial_lost": 0.4266,
                "total_contest": 0.0998,
                "won_contest": 0.0998,
                "ball_recovery": 3.8278,
                "challenges_lost": 0.2424,
                "fouls": 0.8947,
                "fouls_drawn": 0.3845,
                "blocks": 0.154,
                "goals": 0.2035,
                "goal_rate": 0.2035,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.0247,
                "shots_on_target": 0.2201,
                "big_chances_created": 0.059,
                "xgot": 0.1449,
                "ball_carries": 16.9308,
                "total_progression": 57.5657,
                "progressive_carries": 0.7274,
                "key_pass": 0.4292,
                "shots_off_target": 0.0337
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1537,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1306,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.111,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0944,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0802,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0682,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-02-15",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.058,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-08",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0493,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0419,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-01-24",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0356,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 5.0232,
                  "aerialWon": 1.5784,
                  "totalClearance_p90": 5.7503,
                  "totalTackle": 1.1954,
                  "defensive_actions": 2.2318
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.4183559715747833,
                    "model_output": 0.4184,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4772
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0231
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0161
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0127
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0081
                        }
                      ],
                      "others": 0.0163,
                      "total": 0.4184,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.808058
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.058475
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.038702
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.030382
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.019971
                        }
                      ],
                      "others_margin": 0.039619
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5454102158546448,
                    "model_output": 0.5454,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.742
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0288
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0165
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0146
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0107
                        }
                      ],
                      "others": -0.0627,
                      "total": 0.5454,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.761956
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.045363
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.026898
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.023859
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.017502
                        }
                      ],
                      "others_margin": -0.108744
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.31388115882873535,
                    "model_output": 0.3139,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4578
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.017
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0147
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0112
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0518,
                      "total": 0.3139,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.7677
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.043901
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.039422
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.030136
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.02748
                        }
                      ],
                      "others_margin": -0.152745
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.1540000438690186,
                    "model_output": 2.154,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0354
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.319
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1685
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0879
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0748
                        }
                      ],
                      "others": 0.1065,
                      "total": 2.154,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.898823
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.205607
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.093639
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.045572
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.037204
                        }
                      ],
                      "others_margin": 0.050772
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.871982753276825,
                    "model_output": 0.872,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7536
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0951
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0448
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0389
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0371
                        }
                      ],
                      "others": 0.1066,
                      "total": 0.872,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.792239
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.141877
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.060517
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.049654
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.047311
                        }
                      ],
                      "others_margin": 0.130383
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.25380638241767883,
                    "model_output": 0.2538,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2375
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0187
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0143
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0143
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0091
                        }
                      ],
                      "others": 0.0072,
                      "total": 0.2538,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.237481
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.018739
                        },
                        {
                          "name": "rating",
                          "margin": 0.014291
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.014256
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.009102
                        }
                      ],
                      "others_margin": 0.007114
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.885788917541504,
                    "model_output": 6.8858,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0257
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0253
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0253
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0215
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.021
                        }
                      ],
                      "others": 0.0329,
                      "total": 6.8858,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.025748
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.025317
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.025301
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.021481
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.021012
                        }
                      ],
                      "others_margin": 0.03286
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 23,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9991, quality 0.488)",
              "stats": {
                "interceptions": 0.418,
                "tackles": 0.5449,
                "tackles_won": 0.3136,
                "clearances": 2.1521,
                "aerial_won": 0.8712,
                "total_shots": 0.2536,
                "rating": 6.8858,
                "minutes": 23.23,
                "total_pass": 54.9808,
                "accurate_pass": 50.1677,
                "duels_won": 3.2553,
                "total_long_balls": 6.9437,
                "accurate_long_balls": 3.9173,
                "total_own_half_passes": 31.4569,
                "accurate_own_half_passes": 29.9753,
                "total_opp_half_passes": 23.5239,
                "accurate_opp_half_passes": 20.1924,
                "crosses_total": 0.2471,
                "crosses_accurate": 0.0,
                "touches": 65.6557,
                "possession_lost": 5.3925,
                "dispossessed": 0.0579,
                "duels_lost": 1.6202,
                "aerial_lost": 0.4262,
                "total_contest": 0.0997,
                "won_contest": 0.0997,
                "ball_recovery": 3.8244,
                "challenges_lost": 0.2422,
                "fouls": 0.8939,
                "fouls_drawn": 0.3842,
                "blocks": 0.1539,
                "goals": 0.2033,
                "goal_rate": 0.2033,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.0247,
                "shots_on_target": 0.2199,
                "big_chances_created": 0.0589,
                "xgot": 0.1448,
                "ball_carries": 16.9156,
                "total_progression": 57.5139,
                "progressive_carries": 0.7267,
                "key_pass": 0.4288,
                "shots_off_target": 0.0337
              },
              "params": {
                "market_value_eur": 7100000,
                "quality_factor": 0.4878,
                "boost_factor": 0.9991,
                "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.0139)",
              "stats": {
                "interceptions": 0.4142,
                "tackles": 0.5449,
                "tackles_won": 0.3132,
                "clearances": 2.1521,
                "aerial_won": 0.8712,
                "total_shots": 0.252,
                "rating": 6.8858,
                "minutes": 23.23,
                "total_pass": 54.9808,
                "accurate_pass": 50.1677,
                "duels_won": 3.2553,
                "total_long_balls": 6.9437,
                "accurate_long_balls": 3.9173,
                "total_own_half_passes": 31.4569,
                "accurate_own_half_passes": 29.9753,
                "total_opp_half_passes": 23.5239,
                "accurate_opp_half_passes": 20.1924,
                "crosses_total": 0.2477,
                "crosses_accurate": 0.0,
                "touches": 65.6557,
                "possession_lost": 5.3925,
                "dispossessed": 0.0579,
                "duels_lost": 1.6202,
                "aerial_lost": 0.4262,
                "total_contest": 0.0997,
                "won_contest": 0.0997,
                "ball_recovery": 3.8244,
                "challenges_lost": 0.2422,
                "fouls": 0.8874,
                "fouls_drawn": 0.3808,
                "blocks": 0.1539,
                "goals": 0.2025,
                "goal_rate": 0.2025,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.0247,
                "shots_on_target": 0.2188,
                "big_chances_created": 0.0589,
                "xgot": 0.1448,
                "ball_carries": 16.9156,
                "total_progression": 57.5139,
                "progressive_carries": 0.7267,
                "key_pass": 0.4288,
                "shots_off_target": 0.0337
              },
              "params": {
                "blend_weight": 0.0139,
                "history_matches": 23,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2581,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.8939,
                  "after": 0.8874
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 23.2 to 13.8 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0.2456,
                "tackles": 0.323,
                "tackles_won": 0.1857,
                "clearances": 1.2759,
                "aerial_won": 0.5165,
                "total_shots": 0.1497,
                "rating": 6.8858,
                "minutes": 13.77,
                "total_pass": 32.5951,
                "accurate_pass": 29.7417,
                "duels_won": 1.9299,
                "total_long_balls": 4.1165,
                "accurate_long_balls": 2.3224,
                "total_own_half_passes": 18.6491,
                "accurate_own_half_passes": 17.7707,
                "total_opp_half_passes": 13.946,
                "accurate_opp_half_passes": 11.971,
                "crosses_total": 0.1468,
                "crosses_accurate": 0.0,
                "touches": 38.9237,
                "possession_lost": 3.1969,
                "dispossessed": 0.0579,
                "duels_lost": 0.9605,
                "aerial_lost": 0.4262,
                "total_contest": 0.0591,
                "won_contest": 0.0591,
                "ball_recovery": 2.2673,
                "challenges_lost": 0.2422,
                "fouls": 0.5261,
                "fouls_drawn": 0.2258,
                "blocks": 0.0912,
                "goals": 0.1201,
                "goal_rate": 0.1201,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.028,
                "expected_assists": 0.0146,
                "shots_on_target": 0.1297,
                "big_chances_created": 0.0349,
                "xgot": 0.0858,
                "ball_carries": 10.0283,
                "total_progression": 34.0969,
                "progressive_carries": 0.4308,
                "key_pass": 0.2542,
                "shots_off_target": 0.02,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.77
              },
              "params": {
                "expected_minutes": 13.77,
                "projection_minutes": 23.23,
                "minutes_scale": 0.5928,
                "appearance_probability": 0.221
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2456,
                "tackles": 0.323,
                "tackles_won": 0.1857,
                "clearances": 1.2759,
                "aerial_won": 0.5165,
                "total_shots": 0.1497,
                "rating": 6.8858,
                "minutes": 13.77,
                "total_pass": 32.5951,
                "accurate_pass": 29.7417,
                "duels_won": 1.9299,
                "total_long_balls": 4.1165,
                "accurate_long_balls": 2.3224,
                "total_own_half_passes": 18.6491,
                "accurate_own_half_passes": 17.7707,
                "total_opp_half_passes": 13.946,
                "accurate_opp_half_passes": 11.971,
                "crosses_total": 0.1468,
                "crosses_accurate": 0.0,
                "touches": 38.9237,
                "possession_lost": 3.1969,
                "dispossessed": 0.0579,
                "duels_lost": 0.9605,
                "aerial_lost": 0.4262,
                "total_contest": 0.0591,
                "won_contest": 0.0591,
                "ball_recovery": 2.2673,
                "challenges_lost": 0.2422,
                "fouls": 0.5261,
                "fouls_drawn": 0.2258,
                "blocks": 0.0912,
                "goals": 0.1201,
                "goal_rate": 0.1201,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.028,
                "expected_assists": 0.0146,
                "shots_on_target": 0.1297,
                "big_chances_created": 0.0349,
                "xgot": 0.0858,
                "ball_carries": 10.0283,
                "total_progression": 34.0969,
                "progressive_carries": 0.4308,
                "key_pass": 0.2542,
                "shots_off_target": 0.02,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.77
              },
              "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.2456,
                "tackles": 0.323,
                "tackles_won": 0.1857,
                "clearances": 1.2759,
                "aerial_won": 0.5165,
                "total_shots": 0.1497,
                "rating": 6.8858,
                "minutes": 13.77,
                "total_pass": 32.5951,
                "accurate_pass": 29.7417,
                "duels_won": 1.9299,
                "total_long_balls": 4.1165,
                "accurate_long_balls": 2.3224,
                "total_own_half_passes": 18.6491,
                "accurate_own_half_passes": 17.7707,
                "total_opp_half_passes": 13.946,
                "accurate_opp_half_passes": 11.971,
                "crosses_total": 0.1468,
                "crosses_accurate": 0.0,
                "touches": 38.9237,
                "possession_lost": 3.1969,
                "dispossessed": 0.0579,
                "duels_lost": 0.9605,
                "aerial_lost": 0.4262,
                "total_contest": 0.0591,
                "won_contest": 0.0591,
                "ball_recovery": 2.2673,
                "challenges_lost": 0.2422,
                "fouls": 0.5261,
                "fouls_drawn": 0.2258,
                "blocks": 0.0912,
                "goal_rate": 0.1201,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.028,
                "expected_assists": 0.0146,
                "shots_on_target": 0.1297,
                "big_chances_created": 0.0349,
                "xgot": 0.0858,
                "ball_carries": 10.0283,
                "total_progression": 34.0969,
                "progressive_carries": 0.4308,
                "key_pass": 0.2542,
                "shots_off_target": 0.02,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.77,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.221,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 78.0)",
              "stats": {
                "interceptions": 0.2456,
                "tackles": 0.323,
                "tackles_won": 0.1857,
                "clearances": 1.2759,
                "aerial_won": 0.5165,
                "total_shots": 0.1497,
                "rating": 6.8858,
                "minutes": 13.77,
                "total_pass": 32.5951,
                "accurate_pass": 29.7417,
                "duels_won": 1.9299,
                "total_long_balls": 4.1165,
                "accurate_long_balls": 2.3224,
                "total_own_half_passes": 18.6491,
                "accurate_own_half_passes": 17.7707,
                "total_opp_half_passes": 13.946,
                "accurate_opp_half_passes": 11.971,
                "crosses_total": 0.1468,
                "crosses_accurate": 0.0,
                "touches": 38.9237,
                "possession_lost": 3.1969,
                "dispossessed": 0.0579,
                "duels_lost": 0.9605,
                "aerial_lost": 0.4262,
                "total_contest": 0.0591,
                "won_contest": 0.0591,
                "ball_recovery": 2.2673,
                "challenges_lost": 0.2422,
                "fouls": 0.5261,
                "fouls_drawn": 0.2258,
                "blocks": 0.0912,
                "goal_rate": 0.1201,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.028,
                "expected_assists": 0.0146,
                "shots_on_target": 0.1297,
                "big_chances_created": 0.0349,
                "xgot": 0.0858,
                "ball_carries": 10.0283,
                "total_progression": 34.0969,
                "progressive_carries": 0.4308,
                "key_pass": 0.2542,
                "shots_off_target": 0.02,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.77,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1702,
                "fifa_rank": 1243.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Mikel Jauregizar": {
          "player_id": 1495844,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 177,
          "market_value": 31000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0132,
            "assist_rate": 0.0437,
            "assists": 0,
            "expected_goals": 0.0184,
            "goal_rate": 0.0402,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7218,
            "minutes": 25,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 4.0087,
            "dispossessed": 0.3336,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0014,
            "ball_carries": 5,
            "total_progression": 9,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.523,
            "bench_expected_minutes": 24.7,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0181,
            "projected_assists": 0,
            "assist_probability": 0.013,
            "finishing_factor": 1.0416,
            "creation_factor": 1.1713,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.0348,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 60,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0334,
                "expected_assists": 0.0042,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 14,
                "tackles": 3,
                "tackles_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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "tackles": 1,
                "interceptions": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "tackles": 4,
                "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": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 85,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0034,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 13,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1908,
                "expected_assists": 0.0838,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 28,
                "accurate_pass": 22,
                "key_pass": 1,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 27,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.047,
                "expected_assists": 0.0045,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0771,
                "expected_assists": 0.242,
                "total_shots": 2,
                "total_pass": 44,
                "accurate_pass": 36,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0216,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 15,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1561,
            "combined_rank_score": 778.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 641.0,
            "sofascore_rating": 6.75,
            "sofascore_appearances": 36.0,
            "fifa_rank": 915.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7218,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mikel Jauregizar",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Seul-chan Lee",
                  "ranking": 1556
                },
                {
                  "player_name": "Yu Dong-Kyu",
                  "ranking": 1557
                },
                {
                  "player_name": "Sunnatillokh Khamidzhonov",
                  "ranking": 1558
                },
                {
                  "player_name": "Ham Sunwoo",
                  "ranking": 1559
                },
                {
                  "player_name": "Fisnik Asllani",
                  "ranking": 1560
                }
              ],
              "lower": [
                {
                  "player_name": "José Tiznado",
                  "ranking": 1562
                },
                {
                  "player_name": "Azizjon Akhrorov",
                  "ranking": 1563
                },
                {
                  "player_name": "Usmonali Ismonaliev",
                  "ranking": 1564
                },
                {
                  "player_name": "Damir Temirov",
                  "ranking": 1565
                },
                {
                  "player_name": "Sadriddin Khasanov",
                  "ranking": 1566
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.761,
          "history_matches": 41,
          "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": 41,
            "data_confidence": 0.761,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 24.7,
            "bench_appearance_prob": 0.523,
            "market_value_adjustment": 1.0072,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 26.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0733
            },
            "rationale": "Bench projection scaled from XGBoost M_service (41 historical appearances) to 24.7 expected mins (appearance prob 0.52); FBref playing time empirical prior: 1.0 sub appearances, 26.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.3583,
                "expected_assists": 0.0297,
                "assists": 0.0434,
                "assist_rate": 0.0434,
                "expected_goals": 0.0362,
                "goals": 0.04,
                "goal_rate": 0.04,
                "shots_on_target": 0.1297,
                "total_shots": 0.3751,
                "rating": 6.7218,
                "minutes": 24.64,
                "total_pass": 16.7019,
                "accurate_pass": 13.7638,
                "duels_won": 2.2922,
                "total_long_balls": 1.8575,
                "accurate_long_balls": 1.3812,
                "total_own_half_passes": 8.8549,
                "accurate_own_half_passes": 7.7985,
                "total_opp_half_passes": 7.847,
                "accurate_opp_half_passes": 5.9653,
                "crosses_total": 0.1656,
                "crosses_accurate": 0.0,
                "touches": 23.1562,
                "possession_lost": 3.9704,
                "dispossessed": 0.3312,
                "duels_lost": 2.2751,
                "aerial_won": 0.6008,
                "aerial_lost": 0.3604,
                "interceptions": 0.9656,
                "tackles_won": 0.728,
                "tackles": 1.152,
                "clearances": 0.3312,
                "total_contest": 0.1656,
                "won_contest": 0.0,
                "challenges_lost": 0.8283,
                "fouls": 0.5896,
                "fouls_drawn": 0.5393,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9562,
                "total_progression": 8.5494,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2454
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7455,
                  "creative_index": 0.2145,
                  "expectedGoals": 0.0306,
                  "expectedAssists": 0.0335,
                  "onTargetScoringAttempt": 0.4392
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.3582855761051178,
                    "model_output": 0.3583,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3844
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0469
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0323
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0212
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.0304,
                      "total": 0.3583,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.562979
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.096666
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.072465
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.05067
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.048916
                        }
                      ],
                      "others_margin": -0.08154
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02971707656979561,
                    "model_output": 0.0297,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0374
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0051
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0026
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0018
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0297,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.573152
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.111176
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.061325
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.044861
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.040574
                        }
                      ],
                      "others_margin": -0.227345
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.043446145951747894,
                    "model_output": 0.0434,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0228
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.006
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0039
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0033
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.005,
                      "total": 0.0434,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.303007
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.09822
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.068751
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062244
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.056256
                        }
                      ],
                      "others_margin": -0.108683
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03622487187385559,
                    "model_output": 0.0362,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0352
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0103
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0054
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0031
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0362,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.467032
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.191358
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.117213
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.069253
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.06508
                        }
                      ],
                      "others_margin": -0.185252
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04003032669425011,
                    "model_output": 0.04,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0301
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0074
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0045
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0127,
                      "total": 0.04,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.367496
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.11507
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.112295
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.088023
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.065351
                        }
                      ],
                      "others_margin": -0.27564
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.12974286079406738,
                    "model_output": 0.1297,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1456
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0161
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0144
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0031
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0141,
                      "total": 0.1297,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.59254
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.093593
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.091975
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.021203
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.0183
                        }
                      ],
                      "others_margin": -0.102903
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3750992715358734,
                    "model_output": 0.3751,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3807
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0646
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0378
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0302
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0212
                        }
                      ],
                      "others": -0.1283,
                      "total": 0.3751,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.380658
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.064604
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.037799
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.030199
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.021158
                        }
                      ],
                      "others_margin": -0.128333
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.721785068511963,
                    "model_output": 6.7218,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0852
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0286
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0104
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0061
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0059
                        }
                      ],
                      "others": -0.0069,
                      "total": 6.7218,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.085186
                        },
                        {
                          "name": "rating",
                          "margin": -0.02855
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.010417
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.006086
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.005911
                        }
                      ],
                      "others_margin": -0.006941
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 41,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0072, quality 0.725)",
              "stats": {
                "key_pass": 0.3609,
                "expected_assists": 0.0299,
                "assists": 0.0438,
                "assist_rate": 0.0438,
                "expected_goals": 0.0365,
                "goals": 0.0403,
                "goal_rate": 0.0403,
                "shots_on_target": 0.1307,
                "total_shots": 0.3779,
                "rating": 6.7218,
                "minutes": 24.64,
                "total_pass": 16.8222,
                "accurate_pass": 13.8629,
                "duels_won": 2.3087,
                "total_long_balls": 1.8709,
                "accurate_long_balls": 1.3911,
                "total_own_half_passes": 8.9187,
                "accurate_own_half_passes": 7.8546,
                "total_opp_half_passes": 7.9035,
                "accurate_opp_half_passes": 6.0083,
                "crosses_total": 0.1668,
                "crosses_accurate": 0.0,
                "touches": 23.3229,
                "possession_lost": 3.999,
                "dispossessed": 0.3336,
                "duels_lost": 2.2915,
                "aerial_won": 0.6051,
                "aerial_lost": 0.363,
                "interceptions": 0.9726,
                "tackles_won": 0.7332,
                "tackles": 1.1603,
                "clearances": 0.3336,
                "total_contest": 0.1668,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5938,
                "fouls_drawn": 0.5432,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9919,
                "total_progression": 8.611,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2472
              },
              "params": {
                "market_value_eur": 31000000,
                "quality_factor": 0.7249,
                "boost_factor": 1.0072,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0052)",
              "stats": {
                "key_pass": 0.3609,
                "expected_assists": 0.0299,
                "assists": 0.0436,
                "assist_rate": 0.0436,
                "expected_goals": 0.0365,
                "goals": 0.0401,
                "goal_rate": 0.0401,
                "shots_on_target": 0.13,
                "total_shots": 0.3759,
                "rating": 6.7218,
                "minutes": 24.64,
                "total_pass": 16.8222,
                "accurate_pass": 13.8629,
                "duels_won": 2.3087,
                "total_long_balls": 1.8709,
                "accurate_long_balls": 1.3911,
                "total_own_half_passes": 8.9187,
                "accurate_own_half_passes": 7.8546,
                "total_opp_half_passes": 7.9035,
                "accurate_opp_half_passes": 6.0083,
                "crosses_total": 0.1659,
                "crosses_accurate": 0.0,
                "touches": 23.3229,
                "possession_lost": 3.999,
                "dispossessed": 0.3336,
                "duels_lost": 2.2915,
                "aerial_won": 0.6051,
                "aerial_lost": 0.363,
                "interceptions": 0.9714,
                "tackles_won": 0.7307,
                "tackles": 1.1603,
                "clearances": 0.3336,
                "total_contest": 0.1668,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5933,
                "fouls_drawn": 0.5404,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9919,
                "total_progression": 8.611,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2472
              },
              "params": {
                "blend_weight": 0.0052,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2738,
                "prior_reliability": 0.0733,
                "competition": "La Liga",
                "squad": "Athletic Club"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.6 to 24.7 expected minutes (appearance prob 0.52)",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.03,
                "assists": 0.0437,
                "assist_rate": 0.0437,
                "expected_goals": 0.0366,
                "goals": 0.0402,
                "goal_rate": 0.0402,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7
              },
              "params": {
                "expected_minutes": 24.7,
                "projection_minutes": 24.64,
                "minutes_scale": 1.0024,
                "appearance_probability": 0.523
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.03,
                "assists": 0.0437,
                "assist_rate": 0.0437,
                "expected_goals": 0.0366,
                "goals": 0.0402,
                "goal_rate": 0.0402,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.03,
                "assist_rate": 0.0437,
                "assists": 0,
                "expected_goals": 0.0366,
                "goal_rate": 0.0402,
                "goals": 0,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.0132,
                "assist_rate": 0.0437,
                "assists": 0,
                "expected_goals": 0.0184,
                "goal_rate": 0.0402,
                "goals": 0,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0014,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0416,
                "creation_factor": 1.1713
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 0.523
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0366,
                  "after": 0.0184
                },
                {
                  "stat": "expected_assists",
                  "before": 0.03,
                  "after": 0.0132
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.0132,
                "assist_rate": 0.0437,
                "assists": 0,
                "expected_goals": 0.0184,
                "goal_rate": 0.0402,
                "goals": 0,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0014,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0416,
                "creation_factor": 1.1713,
                "fifa_overall": 79.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": 1561,
                "fifa_rank": 915.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.0132,
                "assist_rate": 0.0437,
                "assists": 0,
                "expected_goals": 0.0184,
                "goal_rate": 0.0402,
                "goals": 0,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0014,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0181,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0416,
                "creation_factor": 1.1713,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0181,
                "goal_rate": 0.0402,
                "scorer_weight": 0.0192,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0176,
                "finishing_factor": 1.0416,
                "appearance_weight": 0.523,
                "weight_rank": 11,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.0132,
                "assist_rate": 0.0437,
                "assists": 0,
                "expected_goals": 0.0184,
                "goal_rate": 0.0402,
                "goals": 0,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0014,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0181,
                "projected_assists": 0,
                "assist_probability": 0.013,
                "finishing_factor": 1.0416,
                "creation_factor": 1.1713,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.013,
                "assist_rate": 0.0437,
                "provider_weight": 0.0155,
                "squad_weight_total": 0.7312,
                "weight_share": 0.0211,
                "creation_factor": 1.1713,
                "appearance_weight": 0.523,
                "weight_rank": 11,
                "eligible_players": 12
              }
            }
          ]
        },
        "Oihan Sancet": {
          "player_id": 966801,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 188,
          "market_value": 24000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0623,
            "assist_rate": 0.074,
            "assists": 0,
            "expected_goals": 0.0673,
            "goal_rate": 0.0899,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7537,
            "minutes": 23,
            "total_pass": 8,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "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": 15,
            "possession_lost": 3.6454,
            "dispossessed": 0.9315,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "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.1555,
            "ball_carries": 5,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.326,
            "bench_expected_minutes": 22.89,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8114,
                "expected_assists": 0.0161,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2131,
                "expected_assists": 0.9174,
                "total_shots": 4,
                "shots_off_target": 4,
                "total_pass": 30,
                "accurate_pass": 27,
                "key_pass": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5786,
                "expected_assists": 0.0169,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 16,
                "key_pass": 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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 65,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4254,
                "expected_assists": 0.0529,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 19,
                "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": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1759,
                "expected_assists": 0.0188,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 19,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3757,
                "expected_assists": 0.1728,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 31,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 10,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 65,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2265,
                "expected_assists": 0.1649,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0684,
                "expected_assists": 0.0246,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 27,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0256,
                "expected_assists": 0.0078,
                "total_shots": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 25,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0153,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 3,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2326,
            "combined_rank_score": 1044.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 845.0,
            "sofascore_rating": 6.5786,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1244.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.7537,
            "source_file": "data/player_rankings.csv",
            "player_name": "Oihan Sancet",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sunnatilla Poyonov",
                  "ranking": 2321
                },
                {
                  "player_name": "Claudio Torres",
                  "ranking": 2322
                },
                {
                  "player_name": "Lars Traber",
                  "ranking": 2323
                },
                {
                  "player_name": "Adem Zorgane",
                  "ranking": 2324
                },
                {
                  "player_name": "Matteo Ruggeri",
                  "ranking": 2325
                }
              ],
              "lower": [
                {
                  "player_name": "Dušan Tadić",
                  "ranking": 2327
                },
                {
                  "player_name": "Christian Eriksen",
                  "ranking": 2328
                },
                {
                  "player_name": "Yerko Leiva",
                  "ranking": 2329
                },
                {
                  "player_name": "Sergiño Dest",
                  "ranking": 2330
                },
                {
                  "player_name": "Kosta Barbarouses",
                  "ranking": 2331
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.777,
          "history_matches": 34,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 34,
            "data_confidence": 0.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.88735814265611,
            "bench_appearance_prob": 0.326,
            "market_value_adjustment": 1.0063,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.18
            },
            "rationale": "Bench projection scaled from XGBoost M_service (34 historical appearances) to 22.9 expected mins (appearance prob 0.33); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.7064,
                "expected_assists": 0.086,
                "assists": 0.1038,
                "assist_rate": 0.1038,
                "expected_goals": 0.0929,
                "goals": 0.1261,
                "goal_rate": 0.1261,
                "shots_on_target": 0.2908,
                "total_shots": 1.0528,
                "rating": 6.7537,
                "minutes": 31.81,
                "total_pass": 11.1377,
                "accurate_pass": 10.0685,
                "duels_won": 3.4141,
                "total_long_balls": 1.0996,
                "accurate_long_balls": 0.8482,
                "total_own_half_passes": 3.2733,
                "accurate_own_half_passes": 2.915,
                "total_opp_half_passes": 7.8644,
                "accurate_opp_half_passes": 7.1535,
                "crosses_total": 1.1546,
                "crosses_accurate": 0.2958,
                "touches": 20.0851,
                "possession_lost": 5.0349,
                "dispossessed": 0.9257,
                "duels_lost": 3.5348,
                "aerial_won": 0.792,
                "aerial_lost": 0.6319,
                "interceptions": 0.0,
                "tackles_won": 0.7264,
                "tackles": 1.3152,
                "clearances": 0.2137,
                "total_contest": 0.9811,
                "won_contest": 0.4148,
                "challenges_lost": 0.5627,
                "fouls": 0.8482,
                "fouls_drawn": 0.8921,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1479,
                "xgot": 0.2147,
                "ball_carries": 7.2443,
                "total_progression": 29.5319,
                "progressive_carries": 0.7049,
                "shots_off_target": 0.7619
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1506,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.128,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 2.3505,
                  "creative_index": 0.5838,
                  "expectedGoals": 0.3555,
                  "expectedAssists": 0.1651,
                  "onTargetScoringAttempt": 0.6824
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7063746452331543,
                    "model_output": 0.7064,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3879
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0609
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0641
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0368
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0347
                        }
                      ],
                      "others": 0.0048,
                      "total": 0.7064,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569847
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.113769
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.107232
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.056833
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.050731
                        }
                      ],
                      "others_margin": 0.006861
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08603818714618683,
                    "model_output": 0.086,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0339
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0098
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0106
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0056
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.005
                        }
                      ],
                      "others": 0.0145,
                      "total": 0.086,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.503034
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.173341
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.159275
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.080425
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.072325
                        }
                      ],
                      "others_margin": 0.183156
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10380217432975769,
                    "model_output": 0.1038,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0157
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0083
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0069
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0075
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0075
                        }
                      ],
                      "others": 0.0187,
                      "total": 0.1038,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.198733
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.123778
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.103464
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.102055
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.092128
                        }
                      ],
                      "others_margin": 0.19867
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09287896007299423,
                    "model_output": 0.0929,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0467
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0222
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0118
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0069
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0035
                        }
                      ],
                      "others": 0.0079,
                      "total": 0.0929,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.683544
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.383102
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.156273
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.081016
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.040234
                        }
                      ],
                      "others_margin": 0.088255
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1260950267314911,
                    "model_output": 0.1261,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0453
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0214
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0113
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0103
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.007
                        }
                      ],
                      "others": 0.0236,
                      "total": 0.1261,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.621387
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.341582
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.142804
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.114064
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.070688
                        }
                      ],
                      "others_margin": 0.206477
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2908100187778473,
                    "model_output": 0.2908,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1676
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0402
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0372
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0242
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0103
                        }
                      ],
                      "others": 0.0208,
                      "total": 0.2908,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.72278
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.22675
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.171787
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.097828
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.038711
                        }
                      ],
                      "others_margin": 0.074307
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.052753210067749,
                    "model_output": 1.0528,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.649
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.4704
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0701
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0604
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0518
                        }
                      ],
                      "others": 0.1938,
                      "total": 1.0528,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.649019
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.470421
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.070073
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.060408
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.051838
                        }
                      ],
                      "others_margin": 0.193643
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.753742218017578,
                    "model_output": 6.7537,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0901
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0301
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0289
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0122
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0097
                        }
                      ],
                      "others": 0.0138,
                      "total": 6.7537,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.090149
                        },
                        {
                          "name": "rating",
                          "margin": -0.030062
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.028859
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.012236
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.00973
                        }
                      ],
                      "others_margin": 0.014004
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 34,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0063, quality 0.669)",
              "stats": {
                "key_pass": 0.7108,
                "expected_assists": 0.0866,
                "assists": 0.1045,
                "assist_rate": 0.1045,
                "expected_goals": 0.0935,
                "goals": 0.1269,
                "goal_rate": 0.1269,
                "shots_on_target": 0.2926,
                "total_shots": 1.0594,
                "rating": 6.7537,
                "minutes": 31.81,
                "total_pass": 11.2079,
                "accurate_pass": 10.1319,
                "duels_won": 3.4356,
                "total_long_balls": 1.1065,
                "accurate_long_balls": 0.8535,
                "total_own_half_passes": 3.2939,
                "accurate_own_half_passes": 2.9334,
                "total_opp_half_passes": 7.9139,
                "accurate_opp_half_passes": 7.1986,
                "crosses_total": 1.1619,
                "crosses_accurate": 0.2977,
                "touches": 20.2116,
                "possession_lost": 5.0666,
                "dispossessed": 0.9315,
                "duels_lost": 3.5571,
                "aerial_won": 0.797,
                "aerial_lost": 0.6359,
                "interceptions": 0.0,
                "tackles_won": 0.731,
                "tackles": 1.3235,
                "clearances": 0.215,
                "total_contest": 0.9873,
                "won_contest": 0.4174,
                "challenges_lost": 0.5662,
                "fouls": 0.8535,
                "fouls_drawn": 0.8977,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1488,
                "xgot": 0.2161,
                "ball_carries": 7.2899,
                "total_progression": 29.718,
                "progressive_carries": 0.7093,
                "shots_off_target": 0.7667
              },
              "params": {
                "market_value_eur": 24000000,
                "quality_factor": 0.6685,
                "boost_factor": 1.0063,
                "reference_quality": 0.505,
                "history_matches": 34,
                "history_shrink": 0.1282,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0150)",
              "stats": {
                "key_pass": 0.7108,
                "expected_assists": 0.0866,
                "assists": 0.1029,
                "assist_rate": 0.1029,
                "expected_goals": 0.0935,
                "goals": 0.125,
                "goal_rate": 0.125,
                "shots_on_target": 0.2941,
                "total_shots": 1.0591,
                "rating": 6.7537,
                "minutes": 31.81,
                "total_pass": 11.2079,
                "accurate_pass": 10.1319,
                "duels_won": 3.4356,
                "total_long_balls": 1.1065,
                "accurate_long_balls": 0.8535,
                "total_own_half_passes": 3.2939,
                "accurate_own_half_passes": 2.9334,
                "total_opp_half_passes": 7.9139,
                "accurate_opp_half_passes": 7.1986,
                "crosses_total": 1.1484,
                "crosses_accurate": 0.2977,
                "touches": 20.2116,
                "possession_lost": 5.0666,
                "dispossessed": 0.9315,
                "duels_lost": 3.5571,
                "aerial_won": 0.797,
                "aerial_lost": 0.6359,
                "interceptions": 0.0039,
                "tackles_won": 0.722,
                "tackles": 1.3235,
                "clearances": 0.215,
                "total_contest": 0.9873,
                "won_contest": 0.4174,
                "challenges_lost": 0.5662,
                "fouls": 0.8427,
                "fouls_drawn": 0.8921,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1488,
                "xgot": 0.2161,
                "ball_carries": 7.2899,
                "total_progression": 29.718,
                "progressive_carries": 0.7093,
                "shots_off_target": 0.7667
              },
              "params": {
                "blend_weight": 0.015,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3534,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.1619,
                  "after": 1.1484
                },
                {
                  "stat": "fouls",
                  "before": 0.8535,
                  "after": 0.8427
                },
                {
                  "stat": "wonTackle",
                  "before": 0.731,
                  "after": 0.722
                },
                {
                  "stat": "wasFouled",
                  "before": 0.8977,
                  "after": 0.8921
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 31.8 to 22.9 expected minutes (appearance prob 0.33)",
              "stats": {
                "key_pass": 0.5114,
                "expected_assists": 0.0623,
                "assists": 0.074,
                "assist_rate": 0.074,
                "expected_goals": 0.0673,
                "goals": 0.0899,
                "goal_rate": 0.0899,
                "shots_on_target": 0.2116,
                "total_shots": 0.7632,
                "rating": 6.7537,
                "minutes": 22.89,
                "total_pass": 8.0641,
                "accurate_pass": 7.2899,
                "duels_won": 2.4719,
                "total_long_balls": 0.7961,
                "accurate_long_balls": 0.6141,
                "total_own_half_passes": 2.37,
                "accurate_own_half_passes": 2.1106,
                "total_opp_half_passes": 5.6941,
                "accurate_opp_half_passes": 5.1794,
                "crosses_total": 0.8263,
                "crosses_accurate": 0.2142,
                "touches": 14.5423,
                "possession_lost": 3.6454,
                "dispossessed": 0.9315,
                "duels_lost": 2.5593,
                "aerial_won": 0.5734,
                "aerial_lost": 0.6359,
                "interceptions": 0.0028,
                "tackles_won": 0.5195,
                "tackles": 0.9523,
                "clearances": 0.1547,
                "total_contest": 0.7104,
                "won_contest": 0.3003,
                "challenges_lost": 0.5662,
                "fouls": 0.6063,
                "fouls_drawn": 0.6419,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1071,
                "xgot": 0.1555,
                "ball_carries": 5.2451,
                "total_progression": 21.3822,
                "progressive_carries": 0.5103,
                "shots_off_target": 0.5516,
                "bench_appearance_probability": 0.326,
                "bench_expected_minutes": 22.89
              },
              "params": {
                "expected_minutes": 22.89,
                "projection_minutes": 31.81,
                "minutes_scale": 0.7195,
                "appearance_probability": 0.326
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5114,
                "expected_assists": 0.0623,
                "assists": 0.074,
                "assist_rate": 0.074,
                "expected_goals": 0.0673,
                "goals": 0.0899,
                "goal_rate": 0.0899,
                "shots_on_target": 0.2116,
                "total_shots": 0.7632,
                "rating": 6.7537,
                "minutes": 22.89,
                "total_pass": 8.0641,
                "accurate_pass": 7.2899,
                "duels_won": 2.4719,
                "total_long_balls": 0.7961,
                "accurate_long_balls": 0.6141,
                "total_own_half_passes": 2.37,
                "accurate_own_half_passes": 2.1106,
                "total_opp_half_passes": 5.6941,
                "accurate_opp_half_passes": 5.1794,
                "crosses_total": 0.8263,
                "crosses_accurate": 0.2142,
                "touches": 14.5423,
                "possession_lost": 3.6454,
                "dispossessed": 0.9315,
                "duels_lost": 2.5593,
                "aerial_won": 0.5734,
                "aerial_lost": 0.6359,
                "interceptions": 0.0028,
                "tackles_won": 0.5195,
                "tackles": 0.9523,
                "clearances": 0.1547,
                "total_contest": 0.7104,
                "won_contest": 0.3003,
                "challenges_lost": 0.5662,
                "fouls": 0.6063,
                "fouls_drawn": 0.6419,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1071,
                "xgot": 0.1555,
                "ball_carries": 5.2451,
                "total_progression": 21.3822,
                "progressive_carries": 0.5103,
                "shots_off_target": 0.5516,
                "bench_appearance_probability": 0.326,
                "bench_expected_minutes": 22.89
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "key_pass": 0.5114,
                "expected_assists": 0.0623,
                "assist_rate": 0.074,
                "assists": 0,
                "expected_goals": 0.0673,
                "goal_rate": 0.0899,
                "goals": 0,
                "shots_on_target": 0.2116,
                "total_shots": 0.7632,
                "rating": 6.7537,
                "minutes": 22.89,
                "total_pass": 8.0641,
                "accurate_pass": 7.2899,
                "duels_won": 2.4719,
                "total_long_balls": 0.7961,
                "accurate_long_balls": 0.6141,
                "total_own_half_passes": 2.37,
                "accurate_own_half_passes": 2.1106,
                "total_opp_half_passes": 5.6941,
                "accurate_opp_half_passes": 5.1794,
                "crosses_total": 0.8263,
                "crosses_accurate": 0.2142,
                "touches": 14.5423,
                "possession_lost": 3.6454,
                "dispossessed": 0.9315,
                "duels_lost": 2.5593,
                "aerial_won": 0.5734,
                "aerial_lost": 0.6359,
                "interceptions": 0.0028,
                "tackles_won": 0.5195,
                "tackles": 0.9523,
                "clearances": 0.1547,
                "total_contest": 0.7104,
                "won_contest": 0.3003,
                "challenges_lost": 0.5662,
                "fouls": 0.6063,
                "fouls_drawn": 0.6419,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1071,
                "xgot": 0.1555,
                "ball_carries": 5.2451,
                "total_progression": 21.3822,
                "progressive_carries": 0.5103,
                "shots_off_target": 0.5516,
                "bench_appearance_probability": 0.326,
                "bench_expected_minutes": 22.89,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.326,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 78.0)",
              "stats": {
                "key_pass": 0.5114,
                "expected_assists": 0.0623,
                "assist_rate": 0.074,
                "assists": 0,
                "expected_goals": 0.0673,
                "goal_rate": 0.0899,
                "goals": 0,
                "shots_on_target": 0.2116,
                "total_shots": 0.7632,
                "rating": 6.7537,
                "minutes": 22.89,
                "total_pass": 8.0641,
                "accurate_pass": 7.2899,
                "duels_won": 2.4719,
                "total_long_balls": 0.7961,
                "accurate_long_balls": 0.6141,
                "total_own_half_passes": 2.37,
                "accurate_own_half_passes": 2.1106,
                "total_opp_half_passes": 5.6941,
                "accurate_opp_half_passes": 5.1794,
                "crosses_total": 0.8263,
                "crosses_accurate": 0.2142,
                "touches": 14.5423,
                "possession_lost": 3.6454,
                "dispossessed": 0.9315,
                "duels_lost": 2.5593,
                "aerial_won": 0.5734,
                "aerial_lost": 0.6359,
                "interceptions": 0.0028,
                "tackles_won": 0.5195,
                "tackles": 0.9523,
                "clearances": 0.1547,
                "total_contest": 0.7104,
                "won_contest": 0.3003,
                "challenges_lost": 0.5662,
                "fouls": 0.6063,
                "fouls_drawn": 0.6419,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1071,
                "xgot": 0.1555,
                "ball_carries": 5.2451,
                "total_progression": 21.3822,
                "progressive_carries": 0.5103,
                "shots_off_target": 0.5516,
                "bench_appearance_probability": 0.326,
                "bench_expected_minutes": 22.89,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 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": 2326,
                "fifa_rank": 1244.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Nico Williams": {
          "player_id": 1085400,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 180,
          "market_value": 44000000,
          "stats": {
            "expected_goals": 0.0414,
            "goal_rate": 0.1257,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0323,
            "key_pass": 1,
            "rating": 6.9675,
            "minutes": 26,
            "total_pass": 11,
            "accurate_pass": 9,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 8.4311,
            "dispossessed": 0.9692,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 4,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 43,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.62,
            "bench_expected_minutes": 25.78,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.04,
            "projected_assists": 0,
            "assist_probability": 0.0315,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.084,
                "expected_assists": 0.0708,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 39,
                "accurate_pass": 30,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0972,
                "expected_assists": 1.0516,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 41,
                "accurate_pass": 34,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 76,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4335,
                "expected_assists": 0.0079,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3375,
                "expected_assists": 0.0017,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 3,
                "accurate_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 60,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0239,
                "expected_assists": 0.0003,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "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": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0856,
                "expected_assists": 0.1838,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 36,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.049,
                "expected_assists": 0.1858,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 8,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 89,
                "rating": 8.8,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.5302,
                "expected_assists": 0.0367,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 21,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 70,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0133,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 65,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0759,
                "expected_assists": 0.0391,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 6,
                "key_pass": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 498,
            "combined_rank_score": 291.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 351.0,
            "sofascore_rating": 6.984,
            "sofascore_appearances": 25.0,
            "fifa_rank": 231.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9675,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nico Williams",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alex Fernandes",
                  "ranking": 493
                },
                {
                  "player_name": "Lucas Soto",
                  "ranking": 494
                },
                {
                  "player_name": "Jo Jun-Hyun",
                  "ranking": 495
                },
                {
                  "player_name": "Nizar El Jmili",
                  "ranking": 496
                },
                {
                  "player_name": "Marco de las Sias",
                  "ranking": 497
                }
              ],
              "lower": [
                {
                  "player_name": "José Ángel López",
                  "ranking": 499
                },
                {
                  "player_name": "Kim Hye-Seong",
                  "ranking": 500
                },
                {
                  "player_name": "Matheus Babi",
                  "ranking": 501
                },
                {
                  "player_name": "Farrukh Sayfiev",
                  "ranking": 502
                },
                {
                  "player_name": "Dong-min Kim",
                  "ranking": 503
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.762,
          "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.762,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.78,
            "bench_appearance_prob": 0.62,
            "market_value_adjustment": 1.0123,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 25.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "Bench projection scaled from XGBoost F_service (31 historical appearances) to 25.8 expected mins (appearance prob 0.62); FBref playing time empirical prior: 2.0 sub appearances, 25.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0799,
                "goals": 0.1459,
                "goal_rate": 0.1459,
                "shots_on_target": 0.3064,
                "total_shots": 1.1447,
                "expected_assists": 0.0714,
                "key_pass": 0.7196,
                "rating": 6.9675,
                "minutes": 30.07,
                "total_pass": 12.2396,
                "accurate_pass": 9.8153,
                "duels_won": 3.4147,
                "total_long_balls": 0.2132,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.0768,
                "accurate_opp_half_passes": 7.9554,
                "crosses_total": 2.1178,
                "crosses_accurate": 0.3472,
                "touches": 26.9825,
                "possession_lost": 9.7146,
                "dispossessed": 0.9574,
                "duels_lost": 4.9477,
                "aerial_lost": 0.5218,
                "total_contest": 4.3395,
                "won_contest": 1.5659,
                "ball_recovery": 1.5622,
                "challenges_lost": 0.3542,
                "fouls": 0.3407,
                "fouls_drawn": 0.5859,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2208,
                "tackles_won": 0.4917,
                "tackles": 0.9313,
                "clearances": 0.1356,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2448,
                "xgot": 0.0,
                "offsides": 0.1595,
                "ball_carries": 8.8366,
                "total_progression": 49.4185,
                "progressive_carries": 2.8484,
                "shots_off_target": 0.8383
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0927,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.067,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 36.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 18.2453,
                  "expectedGoals": 0.1746,
                  "accurateOppositionHalfPasses": 13.342,
                  "accuratePass": 18.001,
                  "totalShots": 2.0547
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07992341369390488,
                    "model_output": 0.0799,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0889
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0107
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0055
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0036
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0799,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.598102
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.103817
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.057609
                        },
                        {
                          "name": "goals",
                          "margin": 0.038061
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.036895
                        }
                      ],
                      "others_margin": -0.146409
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14585816860198975,
                    "model_output": 0.1459,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0764
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0081
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.006
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0055
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0051
                        }
                      ],
                      "others": 0.0052,
                      "total": 0.1459,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.471239
                        },
                        {
                          "name": "goals",
                          "margin": 0.061526
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.043211
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.039787
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.036756
                        }
                      ],
                      "others_margin": 0.037203
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.30642926692962646,
                    "model_output": 0.3064,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2327
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0316
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0278
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0168
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": 0.0175
                        }
                      ],
                      "others": -0.0366,
                      "total": 0.3064,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.567186
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.098708
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.086224
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.053063
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": 0.05239
                        }
                      ],
                      "others_margin": -0.112969
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1446884870529175,
                    "model_output": 1.1447,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5553
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1492
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0649
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.061
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0592
                        }
                      ],
                      "others": -0.0081,
                      "total": 1.1447,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.555256
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.149208
                        },
                        {
                          "name": "goals",
                          "margin": 0.064896
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.060994
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.059164
                        }
                      ],
                      "others_margin": -0.008157
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07135449349880219,
                    "model_output": 0.0714,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0212
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0081
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.005
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0029
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.003
                        }
                      ],
                      "others": 0.0094,
                      "total": 0.0714,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.401085
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.171722
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.093896
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.050203
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.05018
                        }
                      ],
                      "others_margin": 0.140499
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7196004986763,
                    "model_output": 0.7196,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.248
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0777
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.065
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0309
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0278
                        }
                      ],
                      "others": 0.0928,
                      "total": 0.7196,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.459373
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.167865
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.121546
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.053013
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.045357
                        }
                      ],
                      "others_margin": 0.137997
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9674973487854,
                    "model_output": 6.9675,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0789
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0483
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0412
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.038
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0314
                        }
                      ],
                      "others": 0.1205,
                      "total": 6.9675,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.078851
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.048258
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.041157
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.037972
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.03138
                        }
                      ],
                      "others_margin": 0.120577
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 31,
                  "role_matches": 7,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0123, quality 0.800)",
              "stats": {
                "expected_goals": 0.0809,
                "goals": 0.1477,
                "goal_rate": 0.1477,
                "shots_on_target": 0.3102,
                "total_shots": 1.1588,
                "expected_assists": 0.0722,
                "key_pass": 0.7285,
                "rating": 6.9675,
                "minutes": 30.07,
                "total_pass": 12.3901,
                "accurate_pass": 9.936,
                "duels_won": 3.4567,
                "total_long_balls": 0.2158,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.2007,
                "accurate_opp_half_passes": 8.0533,
                "crosses_total": 2.1438,
                "crosses_accurate": 0.3515,
                "touches": 27.3144,
                "possession_lost": 9.8341,
                "dispossessed": 0.9692,
                "duels_lost": 5.0086,
                "aerial_lost": 0.5282,
                "total_contest": 4.3929,
                "won_contest": 1.5852,
                "ball_recovery": 1.5814,
                "challenges_lost": 0.3586,
                "fouls": 0.3449,
                "fouls_drawn": 0.5931,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2235,
                "tackles_won": 0.4977,
                "tackles": 0.9428,
                "clearances": 0.1373,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2478,
                "xgot": 0.0,
                "offsides": 0.1615,
                "ball_carries": 8.9453,
                "total_progression": 50.0263,
                "progressive_carries": 2.8834,
                "shots_off_target": 0.8486
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0123,
                "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.0072)",
              "stats": {
                "expected_goals": 0.0809,
                "goals": 0.1466,
                "goal_rate": 0.1466,
                "shots_on_target": 0.308,
                "total_shots": 1.1584,
                "expected_assists": 0.0722,
                "key_pass": 0.7285,
                "rating": 6.9675,
                "minutes": 30.07,
                "total_pass": 12.3901,
                "accurate_pass": 9.936,
                "duels_won": 3.4567,
                "total_long_balls": 0.2158,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.2007,
                "accurate_opp_half_passes": 8.0533,
                "crosses_total": 2.1404,
                "crosses_accurate": 0.3515,
                "touches": 27.3144,
                "possession_lost": 9.8341,
                "dispossessed": 0.9692,
                "duels_lost": 5.0086,
                "aerial_lost": 0.5282,
                "total_contest": 4.3929,
                "won_contest": 1.5852,
                "ball_recovery": 1.5814,
                "challenges_lost": 0.3586,
                "fouls": 0.3424,
                "fouls_drawn": 0.5888,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2239,
                "tackles_won": 0.4981,
                "tackles": 0.9428,
                "clearances": 0.1373,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2478,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 8.9453,
                "total_progression": 50.0263,
                "progressive_carries": 2.8834,
                "shots_off_target": 0.8486
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3341,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Athletic Club"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 30.1 to 25.8 expected minutes (appearance prob 0.62)",
              "stats": {
                "expected_goals": 0.0694,
                "goals": 0.1257,
                "goal_rate": 0.1257,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0619,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78
              },
              "params": {
                "expected_minutes": 25.78,
                "projection_minutes": 30.07,
                "minutes_scale": 0.8573,
                "appearance_probability": 0.62
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0694,
                "goals": 0.1257,
                "goal_rate": 0.1257,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0619,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0694,
                "goal_rate": 0.1257,
                "goals": 0,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0619,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.1257,
                "goals": 0,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0323,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 0.62
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0694,
                  "after": 0.0414
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0619,
                  "after": 0.0323
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 84.0)",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.1257,
                "goals": 0,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0323,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 84.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": 498,
                "fifa_rank": 231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.1257,
                "goals": 0,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0323,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.04,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.04,
                "goal_rate": 0.1257,
                "scorer_weight": 0.0517,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0476,
                "finishing_factor": 1.25,
                "appearance_weight": 0.62,
                "weight_rank": 5,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.1257,
                "goals": 0,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0323,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.04,
                "projected_assists": 0,
                "assist_probability": 0.0315,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0315,
                "assist_rate": 0.0,
                "provider_weight": 0.0258,
                "squad_weight_total": 0.7312,
                "weight_share": 0.0353,
                "creation_factor": 0.8,
                "appearance_weight": 0.62,
                "weight_rank": 9,
                "eligible_players": 12
              }
            }
          ]
        },
        "Gorka Guruzeta": {
          "player_id": 605672,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 188,
          "market_value": 4600000,
          "stats": {
            "expected_goals": 0.1202,
            "goal_rate": 0.1216,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0208,
            "key_pass": 0,
            "rating": 6.6296,
            "minutes": 26,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.7592,
            "dispossessed": 0.2273,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.104,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.464,
            "bench_expected_minutes": 25.72,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 14,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0047,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2164,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 81,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 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": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.046,
                "expected_assists": 0.0127,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 6,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 74,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3371,
                "expected_assists": 0.013,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 21,
                "accurate_pass": 13,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 82,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2874,
                "expected_assists": 0.0279,
                "total_shots": 4,
                "shots_off_target": 2,
                "total_pass": 19,
                "accurate_pass": 10,
                "key_pass": 1,
                "aerial_won": 4,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 27,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0277,
                "expected_assists": 0.0096,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 5,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3076,
                "expected_assists": 0.0103,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 12,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 5,
                "duels_won": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.0223,
                "expected_assists": 0.0564,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4989,
                "expected_assists": 0.0192,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 23,
                "accurate_pass": 15,
                "key_pass": 1,
                "aerial_won": 5,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2383,
            "combined_rank_score": 1054.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 864.0,
            "sofascore_rating": 6.56,
            "sofascore_appearances": 35.0,
            "fifa_rank": 1245.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6296,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gorka Guruzeta",
            "ranking_neighbors": {
              "upper": [
                {
                  "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
                },
                {
                  "player_name": "Antonio Blanco",
                  "ranking": 2382
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Daniel Londoño",
                  "ranking": 2388
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.72,
            "bench_appearance_prob": 0.464,
            "market_value_adjustment": 0.9984,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "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": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "Bench projection scaled from XGBoost F_service (39 historical appearances) to 25.7 expected mins (appearance prob 0.46); 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.115,
                "goals": 0.1173,
                "goal_rate": 0.1173,
                "shots_on_target": 0.3284,
                "total_shots": 0.7949,
                "expected_assists": 0.0199,
                "key_pass": 0.2902,
                "rating": 6.6296,
                "minutes": 24.56,
                "total_pass": 4.9478,
                "accurate_pass": 3.8515,
                "duels_won": 1.7166,
                "total_long_balls": 0.5342,
                "accurate_long_balls": 0.3683,
                "total_opp_half_passes": 3.7144,
                "accurate_opp_half_passes": 2.6181,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.4397,
                "possession_lost": 2.639,
                "dispossessed": 0.2277,
                "duels_lost": 3.2485,
                "aerial_lost": 0.941,
                "total_contest": 0.481,
                "won_contest": 0.0,
                "ball_recovery": 0.0532,
                "challenges_lost": 0.3887,
                "fouls": 1.21,
                "fouls_drawn": 0.3666,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1731,
                "tackles_won": 0.2819,
                "tackles": 0.5106,
                "clearances": 0.2772,
                "blocks": 0.1199,
                "big_chances_created": 0.1659,
                "big_chances_missed": 0.149,
                "xgot": 0.0995,
                "offsides": 0.1755,
                "ball_carries": 1.2595,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4665
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1503,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 9.0253,
                  "expectedGoals": 0.1436,
                  "accurateOppositionHalfPasses": 5.3045,
                  "accuratePass": 7.5921,
                  "totalShots": 1.6532
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11502280831336975,
                    "model_output": 0.115,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0895
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.01
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.009
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0053
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0026,
                      "total": 0.115,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.603263
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.088366
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.079617
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.047202
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.028237
                        }
                      ],
                      "others_margin": -0.021634
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11725550144910812,
                    "model_output": 0.1173,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0803
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0162
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0075
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0055
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.001,
                      "total": 0.1173,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.501948
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.141263
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.068004
                        },
                        {
                          "name": "goals",
                          "margin": 0.047036
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.030332
                        }
                      ],
                      "others_margin": 0.007893
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3284388780593872,
                    "model_output": 0.3284,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2146
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0161
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0134
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0106
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0087
                        }
                      ],
                      "others": 0.0062,
                      "total": 0.3284,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.509292
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.051086
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.042793
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.032635
                        },
                        {
                          "name": "goals",
                          "margin": -0.026777
                        }
                      ],
                      "others_margin": 0.01887
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7949172854423523,
                    "model_output": 0.7949,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5932
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0761
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0306
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.027
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0209
                        }
                      ],
                      "others": -0.0445,
                      "total": 0.7949,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.59319
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.076062
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.030581
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.026955
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.020925
                        }
                      ],
                      "others_margin": -0.044494
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.019897598773241043,
                    "model_output": 0.0199,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0215
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0055
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0033
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0023
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0097,
                      "total": 0.0199,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.406721
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.138998
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.092202
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.071202
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.065934
                        }
                      ],
                      "others_margin": -0.396589
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.290222704410553,
                    "model_output": 0.2902,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2466
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0347
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0279
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0176
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0131
                        }
                      ],
                      "others": -0.0433,
                      "total": 0.2902,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.456022
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.084872
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.073914
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.049566
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.038521
                        }
                      ],
                      "others_margin": -0.138749
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.629612445831299,
                    "model_output": 6.6296,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0615
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0187
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0185
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0142
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0778,
                      "total": 6.6296,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.061543
                        },
                        {
                          "name": "rating",
                          "margin": -0.018705
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.01849
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.014163
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.012126
                        }
                      ],
                      "others_margin": -0.077668
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 39,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9984, quality 0.457)",
              "stats": {
                "expected_goals": 0.1148,
                "goals": 0.1171,
                "goal_rate": 0.1171,
                "shots_on_target": 0.3279,
                "total_shots": 0.7937,
                "expected_assists": 0.0199,
                "key_pass": 0.2898,
                "rating": 6.6296,
                "minutes": 24.56,
                "total_pass": 4.9399,
                "accurate_pass": 3.8453,
                "duels_won": 1.7139,
                "total_long_balls": 0.5333,
                "accurate_long_balls": 0.3677,
                "total_opp_half_passes": 3.7085,
                "accurate_opp_half_passes": 2.6139,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.423,
                "possession_lost": 2.6348,
                "dispossessed": 0.2273,
                "duels_lost": 3.2433,
                "aerial_lost": 0.9395,
                "total_contest": 0.4802,
                "won_contest": 0.0,
                "ball_recovery": 0.0531,
                "challenges_lost": 0.3881,
                "fouls": 1.2081,
                "fouls_drawn": 0.366,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1728,
                "tackles_won": 0.2814,
                "tackles": 0.5098,
                "clearances": 0.2768,
                "blocks": 0.1197,
                "big_chances_created": 0.1656,
                "big_chances_missed": 0.1488,
                "xgot": 0.0993,
                "offsides": 0.1752,
                "ball_carries": 1.2575,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4658
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.9984,
                "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.0089)",
              "stats": {
                "expected_goals": 0.1148,
                "goals": 0.1161,
                "goal_rate": 0.1161,
                "shots_on_target": 0.325,
                "total_shots": 0.7893,
                "expected_assists": 0.0199,
                "key_pass": 0.2898,
                "rating": 6.6296,
                "minutes": 24.56,
                "total_pass": 4.9399,
                "accurate_pass": 3.8453,
                "duels_won": 1.7139,
                "total_long_balls": 0.5333,
                "accurate_long_balls": 0.3677,
                "total_opp_half_passes": 3.7085,
                "accurate_opp_half_passes": 2.6139,
                "crosses_total": 0.0013,
                "crosses_accurate": 0.0,
                "touches": 10.423,
                "possession_lost": 2.6348,
                "dispossessed": 0.2273,
                "duels_lost": 3.2433,
                "aerial_lost": 0.9395,
                "total_contest": 0.4802,
                "won_contest": 0.0,
                "ball_recovery": 0.0531,
                "challenges_lost": 0.3881,
                "fouls": 1.2028,
                "fouls_drawn": 0.3668,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1726,
                "tackles_won": 0.2802,
                "tackles": 0.5098,
                "clearances": 0.2768,
                "blocks": 0.1197,
                "big_chances_created": 0.1656,
                "big_chances_missed": 0.1488,
                "xgot": 0.0993,
                "offsides": 0.1736,
                "ball_carries": 1.2575,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4658
              },
              "params": {
                "blend_weight": 0.0089,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2729,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.2081,
                  "after": 1.2028
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.6 to 25.7 expected minutes (appearance prob 0.46)",
              "stats": {
                "expected_goals": 0.1202,
                "goals": 0.1216,
                "goal_rate": 0.1216,
                "shots_on_target": 0.3404,
                "total_shots": 0.8282,
                "expected_assists": 0.0208,
                "key_pass": 0.3035,
                "rating": 6.6296,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.104,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4878,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72
              },
              "params": {
                "expected_minutes": 25.72,
                "projection_minutes": 24.56,
                "minutes_scale": 1.0472,
                "appearance_probability": 0.464
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1202,
                "goals": 0.1216,
                "goal_rate": 0.1216,
                "shots_on_target": 0.3404,
                "total_shots": 0.8282,
                "expected_assists": 0.0208,
                "key_pass": 0.3035,
                "rating": 6.6296,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.104,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4878,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72
              },
              "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.1202,
                "goal_rate": 0.1216,
                "goals": 0,
                "shots_on_target": 0.3404,
                "total_shots": 0.8282,
                "expected_assists": 0.0208,
                "key_pass": 0.3035,
                "rating": 6.6296,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.104,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4878,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.464,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 78.0)",
              "stats": {
                "expected_goals": 0.1202,
                "goal_rate": 0.1216,
                "goals": 0,
                "shots_on_target": 0.3404,
                "total_shots": 0.8282,
                "expected_assists": 0.0208,
                "key_pass": 0.3035,
                "rating": 6.6296,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.104,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4878,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2383,
                "fifa_rank": 1245.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Nico Williams": {
          "player_id": 1085400,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 180,
          "market_value": 44000000,
          "stats": {
            "expected_goals": 0.0414,
            "goal_rate": 0.1257,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0323,
            "key_pass": 1,
            "rating": 6.9675,
            "minutes": 26,
            "total_pass": 11,
            "accurate_pass": 9,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 8.4311,
            "dispossessed": 0.9692,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 4,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 43,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.62,
            "bench_expected_minutes": 25.78,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.04,
            "projected_assists": 0,
            "assist_probability": 0.0315,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.084,
                "expected_assists": 0.0708,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 39,
                "accurate_pass": 30,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0972,
                "expected_assists": 1.0516,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 41,
                "accurate_pass": 34,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 76,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4335,
                "expected_assists": 0.0079,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3375,
                "expected_assists": 0.0017,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 3,
                "accurate_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 60,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0239,
                "expected_assists": 0.0003,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "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": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0856,
                "expected_assists": 0.1838,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 36,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.049,
                "expected_assists": 0.1858,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 8,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 89,
                "rating": 8.8,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.5302,
                "expected_assists": 0.0367,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 21,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 70,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0133,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 65,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0759,
                "expected_assists": 0.0391,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 6,
                "key_pass": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 498,
            "combined_rank_score": 291.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 351.0,
            "sofascore_rating": 6.984,
            "sofascore_appearances": 25.0,
            "fifa_rank": 231.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9675,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nico Williams",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alex Fernandes",
                  "ranking": 493
                },
                {
                  "player_name": "Lucas Soto",
                  "ranking": 494
                },
                {
                  "player_name": "Jo Jun-Hyun",
                  "ranking": 495
                },
                {
                  "player_name": "Nizar El Jmili",
                  "ranking": 496
                },
                {
                  "player_name": "Marco de las Sias",
                  "ranking": 497
                }
              ],
              "lower": [
                {
                  "player_name": "José Ángel López",
                  "ranking": 499
                },
                {
                  "player_name": "Kim Hye-Seong",
                  "ranking": 500
                },
                {
                  "player_name": "Matheus Babi",
                  "ranking": 501
                },
                {
                  "player_name": "Farrukh Sayfiev",
                  "ranking": 502
                },
                {
                  "player_name": "Dong-min Kim",
                  "ranking": 503
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.762,
          "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.762,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.78,
            "bench_appearance_prob": 0.62,
            "market_value_adjustment": 1.0123,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 25.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "Bench projection scaled from XGBoost F_service (31 historical appearances) to 25.8 expected mins (appearance prob 0.62); FBref playing time empirical prior: 2.0 sub appearances, 25.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0799,
                "goals": 0.1459,
                "goal_rate": 0.1459,
                "shots_on_target": 0.3064,
                "total_shots": 1.1447,
                "expected_assists": 0.0714,
                "key_pass": 0.7196,
                "rating": 6.9675,
                "minutes": 30.07,
                "total_pass": 12.2396,
                "accurate_pass": 9.8153,
                "duels_won": 3.4147,
                "total_long_balls": 0.2132,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.0768,
                "accurate_opp_half_passes": 7.9554,
                "crosses_total": 2.1178,
                "crosses_accurate": 0.3472,
                "touches": 26.9825,
                "possession_lost": 9.7146,
                "dispossessed": 0.9574,
                "duels_lost": 4.9477,
                "aerial_lost": 0.5218,
                "total_contest": 4.3395,
                "won_contest": 1.5659,
                "ball_recovery": 1.5622,
                "challenges_lost": 0.3542,
                "fouls": 0.3407,
                "fouls_drawn": 0.5859,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2208,
                "tackles_won": 0.4917,
                "tackles": 0.9313,
                "clearances": 0.1356,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2448,
                "xgot": 0.0,
                "offsides": 0.1595,
                "ball_carries": 8.8366,
                "total_progression": 49.4185,
                "progressive_carries": 2.8484,
                "shots_off_target": 0.8383
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0927,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.067,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 36.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 18.2453,
                  "expectedGoals": 0.1746,
                  "accurateOppositionHalfPasses": 13.342,
                  "accuratePass": 18.001,
                  "totalShots": 2.0547
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07992341369390488,
                    "model_output": 0.0799,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0889
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0107
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0055
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0036
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0799,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.598102
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.103817
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.057609
                        },
                        {
                          "name": "goals",
                          "margin": 0.038061
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.036895
                        }
                      ],
                      "others_margin": -0.146409
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14585816860198975,
                    "model_output": 0.1459,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0764
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0081
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.006
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0055
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0051
                        }
                      ],
                      "others": 0.0052,
                      "total": 0.1459,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.471239
                        },
                        {
                          "name": "goals",
                          "margin": 0.061526
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.043211
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.039787
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.036756
                        }
                      ],
                      "others_margin": 0.037203
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.30642926692962646,
                    "model_output": 0.3064,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2327
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0316
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0278
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0168
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": 0.0175
                        }
                      ],
                      "others": -0.0366,
                      "total": 0.3064,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.567186
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.098708
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.086224
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.053063
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": 0.05239
                        }
                      ],
                      "others_margin": -0.112969
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1446884870529175,
                    "model_output": 1.1447,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5553
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1492
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0649
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.061
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0592
                        }
                      ],
                      "others": -0.0081,
                      "total": 1.1447,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.555256
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.149208
                        },
                        {
                          "name": "goals",
                          "margin": 0.064896
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.060994
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.059164
                        }
                      ],
                      "others_margin": -0.008157
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07135449349880219,
                    "model_output": 0.0714,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0212
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0081
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.005
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0029
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.003
                        }
                      ],
                      "others": 0.0094,
                      "total": 0.0714,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.401085
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.171722
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.093896
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.050203
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.05018
                        }
                      ],
                      "others_margin": 0.140499
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7196004986763,
                    "model_output": 0.7196,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.248
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0777
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.065
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0309
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0278
                        }
                      ],
                      "others": 0.0928,
                      "total": 0.7196,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.459373
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.167865
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.121546
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.053013
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.045357
                        }
                      ],
                      "others_margin": 0.137997
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9674973487854,
                    "model_output": 6.9675,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0789
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0483
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0412
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.038
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0314
                        }
                      ],
                      "others": 0.1205,
                      "total": 6.9675,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.078851
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.048258
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.041157
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.037972
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.03138
                        }
                      ],
                      "others_margin": 0.120577
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 31,
                  "role_matches": 7,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0123, quality 0.800)",
              "stats": {
                "expected_goals": 0.0809,
                "goals": 0.1477,
                "goal_rate": 0.1477,
                "shots_on_target": 0.3102,
                "total_shots": 1.1588,
                "expected_assists": 0.0722,
                "key_pass": 0.7285,
                "rating": 6.9675,
                "minutes": 30.07,
                "total_pass": 12.3901,
                "accurate_pass": 9.936,
                "duels_won": 3.4567,
                "total_long_balls": 0.2158,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.2007,
                "accurate_opp_half_passes": 8.0533,
                "crosses_total": 2.1438,
                "crosses_accurate": 0.3515,
                "touches": 27.3144,
                "possession_lost": 9.8341,
                "dispossessed": 0.9692,
                "duels_lost": 5.0086,
                "aerial_lost": 0.5282,
                "total_contest": 4.3929,
                "won_contest": 1.5852,
                "ball_recovery": 1.5814,
                "challenges_lost": 0.3586,
                "fouls": 0.3449,
                "fouls_drawn": 0.5931,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2235,
                "tackles_won": 0.4977,
                "tackles": 0.9428,
                "clearances": 0.1373,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2478,
                "xgot": 0.0,
                "offsides": 0.1615,
                "ball_carries": 8.9453,
                "total_progression": 50.0263,
                "progressive_carries": 2.8834,
                "shots_off_target": 0.8486
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0123,
                "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.0072)",
              "stats": {
                "expected_goals": 0.0809,
                "goals": 0.1466,
                "goal_rate": 0.1466,
                "shots_on_target": 0.308,
                "total_shots": 1.1584,
                "expected_assists": 0.0722,
                "key_pass": 0.7285,
                "rating": 6.9675,
                "minutes": 30.07,
                "total_pass": 12.3901,
                "accurate_pass": 9.936,
                "duels_won": 3.4567,
                "total_long_balls": 0.2158,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.2007,
                "accurate_opp_half_passes": 8.0533,
                "crosses_total": 2.1404,
                "crosses_accurate": 0.3515,
                "touches": 27.3144,
                "possession_lost": 9.8341,
                "dispossessed": 0.9692,
                "duels_lost": 5.0086,
                "aerial_lost": 0.5282,
                "total_contest": 4.3929,
                "won_contest": 1.5852,
                "ball_recovery": 1.5814,
                "challenges_lost": 0.3586,
                "fouls": 0.3424,
                "fouls_drawn": 0.5888,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2239,
                "tackles_won": 0.4981,
                "tackles": 0.9428,
                "clearances": 0.1373,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2478,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 8.9453,
                "total_progression": 50.0263,
                "progressive_carries": 2.8834,
                "shots_off_target": 0.8486
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3341,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Athletic Club"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 30.1 to 25.8 expected minutes (appearance prob 0.62)",
              "stats": {
                "expected_goals": 0.0694,
                "goals": 0.1257,
                "goal_rate": 0.1257,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0619,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78
              },
              "params": {
                "expected_minutes": 25.78,
                "projection_minutes": 30.07,
                "minutes_scale": 0.8573,
                "appearance_probability": 0.62
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0694,
                "goals": 0.1257,
                "goal_rate": 0.1257,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0619,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0694,
                "goal_rate": 0.1257,
                "goals": 0,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0619,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.1257,
                "goals": 0,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0323,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 0.62
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0694,
                  "after": 0.0414
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0619,
                  "after": 0.0323
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 84.0)",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.1257,
                "goals": 0,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0323,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 84.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": 498,
                "fifa_rank": 231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.1257,
                "goals": 0,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0323,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.04,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.04,
                "goal_rate": 0.1257,
                "scorer_weight": 0.0517,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0476,
                "finishing_factor": 1.25,
                "appearance_weight": 0.62,
                "weight_rank": 5,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0414,
                "goal_rate": 0.1257,
                "goals": 0,
                "shots_on_target": 0.2641,
                "total_shots": 0.9931,
                "expected_assists": 0.0323,
                "key_pass": 0.6246,
                "rating": 6.9675,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7275,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.04,
                "projected_assists": 0,
                "assist_probability": 0.0315,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0315,
                "assist_rate": 0.0,
                "provider_weight": 0.0258,
                "squad_weight_total": 0.7312,
                "weight_share": 0.0353,
                "creation_factor": 0.8,
                "appearance_weight": 0.62,
                "weight_rank": 9,
                "eligible_players": 12
              }
            }
          ]
        },
        "Mikel Jauregizar": {
          "player_id": 1495844,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 177,
          "market_value": 31000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0132,
            "assist_rate": 0.0437,
            "assists": 0,
            "expected_goals": 0.0184,
            "goal_rate": 0.0402,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7218,
            "minutes": 25,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 4.0087,
            "dispossessed": 0.3336,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0014,
            "ball_carries": 5,
            "total_progression": 9,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.523,
            "bench_expected_minutes": 24.7,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0181,
            "projected_assists": 0,
            "assist_probability": 0.013,
            "finishing_factor": 1.0416,
            "creation_factor": 1.1713,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.0348,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 60,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0334,
                "expected_assists": 0.0042,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 14,
                "tackles": 3,
                "tackles_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": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "tackles": 1,
                "interceptions": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "tackles": 4,
                "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": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 85,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0034,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 13,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1908,
                "expected_assists": 0.0838,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 28,
                "accurate_pass": 22,
                "key_pass": 1,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 27,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.047,
                "expected_assists": 0.0045,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0771,
                "expected_assists": 0.242,
                "total_shots": 2,
                "total_pass": 44,
                "accurate_pass": 36,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0216,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 15,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1561,
            "combined_rank_score": 778.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 641.0,
            "sofascore_rating": 6.75,
            "sofascore_appearances": 36.0,
            "fifa_rank": 915.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7218,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mikel Jauregizar",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Seul-chan Lee",
                  "ranking": 1556
                },
                {
                  "player_name": "Yu Dong-Kyu",
                  "ranking": 1557
                },
                {
                  "player_name": "Sunnatillokh Khamidzhonov",
                  "ranking": 1558
                },
                {
                  "player_name": "Ham Sunwoo",
                  "ranking": 1559
                },
                {
                  "player_name": "Fisnik Asllani",
                  "ranking": 1560
                }
              ],
              "lower": [
                {
                  "player_name": "José Tiznado",
                  "ranking": 1562
                },
                {
                  "player_name": "Azizjon Akhrorov",
                  "ranking": 1563
                },
                {
                  "player_name": "Usmonali Ismonaliev",
                  "ranking": 1564
                },
                {
                  "player_name": "Damir Temirov",
                  "ranking": 1565
                },
                {
                  "player_name": "Sadriddin Khasanov",
                  "ranking": 1566
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.761,
          "history_matches": 41,
          "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": 41,
            "data_confidence": 0.761,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 24.7,
            "bench_appearance_prob": 0.523,
            "market_value_adjustment": 1.0072,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 26.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0733
            },
            "rationale": "Bench projection scaled from XGBoost M_service (41 historical appearances) to 24.7 expected mins (appearance prob 0.52); FBref playing time empirical prior: 1.0 sub appearances, 26.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.3583,
                "expected_assists": 0.0297,
                "assists": 0.0434,
                "assist_rate": 0.0434,
                "expected_goals": 0.0362,
                "goals": 0.04,
                "goal_rate": 0.04,
                "shots_on_target": 0.1297,
                "total_shots": 0.3751,
                "rating": 6.7218,
                "minutes": 24.64,
                "total_pass": 16.7019,
                "accurate_pass": 13.7638,
                "duels_won": 2.2922,
                "total_long_balls": 1.8575,
                "accurate_long_balls": 1.3812,
                "total_own_half_passes": 8.8549,
                "accurate_own_half_passes": 7.7985,
                "total_opp_half_passes": 7.847,
                "accurate_opp_half_passes": 5.9653,
                "crosses_total": 0.1656,
                "crosses_accurate": 0.0,
                "touches": 23.1562,
                "possession_lost": 3.9704,
                "dispossessed": 0.3312,
                "duels_lost": 2.2751,
                "aerial_won": 0.6008,
                "aerial_lost": 0.3604,
                "interceptions": 0.9656,
                "tackles_won": 0.728,
                "tackles": 1.152,
                "clearances": 0.3312,
                "total_contest": 0.1656,
                "won_contest": 0.0,
                "challenges_lost": 0.8283,
                "fouls": 0.5896,
                "fouls_drawn": 0.5393,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9562,
                "total_progression": 8.5494,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2454
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7455,
                  "creative_index": 0.2145,
                  "expectedGoals": 0.0306,
                  "expectedAssists": 0.0335,
                  "onTargetScoringAttempt": 0.4392
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.3582855761051178,
                    "model_output": 0.3583,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3844
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0469
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0323
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0212
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.0304,
                      "total": 0.3583,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.562979
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.096666
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.072465
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.05067
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.048916
                        }
                      ],
                      "others_margin": -0.08154
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02971707656979561,
                    "model_output": 0.0297,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0374
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0051
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0026
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0018
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0297,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.573152
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.111176
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.061325
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.044861
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.040574
                        }
                      ],
                      "others_margin": -0.227345
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.043446145951747894,
                    "model_output": 0.0434,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0228
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.006
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0039
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0033
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.005,
                      "total": 0.0434,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.303007
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.09822
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.068751
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062244
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.056256
                        }
                      ],
                      "others_margin": -0.108683
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03622487187385559,
                    "model_output": 0.0362,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0352
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0103
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0054
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0031
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0362,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.467032
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.191358
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.117213
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.069253
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.06508
                        }
                      ],
                      "others_margin": -0.185252
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04003032669425011,
                    "model_output": 0.04,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0301
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0074
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0045
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0127,
                      "total": 0.04,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.367496
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.11507
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.112295
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.088023
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.065351
                        }
                      ],
                      "others_margin": -0.27564
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.12974286079406738,
                    "model_output": 0.1297,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1456
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0161
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0144
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0031
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0141,
                      "total": 0.1297,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.59254
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.093593
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.091975
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.021203
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.0183
                        }
                      ],
                      "others_margin": -0.102903
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3750992715358734,
                    "model_output": 0.3751,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3807
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0646
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0378
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0302
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0212
                        }
                      ],
                      "others": -0.1283,
                      "total": 0.3751,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.380658
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.064604
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.037799
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.030199
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.021158
                        }
                      ],
                      "others_margin": -0.128333
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.721785068511963,
                    "model_output": 6.7218,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0852
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0286
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0104
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0061
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0059
                        }
                      ],
                      "others": -0.0069,
                      "total": 6.7218,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.085186
                        },
                        {
                          "name": "rating",
                          "margin": -0.02855
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.010417
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.006086
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.005911
                        }
                      ],
                      "others_margin": -0.006941
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 41,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0072, quality 0.725)",
              "stats": {
                "key_pass": 0.3609,
                "expected_assists": 0.0299,
                "assists": 0.0438,
                "assist_rate": 0.0438,
                "expected_goals": 0.0365,
                "goals": 0.0403,
                "goal_rate": 0.0403,
                "shots_on_target": 0.1307,
                "total_shots": 0.3779,
                "rating": 6.7218,
                "minutes": 24.64,
                "total_pass": 16.8222,
                "accurate_pass": 13.8629,
                "duels_won": 2.3087,
                "total_long_balls": 1.8709,
                "accurate_long_balls": 1.3911,
                "total_own_half_passes": 8.9187,
                "accurate_own_half_passes": 7.8546,
                "total_opp_half_passes": 7.9035,
                "accurate_opp_half_passes": 6.0083,
                "crosses_total": 0.1668,
                "crosses_accurate": 0.0,
                "touches": 23.3229,
                "possession_lost": 3.999,
                "dispossessed": 0.3336,
                "duels_lost": 2.2915,
                "aerial_won": 0.6051,
                "aerial_lost": 0.363,
                "interceptions": 0.9726,
                "tackles_won": 0.7332,
                "tackles": 1.1603,
                "clearances": 0.3336,
                "total_contest": 0.1668,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5938,
                "fouls_drawn": 0.5432,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9919,
                "total_progression": 8.611,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2472
              },
              "params": {
                "market_value_eur": 31000000,
                "quality_factor": 0.7249,
                "boost_factor": 1.0072,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0052)",
              "stats": {
                "key_pass": 0.3609,
                "expected_assists": 0.0299,
                "assists": 0.0436,
                "assist_rate": 0.0436,
                "expected_goals": 0.0365,
                "goals": 0.0401,
                "goal_rate": 0.0401,
                "shots_on_target": 0.13,
                "total_shots": 0.3759,
                "rating": 6.7218,
                "minutes": 24.64,
                "total_pass": 16.8222,
                "accurate_pass": 13.8629,
                "duels_won": 2.3087,
                "total_long_balls": 1.8709,
                "accurate_long_balls": 1.3911,
                "total_own_half_passes": 8.9187,
                "accurate_own_half_passes": 7.8546,
                "total_opp_half_passes": 7.9035,
                "accurate_opp_half_passes": 6.0083,
                "crosses_total": 0.1659,
                "crosses_accurate": 0.0,
                "touches": 23.3229,
                "possession_lost": 3.999,
                "dispossessed": 0.3336,
                "duels_lost": 2.2915,
                "aerial_won": 0.6051,
                "aerial_lost": 0.363,
                "interceptions": 0.9714,
                "tackles_won": 0.7307,
                "tackles": 1.1603,
                "clearances": 0.3336,
                "total_contest": 0.1668,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5933,
                "fouls_drawn": 0.5404,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9919,
                "total_progression": 8.611,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2472
              },
              "params": {
                "blend_weight": 0.0052,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2738,
                "prior_reliability": 0.0733,
                "competition": "La Liga",
                "squad": "Athletic Club"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.6 to 24.7 expected minutes (appearance prob 0.52)",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.03,
                "assists": 0.0437,
                "assist_rate": 0.0437,
                "expected_goals": 0.0366,
                "goals": 0.0402,
                "goal_rate": 0.0402,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7
              },
              "params": {
                "expected_minutes": 24.7,
                "projection_minutes": 24.64,
                "minutes_scale": 1.0024,
                "appearance_probability": 0.523
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.03,
                "assists": 0.0437,
                "assist_rate": 0.0437,
                "expected_goals": 0.0366,
                "goals": 0.0402,
                "goal_rate": 0.0402,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.03,
                "assist_rate": 0.0437,
                "assists": 0,
                "expected_goals": 0.0366,
                "goal_rate": 0.0402,
                "goals": 0,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.00 (squad xG sum 1.0407, xG scale 0.9628, xA scale 0.8417, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.0132,
                "assist_rate": 0.0437,
                "assists": 0,
                "expected_goals": 0.0184,
                "goal_rate": 0.0402,
                "goals": 0,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0014,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0416,
                "creation_factor": 1.1713
              },
              "params": {
                "team_lambda": 1.002,
                "squad_xg_sum": 1.0407,
                "squad_xa_sum": 0.9524,
                "team_expected_assists": 0.8016,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9628,
                "xa_scale": 0.8417,
                "opponent_lambda": 0.986,
                "scoreline_reset": true,
                "appearance_weight": 0.523
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0366,
                  "after": 0.0184
                },
                {
                  "stat": "expected_assists",
                  "before": 0.03,
                  "after": 0.0132
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.0132,
                "assist_rate": 0.0437,
                "assists": 0,
                "expected_goals": 0.0184,
                "goal_rate": 0.0402,
                "goals": 0,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0014,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0416,
                "creation_factor": 1.1713,
                "fifa_overall": 79.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": 1561,
                "fifa_rank": 915.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.0132,
                "assist_rate": 0.0437,
                "assists": 0,
                "expected_goals": 0.0184,
                "goal_rate": 0.0402,
                "goals": 0,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0014,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0181,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0416,
                "creation_factor": 1.1713,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0181,
                "goal_rate": 0.0402,
                "scorer_weight": 0.0192,
                "squad_weight_total": 1.0881,
                "weight_share": 0.0176,
                "finishing_factor": 1.0416,
                "appearance_weight": 0.523,
                "weight_rank": 11,
                "eligible_players": 12
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.3618,
                "expected_assists": 0.0132,
                "assist_rate": 0.0437,
                "assists": 0,
                "expected_goals": 0.0184,
                "goal_rate": 0.0402,
                "goals": 0,
                "shots_on_target": 0.1303,
                "total_shots": 0.3781,
                "rating": 6.7218,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0014,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2478,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0181,
                "projected_assists": 0,
                "assist_probability": 0.013,
                "finishing_factor": 1.0416,
                "creation_factor": 1.1713,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.013,
                "assist_rate": 0.0437,
                "provider_weight": 0.0155,
                "squad_weight_total": 0.7312,
                "weight_share": 0.0211,
                "creation_factor": 1.1713,
                "appearance_weight": 0.523,
                "weight_rank": 11,
                "eligible_players": 12
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 1.0,
        "expected_assists": 0.8,
        "total_shots": 10,
        "shots_on_target": 2,
        "total_passes": 447,
        "interceptions": 11,
        "tackles": 14,
        "avg_rating": 6.91,
        "possession_estimated_pct": 49.3,
        "pressing_actions_per_90": 6.6
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Javier Guerra",
        "attacker_role": "LW",
        "attacker_market_value": 26000000,
        "attacker_height": 187,
        "attacker_skill_quality": 0.686,
        "defenders": [
          "Jesús Areso"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.468,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.581,
        "xg_contribution": 0.1689,
        "xg_multiplier": 1.1485,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 4,
        "dribbles_successful": 2.0,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.3,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jesús Areso",
            "role": "RB",
            "market_value": 5500000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.419
          }
        ],
        "duel_analysis": "Javier Guerra (LW) is slightly favored against Jesús Areso in a direct 1v1 contest. Duel win probability: 58%. The quality gap is significant (€26M vs €6M avg). Matchup xG multiplier ×1.15 (×1.00 = his usual level). Projected xG contribution: 0.169 — creating consistent moderate threat."
      },
      {
        "attacker": "Hugo Duro",
        "attacker_role": "ST",
        "attacker_market_value": 10700000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.531,
        "defenders": [
          "Aymeric Laporte",
          "Yeray Álvarez"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.47,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.192,
        "xg_contribution": 0.3222,
        "xg_multiplier": 0.9878,
        "shots_in_zone": 2.1,
        "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": "LOW",
        "defender_stats": [
          {
            "player": "Aymeric Laporte",
            "role": "CB",
            "market_value": 8400000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.808
          },
          {
            "player": "Yeray Álvarez",
            "role": "CB",
            "market_value": 930000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.808
          }
        ],
        "duel_analysis": "Hugo Duro (ST) is evenly matched against Aymeric Laporte and Yeray Álvarez in a 2-defender block. Duel win probability: 19%.  Matchup xG multiplier ×0.99 (×1.00 = his usual level). Projected xG contribution: 0.322 — with neither side clearly dominant."
      },
      {
        "attacker": "Dani Raba",
        "attacker_role": "ST",
        "attacker_market_value": 1000000,
        "attacker_height": 184,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Aymeric Laporte",
          "Yeray Álvarez"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.47,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1413,
        "xg_multiplier": 0.9496,
        "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.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Aymeric Laporte",
            "role": "CB",
            "market_value": 8400000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Yeray Álvarez",
            "role": "CB",
            "market_value": 930000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Dani Raba (ST) is evenly matched against Aymeric Laporte and Yeray Álvarez in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.95 (×1.00 = his usual level). Projected xG contribution: 0.141 — with neither side clearly dominant."
      },
      {
        "attacker": "David Otorbi",
        "attacker_role": "ST",
        "attacker_market_value": 3300000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.441,
        "defenders": [
          "Aymeric Laporte",
          "Yeray Álvarez"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.47,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1498,
        "xg_multiplier": 0.9286,
        "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": "LOW",
        "defender_stats": [
          {
            "player": "Aymeric Laporte",
            "role": "CB",
            "market_value": 8400000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Yeray Álvarez",
            "role": "CB",
            "market_value": 930000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "David Otorbi (ST) faces tough defensive resistance against Aymeric Laporte and Yeray Álvarez in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.93 (×1.00 = his usual level). Projected xG contribution: 0.150 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Guido Rodríguez",
        "attacker_role": "CDM",
        "attacker_market_value": 3600000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.445,
        "defenders": [
          "Iñigo Ruiz de Galarreta"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.471,
        "xg_contribution": 0.0571,
        "xg_multiplier": 1.0748,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iñigo Ruiz de Galarreta",
            "role": "CDM",
            "market_value": 1800000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.529
          }
        ],
        "duel_analysis": "Guido Rodríguez (CDM) is slightly favored against Iñigo Ruiz de Galarreta in a direct 1v1 contest. Duel win probability: 47%.  Matchup xG multiplier ×1.07 (×1.00 = his usual level). Projected xG contribution: 0.057 — creating consistent moderate threat."
      },
      {
        "attacker": "Pepelu",
        "attacker_role": "CDM",
        "attacker_market_value": 7300000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.49,
        "defenders": [
          "Iñigo Ruiz de Galarreta"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.495,
        "xg_contribution": 0.0368,
        "xg_multiplier": 1.1099,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iñigo Ruiz de Galarreta",
            "role": "CDM",
            "market_value": 1800000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.505
          }
        ],
        "duel_analysis": "Pepelu (CDM) is slightly favored against Iñigo Ruiz de Galarreta in a direct 1v1 contest. Duel win probability: 49%.  Matchup xG multiplier ×1.11 (×1.00 = his usual level). Projected xG contribution: 0.037 — creating consistent moderate threat."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Peio Canales",
        "attacker_role": "LW",
        "attacker_market_value": 9700000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.519,
        "defenders": [
          "Pablo Maffeo"
        ],
        "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.522,
        "xg_contribution": 0.0886,
        "xg_multiplier": 1.0622,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.4,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Maffeo",
            "role": "RB",
            "market_value": 2400000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.478
          }
        ],
        "duel_analysis": "Peio Canales (LW) is slightly favored against Pablo Maffeo in a direct 1v1 contest. Duel win probability: 52%.  Matchup xG multiplier ×1.06 (×1.00 = his usual level). Projected xG contribution: 0.089 — creating consistent moderate threat."
      },
      {
        "attacker": "Iñaki Williams",
        "attacker_role": "ST",
        "attacker_market_value": 7300000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.49,
        "defenders": [
          "Justin De Haas",
          "Mouctar Diakhaby"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.466,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.3484,
        "xg_multiplier": 0.9705,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Justin De Haas",
            "role": "CB",
            "market_value": 7700000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Mouctar Diakhaby",
            "role": "CB",
            "market_value": 1500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Iñaki Williams (ST) is evenly matched against Justin De Haas and Mouctar Diakhaby in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.348 — with neither side clearly dominant."
      },
      {
        "attacker": "Robert Navarro",
        "attacker_role": "ST",
        "attacker_market_value": 7500000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.493,
        "defenders": [
          "Justin De Haas",
          "Mouctar Diakhaby"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.466,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.187,
        "xg_multiplier": 0.9251,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.5,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Justin De Haas",
            "role": "CB",
            "market_value": 7700000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Mouctar Diakhaby",
            "role": "CB",
            "market_value": 1500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Robert Navarro (ST) faces tough defensive resistance against Justin De Haas and Mouctar Diakhaby in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.93 (×1.00 = his usual level). Projected xG contribution: 0.187 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Álex Berenguer",
        "attacker_role": "ST",
        "attacker_market_value": 4099999,
        "attacker_height": 175,
        "attacker_skill_quality": 0.451,
        "defenders": [
          "Justin De Haas",
          "Mouctar Diakhaby"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.466,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1309,
        "xg_multiplier": 0.8917,
        "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.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Justin De Haas",
            "role": "CB",
            "market_value": 7700000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Mouctar Diakhaby",
            "role": "CB",
            "market_value": 1500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Álex Berenguer (ST) faces tough defensive resistance against Justin De Haas and Mouctar Diakhaby in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.89 (×1.00 = his usual level). Projected xG contribution: 0.131 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Iñigo Ruiz de Galarreta",
        "attacker_role": "CDM",
        "attacker_market_value": 1800000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Guido Rodríguez"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.445,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.369,
        "xg_contribution": 0.0474,
        "xg_multiplier": 0.9252,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.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": "Guido Rodríguez",
            "role": "CDM",
            "market_value": 3600000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.631
          }
        ],
        "duel_analysis": "Iñigo Ruiz de Galarreta (CDM) faces tough defensive resistance against Guido Rodríguez in a direct 1v1 contest. Duel win probability: 37%.  Matchup xG multiplier ×0.93 (×1.00 = his usual level). Projected xG contribution: 0.047 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Beñat Gerenabarrena",
        "attacker_role": "CDM",
        "attacker_market_value": 5200000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.465,
        "defenders": [
          "Guido Rodríguez"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.445,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.382,
        "xg_contribution": 0.0294,
        "xg_multiplier": 0.9447,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Guido Rodríguez",
            "role": "CDM",
            "market_value": 3600000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.618
          }
        ],
        "duel_analysis": "Beñat Gerenabarrena (CDM) is evenly matched against Guido Rodríguez in a direct 1v1 contest. Duel win probability: 38%.  Matchup xG multiplier ×0.94 (×1.00 = his usual level). Projected xG contribution: 0.029 — with neither side clearly dominant."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.54,
      "away_midfield_power": 0.474,
      "home_creative_power": 0.5,
      "away_creative_power": 0.472,
      "home_defensive_power": 0.504,
      "away_defensive_power": 0.488,
      "home_dominance_ratio": 0.533,
      "home_midfield_count": 3,
      "away_midfield_count": 3,
      "home_midfield_players": [
        "Javier Guerra",
        "Guido Rodríguez",
        "Pepelu"
      ],
      "away_midfield_players": [
        "Iñigo Ruiz de Galarreta",
        "Beñat Gerenabarrena",
        "Peio Canales"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 50.7,
      "estimated_possession_away_pct": 49.3,
      "home_pressing_actions_per_90": 6.8,
      "away_pressing_actions_per_90": 6.6,
      "home_key_passes_projected": 4.5,
      "away_key_passes_projected": 4.3,
      "home_throughball_threat": 2.1,
      "away_throughball_threat": 2.0,
      "key_personal_duel": "Javier Guerra vs Peio Canales",
      "midfield_lambda_factor_home": 1.008,
      "midfield_lambda_factor_away": 0.99
    },
    "formation_analysis": {
      "home_formation": "4-2-3-1",
      "away_formation": "4-2-3-1",
      "home_tactical_bonus": 0.0,
      "away_tactical_bonus": 0.0,
      "formation_verdict": "Tactical parity between 4-2-3-1 and 4-2-3-1. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 0.986,
    "away_lambda": 1.002,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Left Wing vs Right Back — Flank Battle"
    ],
    "away_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "home_player_antagonists": {
      "Javier Guerra": {
        "opponents": [
          "Jesús Areso",
          "Peio Canales"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Hugo Duro": {
        "opponents": [
          "Aymeric Laporte",
          "Yeray Álvarez"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Dani Raba": {
        "opponents": [
          "Aymeric Laporte",
          "Yeray Álvarez"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "David Otorbi": {
        "opponents": [
          "Aymeric Laporte",
          "Yeray Álvarez"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Guido Rodríguez": {
        "opponents": [
          "Iñigo Ruiz de Galarreta",
          "Beñat Gerenabarrena"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Pepelu": {
        "opponents": [
          "Iñigo Ruiz de Galarreta",
          "Beñat Gerenabarrena"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "attacking_duel, midfield_pairing"
      },
      "Pablo Maffeo": {
        "opponents": [
          "Peio Canales"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Justin De Haas": {
        "opponents": [
          "Iñaki Williams",
          "Robert Navarro",
          "Álex Berenguer"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Mouctar Diakhaby": {
        "opponents": [
          "Iñaki Williams",
          "Robert Navarro",
          "Álex Berenguer"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Stole Dimitrievski": {
        "opponents": [
          "Robert Navarro",
          "Iñaki Williams"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "José Luis Gayà": {
        "opponents": [
          "Álex Berenguer"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Jesús Areso": {
        "opponents": [
          "Javier Guerra"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Aymeric Laporte": {
        "opponents": [
          "Hugo Duro",
          "Dani Raba",
          "David Otorbi"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Yeray Álvarez": {
        "opponents": [
          "Hugo Duro",
          "Dani Raba",
          "David Otorbi"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Iñigo Ruiz de Galarreta": {
        "opponents": [
          "Guido Rodríguez",
          "Pepelu"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Peio Canales": {
        "opponents": [
          "Pablo Maffeo",
          "Javier Guerra"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Iñaki Williams": {
        "opponents": [
          "Justin De Haas",
          "Mouctar Diakhaby"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Robert Navarro": {
        "opponents": [
          "Justin De Haas",
          "Mouctar Diakhaby"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Álex Berenguer": {
        "opponents": [
          "Justin De Haas",
          "Mouctar Diakhaby"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Beñat Gerenabarrena": {
        "opponents": [
          "Guido Rodríguez",
          "Pepelu"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "attacking_duel, midfield_pairing"
      },
      "Unai Simón": {
        "opponents": [
          "Hugo Duro",
          "David Otorbi"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Yuri Berchiche": {
        "opponents": [
          "Dani Raba"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Javier Guerra vs Peio Canales will be the pivotal duel. Total antagonist xG — Home: 0.88, Away: 0.83. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle.",
    "lambda_factors": {
      "league_anchor": 1.35,
      "home_advantage_factor": 1.15,
      "home_gk_opposition_factor": 0.9273,
      "away_gk_opposition_factor": 1.0107,
      "home_set_piece_bonus": 0.1255,
      "away_set_piece_bonus": 0.067,
      "home_defensive_solidity_vs": 1.0022,
      "away_defensive_solidity_vs": 1.005,
      "home_midfield_factor": 1.008,
      "away_midfield_factor": 0.99,
      "stage_discount": 1.0,
      "quality_gap_applied": false,
      "home_avg_quality": 0.4854,
      "away_avg_quality": 0.4702,
      "avg_quality_gap": 0.0152,
      "squad_value_gap_log": 0.2377,
      "top5_value_gap_log": 0.3102,
      "attack_value_gap_log": 0.3056,
      "elite_count_gap": 0,
      "combined_quality_gap": 0.0498,
      "stronger_lambda_boost": 0.0,
      "weaker_lambda_suppression": 0.0,
      "home_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.8761,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 0.9946
        },
        {
          "label": "midfield_factor",
          "factor": 1.008,
          "result": 1.0025
        },
        {
          "label": "formation_bonus",
          "factor": 1.0,
          "result": 1.0025
        },
        {
          "label": "home_advantage",
          "factor": 1.15,
          "result": 1.1529
        },
        {
          "label": "standing_factor",
          "factor": 0.8651,
          "result": 0.9974
        },
        {
          "label": "gk_opposition",
          "factor": 0.9273,
          "result": 0.9249
        },
        {
          "label": "defensive_solidity",
          "factor": 1.0022,
          "result": 0.9269
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.1255,
          "result": 1.0524
        },
        {
          "label": "engine_clamp",
          "pre": 1.0524,
          "result": 1.0524,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": false,
          "combined_quality_gap": 0.0498,
          "factor": 1.0,
          "pre": 1.0524,
          "result": 1.0524
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.0524
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.1812,
          "result": 1.2332
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.2469,
          "result": 1.0083
        },
        {
          "label": "router_clamp",
          "pre": 1.0083,
          "result": 1.008,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9786,
          "pre": 1.008,
          "result": 0.9864,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 0.986
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 0.986
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 0.986,
          "result": 0.986,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": false,
          "reason": "no_sofascore_matches_data",
          "samples": 0,
          "scale": 1.0,
          "observed_total_goals": 0.0,
          "result": 0.986
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.8317,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 0.9613
        },
        {
          "label": "midfield_factor",
          "factor": 0.99,
          "result": 0.9517
        },
        {
          "label": "formation_bonus",
          "factor": 1.0,
          "result": 0.9517
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 0.9517
        },
        {
          "label": "standing_factor",
          "factor": 1.0034,
          "result": 0.9549
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 0.9651
        },
        {
          "label": "defensive_solidity",
          "factor": 1.005,
          "result": 0.9699
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.067,
          "result": 1.0369
        },
        {
          "label": "engine_clamp",
          "pre": 1.0369,
          "result": 1.0369,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": false,
          "combined_quality_gap": 0.0498,
          "factor": 1.0,
          "pre": 1.0369,
          "result": 1.0369
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.0369
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.1611,
          "result": 1.1981
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.2444,
          "result": 0.9807
        },
        {
          "label": "router_clamp",
          "pre": 0.9807,
          "result": 0.981,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0214,
          "pre": 0.981,
          "result": 1.002,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 1.002
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 1.002
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 1.002,
          "result": 1.002,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": false,
          "reason": "no_sofascore_matches_data",
          "samples": 0,
          "scale": 1.0,
          "observed_total_goals": 0.0,
          "result": 1.002
        }
      ],
      "home_bench_lambda_bonus": 0.1812,
      "away_bench_lambda_bonus": 0.1611,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Valencia",
        "away_squad": "Athletic Club",
        "home_goals_per90": 0.3333333333333333,
        "away_goals_against_per90": 1.0,
        "away_goals_per90": 1.0,
        "home_goals_against_per90": 0.33,
        "home_empirical_lambda": 0.247,
        "away_empirical_lambda": 0.244,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 0.986,
      "pre_competitive_floor_away_lambda": 1.002,
      "pre_calibration_home_lambda": 1.0083,
      "pre_calibration_away_lambda": 0.9807,
      "competition_calibration_applied": false,
      "competition_calibration_reason": "no_sofascore_matches_data",
      "competition_calibration_samples": 0,
      "competition_observed_total_goals": 0.0,
      "competition_calibration_scale": 1.0,
      "neutral_share_preserved": false,
      "final_home_lambda": 0.986,
      "final_away_lambda": 1.002
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 19,
    "opponent_position": 10,
    "standing_lambda_multiplier": 0.8651,
    "attack_index": 0.794,
    "defense_concede_index": 0.882,
    "form_multiplier": 0.977,
    "team_attack_rate_contextual": 1.23,
    "opp_defense_rate_contextual": 1.36,
    "team_ppg": 0.94,
    "opponent_ppg": 1.35
  },
  "away_standing": {
    "available": true,
    "team_position": 10,
    "opponent_position": 19,
    "standing_lambda_multiplier": 1.0034,
    "attack_index": 0.918,
    "defense_concede_index": 1.085,
    "form_multiplier": 1.023,
    "team_attack_rate_contextual": 1.42,
    "opp_defense_rate_contextual": 1.68,
    "team_ppg": 1.35,
    "opponent_ppg": 0.94
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Valencia vs Athletic Club. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-2-3-1 vs 4-2-3-1 (duel lambdas: Home 1.008, Away 0.981). Final calibrated Poisson lambdas: Home 0.986, Away 1.002 (most likely score 0-0).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 10,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 10,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Valencia",
      "away_squad": "Athletic Club",
      "home_goals_per90": 0.3333333333333333,
      "away_goals_against_per90": 1.0,
      "away_goals_per90": 1.0,
      "home_goals_against_per90": 0.33,
      "home_empirical_lambda": 0.247,
      "away_empirical_lambda": 0.244,
      "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": 0.986,
      "away_lambda": 1.002,
      "micro_duel_home_lambda": 1.008,
      "micro_duel_away_lambda": 0.981
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-17T13:33:23Z",
  "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
  }
}