{
  "match_info": {
    "home_team": "Racing Club",
    "away_team": "Valencia",
    "tournament": "LaLiga",
    "date": "20261011",
    "timezone": "America/New_York",
    "home_formation": "4-2-3-1",
    "away_formation": "4-4-2",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "1-0",
    "home_goals": 1,
    "away_goals": 0,
    "most_likely_score_probability": 0.1074,
    "match_resolution": "regulation",
    "predicted_winner": "Racing Club",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.2648,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "1-0",
        "probability": 0.1074
      },
      {
        "score": "1-1",
        "probability": 0.126
      },
      {
        "score": "2-1",
        "probability": 0.0888
      },
      {
        "score": "0-1",
        "probability": 0.0867
      },
      {
        "score": "0-0",
        "probability": 0.0774
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0774,
      "0-1": 0.0867,
      "0-2": 0.0505,
      "0-3": 0.0194,
      "0-4": 0.0056,
      "0-5": 0.0013,
      "1-0": 0.1074,
      "1-1": 0.126,
      "1-2": 0.0719,
      "1-3": 0.0276,
      "1-4": 0.0079,
      "1-5": 0.0018,
      "2-0": 0.0771,
      "2-1": 0.0888,
      "2-2": 0.0511,
      "2-3": 0.0196,
      "2-4": 0.0056,
      "2-5": 0.0013,
      "3-0": 0.0366,
      "3-1": 0.0421,
      "3-2": 0.0242,
      "3-3": 0.0093,
      "3-4": 0.0027,
      "3-5": 0.0006,
      "4-0": 0.013,
      "4-1": 0.015,
      "4-2": 0.0086,
      "4-3": 0.0033,
      "4-4": 0.001,
      "5-0": 0.0037,
      "5-1": 0.0043,
      "5-2": 0.0024,
      "5-3": 0.0009,
      "6-0": 0.0009,
      "6-1": 0.001,
      "6-2": 0.0006
    },
    "outcome": {
      "home_win": 0.4312,
      "draw": 0.2648,
      "away_win": 0.304
    },
    "markets": {
      "over_2_5_goals": 0.4748,
      "under_2_5_goals": 0.5252,
      "btts_yes": 0.5199,
      "btts_no": 0.4801,
      "home_clean_sheet": 0.3163,
      "away_clean_sheet": 0.2412
    },
    "home_ratings": {
      "DR": 6.76,
      "MCR": 6.86,
      "ATR": 6.93,
      "GK": 6.76
    },
    "away_ratings": {
      "DR": 6.75,
      "MCR": 6.87,
      "ATR": 6.64,
      "GK": 6.91
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Racing Club vs Valencia. Most likely scoreline: 1-0. Lambdas derived from 6 home and 6 away individual player duels. Head-to-head: Racing Club 1W-4D-5L vs Valencia over 10 meetings.",
      "key_player": "Projected scorer(s): Yassir Zabiri",
      "tactical_analysis": "4-2-3-1 creates structural superiority against 4-4-2. Home team should exploit wider spaces and numerical advantages in transition. Midfield is evenly contested — Matteo Prati vs Javier Guerra will be the pivotal duel. Total antagonist xG — Home: 0.79, Away: 0.69. 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.7,
    "home_lambda": 1.422,
    "away_lambda": 1.151,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 1,
      "away_wins": 5,
      "draws": 4,
      "home_multiplier": 0.9714,
      "away_multiplier": 1.0286
    },
    "modal_scoreline": "1-1",
    "modal_scoreline_probability": 0.126,
    "headline_policy": "decisive_score_substitution"
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.4312,
      "draw": 0.2648,
      "away_win": 0.304
    },
    "favorite": "Racing Club",
    "favorite_win_probability": 0.4312,
    "fair_spread": 0.271,
    "fair_total": 2.573,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Racing Club",
        "estimate": 1.422,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Valencia",
        "estimate": 1.151,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.4748,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.5199,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Racing Club",
        "estimate": 1.0,
        "probability": 0.3163,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Valencia",
        "estimate": 1.0,
        "probability": 0.2412,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Yassir Zabiri (Racing Club)",
        "estimate": 0.5152,
        "probability": 0.4026,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Hugo Duro (Valencia)",
        "estimate": 0.3512,
        "probability": 0.2962,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Jorge Salinas (Racing Club)",
        "estimate": 0.2326,
        "probability": 0.2075,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Javier Guerra (Valencia)",
        "estimate": 0.1433,
        "probability": 0.1335,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "balanced",
      "expected_total_goals": 2.573,
      "expected_total_shots": 22,
      "expected_total_passes": 882,
      "expected_pressing_actions_per_90": 12.8,
      "possession_home_pct": 48.5,
      "possession_away_pct": 51.5,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Racing Club",
      "favorite_win_probability": 0.4312,
      "script": "Racing Club is the fair winner side, but the baseline remains narrow: fair spread +0.27 goals and fair total 2.57.",
      "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 Racing Club lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Racing Club chance creation leans on Yassir Zabiri against Mouctar Diakhaby, Justin De Haas in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Racing Club: starters carry the main goal usage through Yassir Zabiri; bench watchlist: Andrés Martín, Giorgi Guliashvili.",
      "Valencia: starters carry the main goal usage through the highest xG attackers; bench watchlist: Harvey Elliott, Diego López, Largie Ramazani.",
      "Assist usage should flow through Iñigo Vicente; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Racing 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 1.29 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 Racing 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": {
    "Racing Club": {
      "formation": "4-2-3-1",
      "players": {
        "Yassir Zabiri": {
          "player_id": 1606013,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 21,
          "height": 182,
          "market_value": 9800000,
          "stats": {
            "expected_goals": 0.5152,
            "goal_rate": 0.5868,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0598,
            "key_pass": 1,
            "rating": 7.0036,
            "minutes": 78,
            "total_pass": 11,
            "accurate_pass": 8,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 24,
            "possession_lost": 7.7289,
            "dispossessed": 1.1364,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 0,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.8748,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 14,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9667,
            "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": "Mouctar Diakhaby, Justin De Haas",
            "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4026,
            "projected_assists": 0,
            "assist_probability": 0.058,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 66.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 75,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0304,
                "expected_assists": 0.0043,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "interceptions": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 31,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2463,
                "expected_assists": 0.0009,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 5,
                "accurate_pass": 5,
                "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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 74,
                "rating": 8.6,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.5057,
                "expected_assists": 0.0212,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0316,
                "expected_assists": 0.0372,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 69,
                "rating": 10.0,
                "goal_rate": 3.0,
                "goals": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7095,
                "expected_assists": 0.0239,
                "total_shots": 5,
                "shots_on_target": 3,
                "total_pass": 8,
                "accurate_pass": 5,
                "tackles": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 26,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0086,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 21,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0107,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 6997,
            "combined_rank_score": 5331.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 112.0,
            "sofascore_rating": 7.4333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 10550.0,
            "fifa_overall": 66.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0036,
            "source_file": "data/player_rankings.csv",
            "player_name": "Yassir Zabiri",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carlos Garcés",
                  "ranking": 6992
                },
                {
                  "player_name": "Joel Canchimbo",
                  "ranking": 6993
                },
                {
                  "player_name": "Mateo García",
                  "ranking": 6994
                },
                {
                  "player_name": "Alan Rodríguez",
                  "ranking": 6995
                },
                {
                  "player_name": "Mateo Gamarra",
                  "ranking": 6996
                }
              ],
              "lower": [
                {
                  "player_name": "Jorge Daniel Valencia",
                  "ranking": 6998
                },
                {
                  "player_name": "Adrian Bajrami",
                  "ranking": 6999
                },
                {
                  "player_name": "Iván Leguizamón",
                  "ranking": 7000
                },
                {
                  "player_name": "Rubén Lezcano",
                  "ranking": 7001
                },
                {
                  "player_name": "Marcos Mina",
                  "ranking": 7002
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.701,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.701,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0019,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 117.0,
              "goals_per90": 2.3076923076923075,
              "assists_per90": 0.0,
              "shots_per90": 3.85,
              "shots_on_target_pct": 60.0,
              "prior_reliability": 0.0867
            },
            "rationale": "XGBoost regressor (F_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.09, gls/90: 2.3076923076923075, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.4101,
                "goals": 0.5724,
                "goal_rate": 0.5724,
                "shots_on_target": 1.1642,
                "total_shots": 2.5178,
                "expected_assists": 0.046,
                "key_pass": 0.6274,
                "rating": 7.0036,
                "minutes": 77.99,
                "total_pass": 11.2676,
                "accurate_pass": 8.4017,
                "duels_won": 2.7673,
                "total_long_balls": 0.4595,
                "accurate_long_balls": 0.4595,
                "total_opp_half_passes": 7.9208,
                "accurate_opp_half_passes": 5.7411,
                "crosses_total": 0.2267,
                "crosses_accurate": 0.0,
                "touches": 23.613,
                "possession_lost": 7.7142,
                "dispossessed": 1.1342,
                "duels_lost": 4.8954,
                "aerial_lost": 0.7333,
                "total_contest": 1.0811,
                "won_contest": 0.8544,
                "ball_recovery": 0.0,
                "challenges_lost": 0.5806,
                "fouls": 2.4875,
                "fouls_drawn": 0.8073,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3138,
                "tackles_won": 0.7202,
                "tackles": 0.9129,
                "clearances": 0.5782,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.6963,
                "offsides": 0.4595,
                "ball_carries": 4.9354,
                "total_progression": 13.9688,
                "progressive_carries": 0.4935,
                "shots_off_target": 1.3536
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1877,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.5668,
                  "totalOppositionHalfPasses": 5.8212,
                  "accurateOppositionHalfPasses": 4.3867,
                  "accuratePass": 7.0319,
                  "totalShots": 2.1055
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.4101428985595703,
                    "model_output": 0.4101,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0584
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0512
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0373
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0292
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.029
                        }
                      ],
                      "others": 0.0072,
                      "total": 0.4101,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.258503
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.182228
                        },
                        {
                          "name": "goals",
                          "margin": 0.114574
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.081438
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.074771
                        }
                      ],
                      "others_margin": 0.017507
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.5724486112594604,
                    "model_output": 0.5724,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0725
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.076
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0554
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.043
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0435
                        }
                      ],
                      "others": 0.0788,
                      "total": 0.5724,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.305335
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.24336
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.146212
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.100382
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.092214
                        }
                      ],
                      "others_margin": 0.148361
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.1641954183578491,
                    "model_output": 1.1642,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1588
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.1089
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0812
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0724
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0691
                        }
                      ],
                      "others": 0.1371,
                      "total": 1.1642,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.259178
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.145407
                        },
                        {
                          "name": "goals",
                          "margin": 0.096123
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.078599
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.06964
                        }
                      ],
                      "others_margin": 0.125366
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.517760992050171,
                    "model_output": 2.5178,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5579
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.1814
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1726
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1514
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1284
                        }
                      ],
                      "others": -0.0467,
                      "total": 2.5178,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.557914
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.181422
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.172555
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.151427
                        },
                        {
                          "name": "goals",
                          "margin": 0.128364
                        }
                      ],
                      "others_margin": -0.046728
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04600343108177185,
                    "model_output": 0.046,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0199
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0101
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0083
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0066
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0091,
                      "total": 0.046,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.2716
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.128674
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.119952
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.105698
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.065627
                        }
                      ],
                      "others_margin": -0.179491
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6273809671401978,
                    "model_output": 0.6274,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2239
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0569
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0519
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0463
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0388
                        }
                      ],
                      "others": -0.0754,
                      "total": 0.6274,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.287341
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.065607
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.063742
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.060509
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.053737
                        }
                      ],
                      "others_margin": -0.113571
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.003628253936768,
                    "model_output": 7.0036,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0771
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0683
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0681
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0274
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0216
                        }
                      ],
                      "others": 0.0755,
                      "total": 7.0036,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.077141
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.06829
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.068133
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.027426
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.021608
                        }
                      ],
                      "others_margin": 0.075491
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "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.0019, quality 0.520)",
              "stats": {
                "expected_goals": 0.4109,
                "goals": 0.5735,
                "goal_rate": 0.5735,
                "shots_on_target": 1.1664,
                "total_shots": 2.5226,
                "expected_assists": 0.0461,
                "key_pass": 0.6286,
                "rating": 7.0036,
                "minutes": 77.99,
                "total_pass": 11.289,
                "accurate_pass": 8.4177,
                "duels_won": 2.7726,
                "total_long_balls": 0.4604,
                "accurate_long_balls": 0.4604,
                "total_opp_half_passes": 7.9358,
                "accurate_opp_half_passes": 5.752,
                "crosses_total": 0.2271,
                "crosses_accurate": 0.0,
                "touches": 23.6579,
                "possession_lost": 7.7289,
                "dispossessed": 1.1364,
                "duels_lost": 4.9047,
                "aerial_lost": 0.7347,
                "total_contest": 1.0832,
                "won_contest": 0.856,
                "ball_recovery": 0.0,
                "challenges_lost": 0.5817,
                "fouls": 2.4922,
                "fouls_drawn": 0.8088,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3144,
                "tackles_won": 0.7216,
                "tackles": 0.9146,
                "clearances": 0.5793,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.6976,
                "offsides": 0.4604,
                "ball_carries": 4.9448,
                "total_progression": 13.9953,
                "progressive_carries": 0.4944,
                "shots_off_target": 1.3562
              },
              "params": {
                "market_value_eur": 9800000,
                "quality_factor": 0.5201,
                "boost_factor": 1.0019,
                "reference_quality": 0.505,
                "history_matches": 7,
                "history_shrink": 0.4167,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0235)",
              "stats": {
                "expected_goals": 0.4109,
                "goals": 0.607,
                "goal_rate": 0.607,
                "shots_on_target": 1.186,
                "total_shots": 2.5417,
                "expected_assists": 0.0461,
                "key_pass": 0.6286,
                "rating": 7.0036,
                "minutes": 77.99,
                "total_pass": 11.289,
                "accurate_pass": 8.4177,
                "duels_won": 2.7726,
                "total_long_balls": 0.4604,
                "accurate_long_balls": 0.4604,
                "total_opp_half_passes": 7.9358,
                "accurate_opp_half_passes": 5.752,
                "crosses_total": 0.2218,
                "crosses_accurate": 0.0,
                "touches": 23.6579,
                "possession_lost": 7.7289,
                "dispossessed": 1.1364,
                "duels_lost": 4.9047,
                "aerial_lost": 0.7347,
                "total_contest": 1.0832,
                "won_contest": 0.856,
                "ball_recovery": 0.0,
                "challenges_lost": 0.5817,
                "fouls": 2.4806,
                "fouls_drawn": 0.7898,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.307,
                "tackles_won": 0.7047,
                "tackles": 0.9146,
                "clearances": 0.5793,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.6976,
                "offsides": 0.4809,
                "ball_carries": 4.9448,
                "total_progression": 13.9953,
                "progressive_carries": 0.4944,
                "shots_off_target": 1.3562
              },
              "params": {
                "blend_weight": 0.0235,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8666,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "goals",
                  "before": 0.5735,
                  "after": 0.607
                },
                {
                  "stat": "totalOffside",
                  "before": 0.4604,
                  "after": 0.4809
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.1664,
                  "after": 1.186
                },
                {
                  "stat": "totalShots",
                  "before": 2.5226,
                  "after": 2.5417
                },
                {
                  "stat": "wasFouled",
                  "before": 0.8088,
                  "after": 0.7898
                },
                {
                  "stat": "wonTackle",
                  "before": 0.7216,
                  "after": 0.7047
                },
                {
                  "stat": "fouls",
                  "before": 2.4922,
                  "after": 2.4806
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.3144,
                  "after": 0.307
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.4109,
                "goals": 0.607,
                "goal_rate": 0.607,
                "shots_on_target": 1.186,
                "total_shots": 2.5422,
                "expected_assists": 0.0461,
                "key_pass": 0.6286,
                "rating": 7.0036,
                "minutes": 77.99,
                "total_pass": 11.289,
                "accurate_pass": 8.4177,
                "duels_won": 2.7726,
                "total_long_balls": 0.4604,
                "accurate_long_balls": 0.4604,
                "total_opp_half_passes": 7.9358,
                "accurate_opp_half_passes": 5.752,
                "crosses_total": 0.2218,
                "crosses_accurate": 0.0,
                "touches": 23.6579,
                "possession_lost": 7.7289,
                "dispossessed": 1.1364,
                "duels_lost": 4.9047,
                "aerial_lost": 0.7347,
                "total_contest": 1.0832,
                "won_contest": 0.856,
                "ball_recovery": 0.0,
                "challenges_lost": 0.5817,
                "fouls": 2.4806,
                "fouls_drawn": 0.7898,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.307,
                "tackles_won": 0.7047,
                "tackles": 0.9146,
                "clearances": 0.5793,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.6976,
                "offsides": 0.4809,
                "ball_carries": 4.9448,
                "total_progression": 13.9953,
                "progressive_carries": 0.4944,
                "shots_off_target": 1.3562
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.3972,
                "goals": 0.5868,
                "goal_rate": 0.5868,
                "shots_on_target": 1.1465,
                "total_shots": 2.4575,
                "expected_assists": 0.0461,
                "key_pass": 0.6286,
                "rating": 7.0036,
                "minutes": 77.99,
                "total_pass": 11.289,
                "accurate_pass": 8.4177,
                "duels_won": 2.7726,
                "total_long_balls": 0.4604,
                "accurate_long_balls": 0.4604,
                "total_opp_half_passes": 7.9358,
                "accurate_opp_half_passes": 5.752,
                "crosses_total": 0.2218,
                "crosses_accurate": 0.0,
                "touches": 23.6579,
                "possession_lost": 7.7289,
                "dispossessed": 1.1364,
                "duels_lost": 4.9047,
                "aerial_lost": 0.7347,
                "total_contest": 1.0832,
                "won_contest": 0.856,
                "ball_recovery": 0.0,
                "challenges_lost": 0.5817,
                "fouls": 2.4806,
                "fouls_drawn": 0.7898,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.307,
                "tackles_won": 0.7047,
                "tackles": 0.9146,
                "clearances": 0.5793,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.6744,
                "offsides": 0.4809,
                "ball_carries": 4.9448,
                "total_progression": 13.9953,
                "progressive_carries": 0.4944,
                "shots_off_target": 1.311,
                "duel_xg_multiplier": 0.9667,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                  "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.9667,
                  "skill_edge": 0.0174,
                  "height_edge": -0.04,
                  "attacker_skill": 0.5201,
                  "defender_skill": 0.4815,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Mouctar Diakhaby",
                      "market_value": 1500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Justin De Haas",
                      "market_value": 7700000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5256
                    }
                  ],
                  "xg_override": 0.3972
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.5422,
                  "after": 2.4575
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3562,
                  "after": 1.311
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.186,
                  "after": 1.1465
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.6976,
                  "after": 0.6744
                },
                {
                  "stat": "goals",
                  "before": 0.607,
                  "after": 0.5868
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.4109,
                  "after": 0.3972
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.5152,
                "goal_rate": 0.5868,
                "goals": 0,
                "shots_on_target": 1.1465,
                "total_shots": 2.4575,
                "expected_assists": 0.0598,
                "key_pass": 0.6286,
                "rating": 7.0036,
                "minutes": 77.99,
                "total_pass": 11.289,
                "accurate_pass": 8.4177,
                "duels_won": 2.7726,
                "total_long_balls": 0.4604,
                "accurate_long_balls": 0.4604,
                "total_opp_half_passes": 7.9358,
                "accurate_opp_half_passes": 5.752,
                "crosses_total": 0.2218,
                "crosses_accurate": 0.0,
                "touches": 23.6579,
                "possession_lost": 7.7289,
                "dispossessed": 1.1364,
                "duels_lost": 4.9047,
                "aerial_lost": 0.7347,
                "total_contest": 1.0832,
                "won_contest": 0.856,
                "ball_recovery": 0.0,
                "challenges_lost": 0.5817,
                "fouls": 2.4806,
                "fouls_drawn": 0.7898,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.307,
                "tackles_won": 0.7047,
                "tackles": 0.9146,
                "clearances": 0.5793,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.8748,
                "offsides": 0.4809,
                "ball_carries": 4.9448,
                "total_progression": 13.9953,
                "progressive_carries": 0.4944,
                "shots_off_target": 1.311,
                "duel_xg_multiplier": 0.9667,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "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.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3972,
                  "after": 0.5152
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0461,
                  "after": 0.0598
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 66.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.5152,
                "goal_rate": 0.5868,
                "goals": 0,
                "shots_on_target": 1.1465,
                "total_shots": 2.4575,
                "expected_assists": 0.0598,
                "key_pass": 0.6286,
                "rating": 7.0036,
                "minutes": 77.99,
                "total_pass": 11.289,
                "accurate_pass": 8.4177,
                "duels_won": 2.7726,
                "total_long_balls": 0.4604,
                "accurate_long_balls": 0.4604,
                "total_opp_half_passes": 7.9358,
                "accurate_opp_half_passes": 5.752,
                "crosses_total": 0.2218,
                "crosses_accurate": 0.0,
                "touches": 23.6579,
                "possession_lost": 7.7289,
                "dispossessed": 1.1364,
                "duels_lost": 4.9047,
                "aerial_lost": 0.7347,
                "total_contest": 1.0832,
                "won_contest": 0.856,
                "ball_recovery": 0.0,
                "challenges_lost": 0.5817,
                "fouls": 2.4806,
                "fouls_drawn": 0.7898,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.307,
                "tackles_won": 0.7047,
                "tackles": 0.9146,
                "clearances": 0.5793,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.8748,
                "offsides": 0.4809,
                "ball_carries": 4.9448,
                "total_progression": 13.9953,
                "progressive_carries": 0.4944,
                "shots_off_target": 1.311,
                "duel_xg_multiplier": 0.9667,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "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": 66.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": 6997,
                "fifa_rank": 10550.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 66.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.5152,
                "goal_rate": 0.5868,
                "goals": 1,
                "shots_on_target": 1.1465,
                "total_shots": 2.4575,
                "expected_assists": 0.0598,
                "key_pass": 0.6286,
                "rating": 7.0036,
                "minutes": 77.99,
                "total_pass": 11.289,
                "accurate_pass": 8.4177,
                "duels_won": 2.7726,
                "total_long_balls": 0.4604,
                "accurate_long_balls": 0.4604,
                "total_opp_half_passes": 7.9358,
                "accurate_opp_half_passes": 5.752,
                "crosses_total": 0.2218,
                "crosses_accurate": 0.0,
                "touches": 23.6579,
                "possession_lost": 7.7289,
                "dispossessed": 1.1364,
                "duels_lost": 4.9047,
                "aerial_lost": 0.7347,
                "total_contest": 1.0832,
                "won_contest": 0.856,
                "ball_recovery": 0.0,
                "challenges_lost": 0.5817,
                "fouls": 2.4806,
                "fouls_drawn": 0.7898,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.307,
                "tackles_won": 0.7047,
                "tackles": 0.9146,
                "clearances": 0.5793,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.8748,
                "offsides": 0.4809,
                "ball_carries": 4.9448,
                "total_progression": 13.9953,
                "progressive_carries": 0.4944,
                "shots_off_target": 1.311,
                "duel_xg_multiplier": 0.9667,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4026,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 66.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.4026,
                "scorer_weight": 0.644,
                "squad_weight_total": 1.5453,
                "weight_share": 0.4167,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.5152,
                "goal_rate": 0.5868,
                "goals": 1,
                "shots_on_target": 1.1465,
                "total_shots": 2.4575,
                "expected_assists": 0.0598,
                "key_pass": 0.6286,
                "rating": 7.0036,
                "minutes": 77.99,
                "total_pass": 11.289,
                "accurate_pass": 8.4177,
                "duels_won": 2.7726,
                "total_long_balls": 0.4604,
                "accurate_long_balls": 0.4604,
                "total_opp_half_passes": 7.9358,
                "accurate_opp_half_passes": 5.752,
                "crosses_total": 0.2218,
                "crosses_accurate": 0.0,
                "touches": 23.6579,
                "possession_lost": 7.7289,
                "dispossessed": 1.1364,
                "duels_lost": 4.9047,
                "aerial_lost": 0.7347,
                "total_contest": 1.0832,
                "won_contest": 0.856,
                "ball_recovery": 0.0,
                "challenges_lost": 0.5817,
                "fouls": 2.4806,
                "fouls_drawn": 0.7898,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.307,
                "tackles_won": 0.7047,
                "tackles": 0.9146,
                "clearances": 0.5793,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.8748,
                "offsides": 0.4809,
                "ball_carries": 4.9448,
                "total_progression": 13.9953,
                "progressive_carries": 0.4944,
                "shots_off_target": 1.311,
                "duel_xg_multiplier": 0.9667,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4026,
                "projected_assists": 0,
                "assist_probability": 0.058,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 66.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.058,
                "provider_weight": 0.0478,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0461,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Iñigo Vicente": {
          "player_id": 605674,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 178,
          "market_value": 6600000,
          "stats": {
            "expected_goals": 0.0824,
            "goal_rate": 0.0681,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.2315,
            "key_pass": 2,
            "rating": 7.0784,
            "minutes": 84,
            "total_pass": 68,
            "accurate_pass": 52,
            "duels_won": 5,
            "total_long_balls": 8,
            "accurate_long_balls": 4,
            "total_opp_half_passes": 49,
            "accurate_opp_half_passes": 35,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 86,
            "possession_lost": 24.3641,
            "dispossessed": 1.9538,
            "duels_lost": 8,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 1,
            "ball_recovery": 5,
            "challenges_lost": 2,
            "fouls": 2,
            "fouls_drawn": 2,
            "assist_rate": 0.3507,
            "assists": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0166,
            "offsides": 0,
            "ball_carries": 22,
            "total_progression": 67,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9178,
            "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": "Mouctar Diakhaby, Justin De Haas",
            "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0791,
            "projected_assists": 1,
            "assist_probability": 0.2067,
            "finishing_factor": 1.0405,
            "creation_factor": 1.25,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1872,
                "expected_assists": 0.1487,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 86,
                "accurate_pass": 73,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0307,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 5,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 84,
                "rating": 8.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.6962,
                "total_shots": 0,
                "total_pass": 65,
                "accurate_pass": 46,
                "key_pass": 5,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3602,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 35,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 2,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 69,
                "rating": 7.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.678,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 40,
                "key_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0415,
                "expected_assists": 0.1479,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 83,
                "accurate_pass": 60,
                "key_pass": 3,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0953,
                "total_shots": 0,
                "total_pass": 66,
                "accurate_pass": 53,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 10,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2098,
            "combined_rank_score": 795.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 30.0,
            "sofascore_rating": 8.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1561.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0784,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iñigo Vicente",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lee Sang-yong",
                  "ranking": 2093
                },
                {
                  "player_name": "Patrick McClafferty",
                  "ranking": 2094
                },
                {
                  "player_name": "Marko Vešović",
                  "ranking": 2095
                },
                {
                  "player_name": "Radoslav Kirilov",
                  "ranking": 2096
                },
                {
                  "player_name": "Zdravko Dimitrov",
                  "ranking": 2097
                }
              ],
              "lower": [
                {
                  "player_name": "Nahitan Nández",
                  "ranking": 2099
                },
                {
                  "player_name": "Lewis Cook",
                  "ranking": 2100
                },
                {
                  "player_name": "Keane Lewis-Potter",
                  "ranking": 2101
                },
                {
                  "player_name": "José Copete",
                  "ranking": 2102
                },
                {
                  "player_name": "Diego Moreira",
                  "ranking": 2103
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.716,
          "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.716,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9971,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 248.0,
              "goals_per90": 0.0,
              "assists_per90": 0.3571428571428571,
              "shots_per90": 0.36,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1867
            },
            "rationale": "XGBoost regressor (F_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.19, gls/90: 0.0, ast/90: 0.3571428571428571)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0694,
                "goals": 0.0784,
                "goal_rate": 0.0784,
                "shots_on_target": 0.342,
                "total_shots": 1.0204,
                "expected_assists": 0.179,
                "key_pass": 2.2645,
                "rating": 7.0784,
                "minutes": 84.25,
                "total_pass": 68.0684,
                "accurate_pass": 52.2089,
                "duels_won": 5.2045,
                "total_long_balls": 8.0633,
                "accurate_long_balls": 4.3062,
                "total_opp_half_passes": 48.6708,
                "accurate_opp_half_passes": 35.3129,
                "crosses_total": 2.9633,
                "crosses_accurate": 0.6745,
                "touches": 86.481,
                "possession_lost": 24.435,
                "dispossessed": 1.9595,
                "duels_lost": 7.8087,
                "aerial_lost": 0.1257,
                "total_contest": 3.7346,
                "won_contest": 1.2623,
                "ball_recovery": 4.8916,
                "challenges_lost": 1.7989,
                "fouls": 1.578,
                "fouls_drawn": 2.2708,
                "assists": 0.3526,
                "assist_rate": 0.3526,
                "interceptions": 0.6699,
                "tackles_won": 1.253,
                "tackles": 1.4667,
                "clearances": 0.7853,
                "blocks": 0.0,
                "big_chances_created": 0.4783,
                "big_chances_missed": 0.0,
                "xgot": 0.014,
                "offsides": 0.2809,
                "ball_carries": 22.4769,
                "total_progression": 67.6724,
                "progressive_carries": 2.0158,
                "shots_off_target": 0.6784
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1877,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 8.0
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0454,
                  "totalOppositionHalfPasses": 40.8507,
                  "accurateOppositionHalfPasses": 29.7354,
                  "accuratePass": 44.0383,
                  "totalShots": 0.7603
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06938592344522476,
                    "model_output": 0.0694,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.053
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0358
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0286
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0237
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0483,
                      "total": 0.0694,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.311979
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.221109
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.172651
                        },
                        {
                          "name": "goals",
                          "margin": -0.169325
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.086602
                        }
                      ],
                      "others_margin": -0.528354
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07843755930662155,
                    "model_output": 0.0784,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0338
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0236
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0199
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0158
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0135
                        }
                      ],
                      "others": -0.0182,
                      "total": 0.0784,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.181862
                        },
                        {
                          "name": "goals",
                          "margin": -0.15033
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.146523
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.134571
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.13065
                        }
                      ],
                      "others_margin": -0.207821
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3419761061668396,
                    "model_output": 0.342,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.141
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0953
                        },
                        {
                          "name": "goals",
                          "contribution": -0.062
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0549
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0455
                        }
                      ],
                      "others": -0.078,
                      "total": 0.342,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.233263
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.151535
                        },
                        {
                          "name": "goals",
                          "margin": -0.112542
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.111466
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.102896
                        }
                      ],
                      "others_margin": -0.205555
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0203298330307007,
                    "model_output": 1.0203,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3985
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2064
                        },
                        {
                          "name": "goals",
                          "contribution": -0.1224
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0892
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0836
                        }
                      ],
                      "others": -0.2494,
                      "total": 1.0203,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.398539
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.206449
                        },
                        {
                          "name": "goals",
                          "margin": -0.122427
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.089167
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.083585
                        }
                      ],
                      "others_margin": -0.249388
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.17902342975139618,
                    "model_output": 0.179,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0157
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0169
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0149
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0106
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0087
                        }
                      ],
                      "others": 0.0695,
                      "total": 0.179,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.219227
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.193022
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.143647
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.100539
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.083202
                        }
                      ],
                      "others_margin": 0.492399
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 2.2645156383514404,
                    "model_output": 2.2645,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2699
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.3349
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.2385
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.148
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0791
                        }
                      ],
                      "others": 0.5213,
                      "total": 2.2645,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.337362
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.303956
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.171184
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.093169
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.046417
                        }
                      ],
                      "others_margin": 0.26165
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.07841157913208,
                    "model_output": 7.0784,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1162
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0811
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0553
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0504
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0441
                        }
                      ],
                      "others": -0.0323,
                      "total": 7.0784,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.116215
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.081087
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.055317
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.050365
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.044136
                        }
                      ],
                      "others_margin": -0.032316
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9971, quality 0.482)",
              "stats": {
                "expected_goals": 0.0692,
                "goals": 0.0782,
                "goal_rate": 0.0782,
                "shots_on_target": 0.341,
                "total_shots": 1.0174,
                "expected_assists": 0.1785,
                "key_pass": 2.2579,
                "rating": 7.0784,
                "minutes": 84.25,
                "total_pass": 67.871,
                "accurate_pass": 52.0575,
                "duels_won": 5.1894,
                "total_long_balls": 8.0399,
                "accurate_long_balls": 4.2937,
                "total_opp_half_passes": 48.5297,
                "accurate_opp_half_passes": 35.2105,
                "crosses_total": 2.9547,
                "crosses_accurate": 0.6725,
                "touches": 86.2302,
                "possession_lost": 24.3641,
                "dispossessed": 1.9538,
                "duels_lost": 7.7861,
                "aerial_lost": 0.1253,
                "total_contest": 3.7238,
                "won_contest": 1.2586,
                "ball_recovery": 4.8774,
                "challenges_lost": 1.7937,
                "fouls": 1.5734,
                "fouls_drawn": 2.2642,
                "assists": 0.3516,
                "assist_rate": 0.3516,
                "interceptions": 0.668,
                "tackles_won": 1.2494,
                "tackles": 1.4624,
                "clearances": 0.783,
                "blocks": 0.0,
                "big_chances_created": 0.4769,
                "big_chances_missed": 0.0,
                "xgot": 0.014,
                "offsides": 0.2801,
                "ball_carries": 22.4117,
                "total_progression": 67.4762,
                "progressive_carries": 2.01,
                "shots_off_target": 0.6764
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9971,
                "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.0506)",
              "stats": {
                "expected_goals": 0.0692,
                "goals": 0.0742,
                "goal_rate": 0.0742,
                "shots_on_target": 0.3238,
                "total_shots": 0.983,
                "expected_assists": 0.1785,
                "key_pass": 2.2579,
                "rating": 7.0784,
                "minutes": 84.25,
                "total_pass": 67.871,
                "accurate_pass": 52.0575,
                "duels_won": 5.1894,
                "total_long_balls": 8.0399,
                "accurate_long_balls": 4.2937,
                "total_opp_half_passes": 48.5297,
                "accurate_opp_half_passes": 35.2105,
                "crosses_total": 2.9405,
                "crosses_accurate": 0.6725,
                "touches": 86.2302,
                "possession_lost": 24.3641,
                "dispossessed": 1.9538,
                "duels_lost": 7.7861,
                "aerial_lost": 0.1253,
                "total_contest": 3.7238,
                "won_contest": 1.2586,
                "ball_recovery": 4.8774,
                "challenges_lost": 1.7937,
                "fouls": 1.5446,
                "fouls_drawn": 2.2511,
                "assists": 0.3507,
                "assist_rate": 0.3507,
                "interceptions": 0.6511,
                "tackles_won": 1.22,
                "tackles": 1.4624,
                "clearances": 0.783,
                "blocks": 0.0,
                "big_chances_created": 0.4769,
                "big_chances_missed": 0.0,
                "xgot": 0.014,
                "offsides": 0.2828,
                "ball_carries": 22.4117,
                "total_progression": 67.4762,
                "progressive_carries": 2.01,
                "shots_off_target": 0.6764
              },
              "params": {
                "blend_weight": 0.0506,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9361,
                "prior_reliability": 0.1867,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.0174,
                  "after": 0.983
                },
                {
                  "stat": "wonTackle",
                  "before": 1.2494,
                  "after": 1.22
                },
                {
                  "stat": "fouls",
                  "before": 1.5734,
                  "after": 1.5446
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.341,
                  "after": 0.3238
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.668,
                  "after": 0.6511
                },
                {
                  "stat": "totalCross",
                  "before": 2.9547,
                  "after": 2.9405
                },
                {
                  "stat": "wasFouled",
                  "before": 2.2642,
                  "after": 2.2511
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0692,
                "goals": 0.0742,
                "goal_rate": 0.0742,
                "shots_on_target": 0.3238,
                "total_shots": 1.0002,
                "expected_assists": 0.1785,
                "key_pass": 2.2579,
                "rating": 7.0784,
                "minutes": 84.25,
                "total_pass": 67.871,
                "accurate_pass": 52.0575,
                "duels_won": 5.1894,
                "total_long_balls": 8.0399,
                "accurate_long_balls": 4.2937,
                "total_opp_half_passes": 48.5297,
                "accurate_opp_half_passes": 35.2105,
                "crosses_total": 2.9405,
                "crosses_accurate": 0.6725,
                "touches": 86.2302,
                "possession_lost": 24.3641,
                "dispossessed": 1.9538,
                "duels_lost": 7.7861,
                "aerial_lost": 0.1253,
                "total_contest": 3.7238,
                "won_contest": 1.2586,
                "ball_recovery": 4.8774,
                "challenges_lost": 1.7937,
                "fouls": 1.5446,
                "fouls_drawn": 2.2511,
                "assists": 0.3507,
                "assist_rate": 0.3507,
                "interceptions": 0.6511,
                "tackles_won": 1.22,
                "tackles": 1.4624,
                "clearances": 0.783,
                "blocks": 0.0,
                "big_chances_created": 0.4769,
                "big_chances_missed": 0.0,
                "xgot": 0.014,
                "offsides": 0.2828,
                "ball_carries": 22.4117,
                "total_progression": 67.4762,
                "progressive_carries": 2.01,
                "shots_off_target": 0.6764
              },
              "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.0635,
                "goals": 0.0681,
                "goal_rate": 0.0681,
                "shots_on_target": 0.2972,
                "total_shots": 0.918,
                "expected_assists": 0.1785,
                "key_pass": 2.2579,
                "rating": 7.0784,
                "minutes": 84.25,
                "total_pass": 67.871,
                "accurate_pass": 52.0575,
                "duels_won": 5.1894,
                "total_long_balls": 8.0399,
                "accurate_long_balls": 4.2937,
                "total_opp_half_passes": 48.5297,
                "accurate_opp_half_passes": 35.2105,
                "crosses_total": 2.9405,
                "crosses_accurate": 0.6725,
                "touches": 86.2302,
                "possession_lost": 24.3641,
                "dispossessed": 1.9538,
                "duels_lost": 7.7861,
                "aerial_lost": 0.1253,
                "total_contest": 3.7238,
                "won_contest": 1.2586,
                "ball_recovery": 4.8774,
                "challenges_lost": 1.7937,
                "fouls": 1.5446,
                "fouls_drawn": 2.2511,
                "assists": 0.3507,
                "assist_rate": 0.3507,
                "interceptions": 0.6511,
                "tackles_won": 1.22,
                "tackles": 1.4624,
                "clearances": 0.783,
                "blocks": 0.0,
                "big_chances_created": 0.4769,
                "big_chances_missed": 0.0,
                "xgot": 0.0128,
                "offsides": 0.2828,
                "ball_carries": 22.4117,
                "total_progression": 67.4762,
                "progressive_carries": 2.01,
                "shots_off_target": 0.6208,
                "duel_xg_multiplier": 0.9178,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                  "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.9178,
                  "skill_edge": 0.0001,
                  "height_edge": -0.056,
                  "attacker_skill": 0.4818,
                  "defender_skill": 0.4815,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Mouctar Diakhaby",
                      "market_value": 1500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Justin De Haas",
                      "market_value": 7700000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5256
                    }
                  ],
                  "xg_override": 0.0635
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.0002,
                  "after": 0.918
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6764,
                  "after": 0.6208
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3238,
                  "after": 0.2972
                },
                {
                  "stat": "goals",
                  "before": 0.0742,
                  "after": 0.0681
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0692,
                  "after": 0.0635
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.0824,
                "goal_rate": 0.0681,
                "goals": 0,
                "shots_on_target": 0.2972,
                "total_shots": 0.918,
                "expected_assists": 0.2315,
                "key_pass": 2.2579,
                "rating": 7.0784,
                "minutes": 84.25,
                "total_pass": 67.871,
                "accurate_pass": 52.0575,
                "duels_won": 5.1894,
                "total_long_balls": 8.0399,
                "accurate_long_balls": 4.2937,
                "total_opp_half_passes": 48.5297,
                "accurate_opp_half_passes": 35.2105,
                "crosses_total": 2.9405,
                "crosses_accurate": 0.6725,
                "touches": 86.2302,
                "possession_lost": 24.3641,
                "dispossessed": 1.9538,
                "duels_lost": 7.7861,
                "aerial_lost": 0.1253,
                "total_contest": 3.7238,
                "won_contest": 1.2586,
                "ball_recovery": 4.8774,
                "challenges_lost": 1.7937,
                "fouls": 1.5446,
                "fouls_drawn": 2.2511,
                "assist_rate": 0.3507,
                "assists": 0,
                "interceptions": 0.6511,
                "tackles_won": 1.22,
                "tackles": 1.4624,
                "clearances": 0.783,
                "blocks": 0.0,
                "big_chances_created": 0.4769,
                "big_chances_missed": 0.0,
                "xgot": 0.0166,
                "offsides": 0.2828,
                "ball_carries": 22.4117,
                "total_progression": 67.4762,
                "progressive_carries": 2.01,
                "shots_off_target": 0.6208,
                "duel_xg_multiplier": 0.9178,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0405,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0635,
                  "after": 0.0824
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1785,
                  "after": 0.2315
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0824,
                "goal_rate": 0.0681,
                "goals": 0,
                "shots_on_target": 0.2972,
                "total_shots": 0.918,
                "expected_assists": 0.2315,
                "key_pass": 2.2579,
                "rating": 7.0784,
                "minutes": 84.25,
                "total_pass": 67.871,
                "accurate_pass": 52.0575,
                "duels_won": 5.1894,
                "total_long_balls": 8.0399,
                "accurate_long_balls": 4.2937,
                "total_opp_half_passes": 48.5297,
                "accurate_opp_half_passes": 35.2105,
                "crosses_total": 2.9405,
                "crosses_accurate": 0.6725,
                "touches": 86.2302,
                "possession_lost": 24.3641,
                "dispossessed": 1.9538,
                "duels_lost": 7.7861,
                "aerial_lost": 0.1253,
                "total_contest": 3.7238,
                "won_contest": 1.2586,
                "ball_recovery": 4.8774,
                "challenges_lost": 1.7937,
                "fouls": 1.5446,
                "fouls_drawn": 2.2511,
                "assist_rate": 0.3507,
                "assists": 0,
                "interceptions": 0.6511,
                "tackles_won": 1.22,
                "tackles": 1.4624,
                "clearances": 0.783,
                "blocks": 0.0,
                "big_chances_created": 0.4769,
                "big_chances_missed": 0.0,
                "xgot": 0.0166,
                "offsides": 0.2828,
                "ball_carries": 22.4117,
                "total_progression": 67.4762,
                "progressive_carries": 2.01,
                "shots_off_target": 0.6208,
                "duel_xg_multiplier": 0.9178,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0405,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2098,
                "fifa_rank": 1561.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0824,
                "goal_rate": 0.0681,
                "goals": 0,
                "shots_on_target": 0.2972,
                "total_shots": 0.918,
                "expected_assists": 0.2315,
                "key_pass": 2.2579,
                "rating": 7.0784,
                "minutes": 84.25,
                "total_pass": 67.871,
                "accurate_pass": 52.0575,
                "duels_won": 5.1894,
                "total_long_balls": 8.0399,
                "accurate_long_balls": 4.2937,
                "total_opp_half_passes": 48.5297,
                "accurate_opp_half_passes": 35.2105,
                "crosses_total": 2.9405,
                "crosses_accurate": 0.6725,
                "touches": 86.2302,
                "possession_lost": 24.3641,
                "dispossessed": 1.9538,
                "duels_lost": 7.7861,
                "aerial_lost": 0.1253,
                "total_contest": 3.7238,
                "won_contest": 1.2586,
                "ball_recovery": 4.8774,
                "challenges_lost": 1.7937,
                "fouls": 1.5446,
                "fouls_drawn": 2.2511,
                "assist_rate": 0.3507,
                "assists": 0,
                "interceptions": 0.6511,
                "tackles_won": 1.22,
                "tackles": 1.4624,
                "clearances": 0.783,
                "blocks": 0.0,
                "big_chances_created": 0.4769,
                "big_chances_missed": 0.0,
                "xgot": 0.0166,
                "offsides": 0.2828,
                "ball_carries": 22.4117,
                "total_progression": 67.4762,
                "progressive_carries": 2.01,
                "shots_off_target": 0.6208,
                "duel_xg_multiplier": 0.9178,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0791,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0405,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0791,
                "scorer_weight": 0.0857,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0555,
                "finishing_factor": 1.0405,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.0824,
                "goal_rate": 0.0681,
                "goals": 0,
                "shots_on_target": 0.2972,
                "total_shots": 0.918,
                "expected_assists": 0.2315,
                "key_pass": 2.2579,
                "rating": 7.0784,
                "minutes": 84.25,
                "total_pass": 67.871,
                "accurate_pass": 52.0575,
                "duels_won": 5.1894,
                "total_long_balls": 8.0399,
                "accurate_long_balls": 4.2937,
                "total_opp_half_passes": 48.5297,
                "accurate_opp_half_passes": 35.2105,
                "crosses_total": 2.9405,
                "crosses_accurate": 0.6725,
                "touches": 86.2302,
                "possession_lost": 24.3641,
                "dispossessed": 1.9538,
                "duels_lost": 7.7861,
                "aerial_lost": 0.1253,
                "total_contest": 3.7238,
                "won_contest": 1.2586,
                "ball_recovery": 4.8774,
                "challenges_lost": 1.7937,
                "fouls": 1.5446,
                "fouls_drawn": 2.2511,
                "assist_rate": 0.3507,
                "assists": 1,
                "interceptions": 0.6511,
                "tackles_won": 1.22,
                "tackles": 1.4624,
                "clearances": 0.783,
                "blocks": 0.0,
                "big_chances_created": 0.4769,
                "big_chances_missed": 0.0,
                "xgot": 0.0166,
                "offsides": 0.2828,
                "ball_carries": 22.4117,
                "total_progression": 67.4762,
                "progressive_carries": 2.01,
                "shots_off_target": 0.6208,
                "duel_xg_multiplier": 0.9178,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0791,
                "projected_assists": 1,
                "assist_probability": 0.2067,
                "finishing_factor": 1.0405,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2067,
                "provider_weight": 0.2894,
                "squad_weight_total": 1.0367,
                "weight_share": 0.2791,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pablo García": {
          "player_id": 1893910,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 15,
          "height": 175,
          "market_value": 8199999,
          "stats": {
            "expected_goals": 0.204,
            "goal_rate": 0.2372,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0691,
            "key_pass": 1,
            "rating": 6.7092,
            "minutes": 74,
            "total_pass": 13,
            "accurate_pass": 11,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 27,
            "possession_lost": 8.0426,
            "dispossessed": 1.5818,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "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.2143,
            "offsides": 0,
            "ball_carries": 10,
            "total_progression": 12,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9248,
            "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": "Mouctar Diakhaby, Justin De Haas",
            "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1845,
            "projected_assists": 0,
            "assist_probability": 0.0668,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 63,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0438,
                "expected_assists": 0.0246,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 65,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4125,
                "expected_assists": 0.005,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 12,
                "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": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 89,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1417,
                "expected_assists": 0.0041,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0894,
                "expected_assists": 0.007,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2814,
                "expected_assists": 0.0023,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 17,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0317,
                "expected_assists": 0.0322,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14081811,
              "match_date": "2026-04-04",
              "home_team": "Real Betis",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0851,
                "expected_assists": 0.0064,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 8,
                "accurate_pass": 8,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083207,
              "match_date": "2026-02-01",
              "home_team": "Real Betis",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 23,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083096,
              "match_date": "2026-01-25",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 30,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0808,
                "expected_assists": 0.0044,
                "total_shots": 1,
                "total_pass": 7,
                "accurate_pass": 6,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083224,
              "match_date": "2026-01-17",
              "home_team": "Real Betis",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 18,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 5059,
            "combined_rank_score": 3247.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 5917.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7092,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Philippe Sandler",
                  "ranking": 5054
                },
                {
                  "player_name": "Jordan Lotomba",
                  "ranking": 5055
                },
                {
                  "player_name": "Jhon Córdoba",
                  "ranking": 5056
                },
                {
                  "player_name": "Jari De Busser",
                  "ranking": 5057
                },
                {
                  "player_name": "Gijs Smal",
                  "ranking": 5058
                }
              ],
              "lower": [
                {
                  "player_name": "Jacob Trenskow",
                  "ranking": 5060
                },
                {
                  "player_name": "Virgil Ghiță",
                  "ranking": 5061
                },
                {
                  "player_name": "Daan Rots",
                  "ranking": 5062
                },
                {
                  "player_name": "Thomas Beelen",
                  "ranking": 5063
                },
                {
                  "player_name": "Alexandre Penetra",
                  "ranking": 5064
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.756,
          "history_matches": 21,
          "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": 21,
            "data_confidence": 0.756,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9998,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 54.0,
              "goals_per90": 1.6666666666666667,
              "assists_per90": 0.0,
              "shots_per90": 5.0,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.04
            },
            "rationale": "XGBoost regressor (F_service) evaluated 21 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.04, gls/90: 1.6666666666666667, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1701,
                "goals": 0.251,
                "goal_rate": 0.251,
                "shots_on_target": 0.6388,
                "total_shots": 1.7389,
                "expected_assists": 0.0534,
                "key_pass": 0.7694,
                "rating": 6.7092,
                "minutes": 73.77,
                "total_pass": 12.9277,
                "accurate_pass": 11.3922,
                "duels_won": 2.3807,
                "total_long_balls": 0.8592,
                "accurate_long_balls": 0.5896,
                "total_opp_half_passes": 7.6574,
                "accurate_opp_half_passes": 7.1219,
                "crosses_total": 1.1401,
                "crosses_accurate": 0.0,
                "touches": 26.8816,
                "possession_lost": 8.0442,
                "dispossessed": 1.5821,
                "duels_lost": 5.1081,
                "aerial_lost": 0.8344,
                "total_contest": 1.8841,
                "won_contest": 0.8188,
                "ball_recovery": 2.3971,
                "challenges_lost": 1.1544,
                "fouls": 0.4719,
                "fouls_drawn": 1.0315,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3063,
                "tackles_won": 0.3356,
                "tackles": 0.5304,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1948,
                "xgot": 0.1786,
                "offsides": 0.0,
                "ball_carries": 10.1391,
                "total_progression": 12.3273,
                "progressive_carries": 1.0871,
                "shots_off_target": 1.1001
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.1551,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1318,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1121,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0953,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.081,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0688,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Espanyol",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0585,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Valencia",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0497,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-01-25",
                    "opponent": "Deportivo Alavés",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0423,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-01-17",
                    "opponent": "Villarreal",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0359,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.1329,
                  "totalOppositionHalfPasses": 5.5422,
                  "accurateOppositionHalfPasses": 5.1528,
                  "accuratePass": 7.8141,
                  "totalShots": 1.4317
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17012152075767517,
                    "model_output": 0.1701,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0685
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0501
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0169
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0097
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0072
                        }
                      ],
                      "others": -0.0267,
                      "total": 0.1701,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.297264
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.208443
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.08136
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.049903
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.037321
                        }
                      ],
                      "others_margin": -0.145852
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.25096258521080017,
                    "model_output": 0.251,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0976
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0585
                        },
                        {
                          "name": "goals",
                          "contribution": 0.027
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0205
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0162
                        }
                      ],
                      "others": -0.014,
                      "total": 0.251,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.392269
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.216407
                        },
                        {
                          "name": "goals",
                          "margin": 0.105529
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.079073
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.062916
                        }
                      ],
                      "others_margin": -0.05399
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6388273239135742,
                    "model_output": 0.6388,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1639
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0468
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0347
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0306
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0255
                        }
                      ],
                      "others": 0.0064,
                      "total": 0.6388,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.266456
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.06909
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.051683
                        },
                        {
                          "name": "goals",
                          "margin": -0.045533
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.039463
                        }
                      ],
                      "others_margin": 0.01011
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.7389051914215088,
                    "model_output": 1.7389,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4826
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0507
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0431
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.035
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0339
                        }
                      ],
                      "others": -0.1252,
                      "total": 1.7389,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.482619
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.050747
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.04315
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.035018
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.033871
                        }
                      ],
                      "others_margin": -0.125264
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05335496366024017,
                    "model_output": 0.0534,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0227
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0186
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0054
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0038
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0025,
                      "total": 0.0534,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.303656
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.24187
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.082118
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.062997
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.051341
                        }
                      ],
                      "others_margin": -0.044919
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7694488763809204,
                    "model_output": 0.7694,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.238
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0554
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0472
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0428
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0348
                        }
                      ],
                      "others": -0.0468,
                      "total": 0.7694,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.302892
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.062719
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.056776
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.051607
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.041724
                        }
                      ],
                      "others_margin": -0.058985
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.709218502044678,
                    "model_output": 6.7092,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0558
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0225
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0176
                        },
                        {
                          "name": "rating",
                          "contribution": -0.015
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0111
                        }
                      ],
                      "others": -0.044,
                      "total": 6.7092,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.055821
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.022533
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.017616
                        },
                        {
                          "name": "rating",
                          "margin": -0.015018
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.011067
                        }
                      ],
                      "others_margin": -0.043978
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 21,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9998, quality 0.501)",
              "stats": {
                "expected_goals": 0.1701,
                "goals": 0.2509,
                "goal_rate": 0.2509,
                "shots_on_target": 0.6387,
                "total_shots": 1.7386,
                "expected_assists": 0.0533,
                "key_pass": 0.7693,
                "rating": 6.7092,
                "minutes": 73.77,
                "total_pass": 12.9251,
                "accurate_pass": 11.3899,
                "duels_won": 2.3802,
                "total_long_balls": 0.859,
                "accurate_long_balls": 0.5895,
                "total_opp_half_passes": 7.6559,
                "accurate_opp_half_passes": 7.1205,
                "crosses_total": 1.1399,
                "crosses_accurate": 0.0,
                "touches": 26.8762,
                "possession_lost": 8.0426,
                "dispossessed": 1.5818,
                "duels_lost": 5.1071,
                "aerial_lost": 0.8342,
                "total_contest": 1.8837,
                "won_contest": 0.8186,
                "ball_recovery": 2.3966,
                "challenges_lost": 1.1542,
                "fouls": 0.4718,
                "fouls_drawn": 1.0313,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3062,
                "tackles_won": 0.3355,
                "tackles": 0.5303,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1948,
                "xgot": 0.1786,
                "offsides": 0.0,
                "ball_carries": 10.1371,
                "total_progression": 12.3248,
                "progressive_carries": 1.0869,
                "shots_off_target": 1.0999
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 0.9998,
                "reference_quality": 0.505,
                "history_matches": 21,
                "history_shrink": 0.1923,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0050)",
              "stats": {
                "expected_goals": 0.1701,
                "goals": 0.2565,
                "goal_rate": 0.2565,
                "shots_on_target": 0.6424,
                "total_shots": 1.7504,
                "expected_assists": 0.0533,
                "key_pass": 0.7693,
                "rating": 6.7092,
                "minutes": 73.77,
                "total_pass": 12.9251,
                "accurate_pass": 11.3899,
                "duels_won": 2.3802,
                "total_long_balls": 0.859,
                "accurate_long_balls": 0.5895,
                "total_opp_half_passes": 7.6559,
                "accurate_opp_half_passes": 7.1205,
                "crosses_total": 1.1342,
                "crosses_accurate": 0.0,
                "touches": 26.8762,
                "possession_lost": 8.0426,
                "dispossessed": 1.5818,
                "duels_lost": 5.1071,
                "aerial_lost": 0.8342,
                "total_contest": 1.8837,
                "won_contest": 0.8186,
                "ball_recovery": 2.3966,
                "challenges_lost": 1.1542,
                "fouls": 0.4899,
                "fouls_drawn": 1.0535,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3047,
                "tackles_won": 0.3338,
                "tackles": 0.5303,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1948,
                "xgot": 0.1786,
                "offsides": 0.0,
                "ball_carries": 10.1371,
                "total_progression": 12.3248,
                "progressive_carries": 1.0869,
                "shots_off_target": 1.0999
              },
              "params": {
                "blend_weight": 0.005,
                "history_matches": 21,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8197,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.0313,
                  "after": 1.0535
                },
                {
                  "stat": "fouls",
                  "before": 0.4718,
                  "after": 0.4899
                },
                {
                  "stat": "totalShots",
                  "before": 1.7386,
                  "after": 1.7504
                },
                {
                  "stat": "totalCross",
                  "before": 1.1399,
                  "after": 1.1342
                },
                {
                  "stat": "goals",
                  "before": 0.2509,
                  "after": 0.2565
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1701,
                "goals": 0.2565,
                "goal_rate": 0.2565,
                "shots_on_target": 0.6424,
                "total_shots": 1.7504,
                "expected_assists": 0.0533,
                "key_pass": 0.7693,
                "rating": 6.7092,
                "minutes": 73.77,
                "total_pass": 12.9251,
                "accurate_pass": 11.3899,
                "duels_won": 2.3802,
                "total_long_balls": 0.859,
                "accurate_long_balls": 0.5895,
                "total_opp_half_passes": 7.6559,
                "accurate_opp_half_passes": 7.1205,
                "crosses_total": 1.1342,
                "crosses_accurate": 0.0,
                "touches": 26.8762,
                "possession_lost": 8.0426,
                "dispossessed": 1.5818,
                "duels_lost": 5.1071,
                "aerial_lost": 0.8342,
                "total_contest": 1.8837,
                "won_contest": 0.8186,
                "ball_recovery": 2.3966,
                "challenges_lost": 1.1542,
                "fouls": 0.4899,
                "fouls_drawn": 1.0535,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3047,
                "tackles_won": 0.3338,
                "tackles": 0.5303,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1948,
                "xgot": 0.1786,
                "offsides": 0.0,
                "ball_carries": 10.1371,
                "total_progression": 12.3248,
                "progressive_carries": 1.0869,
                "shots_off_target": 1.0999
              },
              "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.1573,
                "goals": 0.2372,
                "goal_rate": 0.2372,
                "shots_on_target": 0.5941,
                "total_shots": 1.6188,
                "expected_assists": 0.0533,
                "key_pass": 0.7693,
                "rating": 6.7092,
                "minutes": 73.77,
                "total_pass": 12.9251,
                "accurate_pass": 11.3899,
                "duels_won": 2.3802,
                "total_long_balls": 0.859,
                "accurate_long_balls": 0.5895,
                "total_opp_half_passes": 7.6559,
                "accurate_opp_half_passes": 7.1205,
                "crosses_total": 1.1342,
                "crosses_accurate": 0.0,
                "touches": 26.8762,
                "possession_lost": 8.0426,
                "dispossessed": 1.5818,
                "duels_lost": 5.1071,
                "aerial_lost": 0.8342,
                "total_contest": 1.8837,
                "won_contest": 0.8186,
                "ball_recovery": 2.3966,
                "challenges_lost": 1.1542,
                "fouls": 0.4899,
                "fouls_drawn": 1.0535,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3047,
                "tackles_won": 0.3338,
                "tackles": 0.5303,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1802,
                "xgot": 0.1652,
                "offsides": 0.0,
                "ball_carries": 10.1371,
                "total_progression": 12.3248,
                "progressive_carries": 1.0869,
                "shots_off_target": 1.0172,
                "duel_xg_multiplier": 0.9248,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                  "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.9248,
                  "skill_edge": 0.0088,
                  "height_edge": -0.06,
                  "attacker_skill": 0.5011,
                  "defender_skill": 0.4815,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Mouctar Diakhaby",
                      "market_value": 1500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Justin De Haas",
                      "market_value": 7700000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5256
                    }
                  ],
                  "xg_override": 0.1573
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.7504,
                  "after": 1.6188
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0999,
                  "after": 1.0172
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6424,
                  "after": 0.5941
                },
                {
                  "stat": "goals",
                  "before": 0.2565,
                  "after": 0.2372
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1948,
                  "after": 0.1802
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1786,
                  "after": 0.1652
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1701,
                  "after": 0.1573
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.204,
                "goal_rate": 0.2372,
                "goals": 0,
                "shots_on_target": 0.5941,
                "total_shots": 1.6188,
                "expected_assists": 0.0691,
                "key_pass": 0.7693,
                "rating": 6.7092,
                "minutes": 73.77,
                "total_pass": 12.9251,
                "accurate_pass": 11.3899,
                "duels_won": 2.3802,
                "total_long_balls": 0.859,
                "accurate_long_balls": 0.5895,
                "total_opp_half_passes": 7.6559,
                "accurate_opp_half_passes": 7.1205,
                "crosses_total": 1.1342,
                "crosses_accurate": 0.0,
                "touches": 26.8762,
                "possession_lost": 8.0426,
                "dispossessed": 1.5818,
                "duels_lost": 5.1071,
                "aerial_lost": 0.8342,
                "total_contest": 1.8837,
                "won_contest": 0.8186,
                "ball_recovery": 2.3966,
                "challenges_lost": 1.1542,
                "fouls": 0.4899,
                "fouls_drawn": 1.0535,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3047,
                "tackles_won": 0.3338,
                "tackles": 0.5303,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1802,
                "xgot": 0.2143,
                "offsides": 0.0,
                "ball_carries": 10.1371,
                "total_progression": 12.3248,
                "progressive_carries": 1.0869,
                "shots_off_target": 1.0172,
                "duel_xg_multiplier": 0.9248,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "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.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1573,
                  "after": 0.204
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0533,
                  "after": 0.0691
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 70.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.204,
                "goal_rate": 0.2372,
                "goals": 0,
                "shots_on_target": 0.5941,
                "total_shots": 1.6188,
                "expected_assists": 0.0691,
                "key_pass": 0.7693,
                "rating": 6.7092,
                "minutes": 73.77,
                "total_pass": 12.9251,
                "accurate_pass": 11.3899,
                "duels_won": 2.3802,
                "total_long_balls": 0.859,
                "accurate_long_balls": 0.5895,
                "total_opp_half_passes": 7.6559,
                "accurate_opp_half_passes": 7.1205,
                "crosses_total": 1.1342,
                "crosses_accurate": 0.0,
                "touches": 26.8762,
                "possession_lost": 8.0426,
                "dispossessed": 1.5818,
                "duels_lost": 5.1071,
                "aerial_lost": 0.8342,
                "total_contest": 1.8837,
                "won_contest": 0.8186,
                "ball_recovery": 2.3966,
                "challenges_lost": 1.1542,
                "fouls": 0.4899,
                "fouls_drawn": 1.0535,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3047,
                "tackles_won": 0.3338,
                "tackles": 0.5303,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1802,
                "xgot": 0.2143,
                "offsides": 0.0,
                "ball_carries": 10.1371,
                "total_progression": 12.3248,
                "progressive_carries": 1.0869,
                "shots_off_target": 1.0172,
                "duel_xg_multiplier": 0.9248,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "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": 70.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5059,
                "fifa_rank": 5917.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.204,
                "goal_rate": 0.2372,
                "goals": 0,
                "shots_on_target": 0.5941,
                "total_shots": 1.6188,
                "expected_assists": 0.0691,
                "key_pass": 0.7693,
                "rating": 6.7092,
                "minutes": 73.77,
                "total_pass": 12.9251,
                "accurate_pass": 11.3899,
                "duels_won": 2.3802,
                "total_long_balls": 0.859,
                "accurate_long_balls": 0.5895,
                "total_opp_half_passes": 7.6559,
                "accurate_opp_half_passes": 7.1205,
                "crosses_total": 1.1342,
                "crosses_accurate": 0.0,
                "touches": 26.8762,
                "possession_lost": 8.0426,
                "dispossessed": 1.5818,
                "duels_lost": 5.1071,
                "aerial_lost": 0.8342,
                "total_contest": 1.8837,
                "won_contest": 0.8186,
                "ball_recovery": 2.3966,
                "challenges_lost": 1.1542,
                "fouls": 0.4899,
                "fouls_drawn": 1.0535,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3047,
                "tackles_won": 0.3338,
                "tackles": 0.5303,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1802,
                "xgot": 0.2143,
                "offsides": 0.0,
                "ball_carries": 10.1371,
                "total_progression": 12.3248,
                "progressive_carries": 1.0869,
                "shots_off_target": 1.0172,
                "duel_xg_multiplier": 0.9248,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1845,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1845,
                "scorer_weight": 0.255,
                "squad_weight_total": 1.5453,
                "weight_share": 0.165,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.204,
                "goal_rate": 0.2372,
                "goals": 0,
                "shots_on_target": 0.5941,
                "total_shots": 1.6188,
                "expected_assists": 0.0691,
                "key_pass": 0.7693,
                "rating": 6.7092,
                "minutes": 73.77,
                "total_pass": 12.9251,
                "accurate_pass": 11.3899,
                "duels_won": 2.3802,
                "total_long_balls": 0.859,
                "accurate_long_balls": 0.5895,
                "total_opp_half_passes": 7.6559,
                "accurate_opp_half_passes": 7.1205,
                "crosses_total": 1.1342,
                "crosses_accurate": 0.0,
                "touches": 26.8762,
                "possession_lost": 8.0426,
                "dispossessed": 1.5818,
                "duels_lost": 5.1071,
                "aerial_lost": 0.8342,
                "total_contest": 1.8837,
                "won_contest": 0.8186,
                "ball_recovery": 2.3966,
                "challenges_lost": 1.1542,
                "fouls": 0.4899,
                "fouls_drawn": 1.0535,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3047,
                "tackles_won": 0.3338,
                "tackles": 0.5303,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1802,
                "xgot": 0.2143,
                "offsides": 0.0,
                "ball_carries": 10.1371,
                "total_progression": 12.3248,
                "progressive_carries": 1.0869,
                "shots_off_target": 1.0172,
                "duel_xg_multiplier": 0.9248,
                "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": "Mouctar Diakhaby, Justin De Haas",
                "opponent_faced": "Mouctar Diakhaby, Justin De Haas",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1845,
                "projected_assists": 0,
                "assist_probability": 0.0668,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0668,
                "provider_weight": 0.0553,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0533,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Sergio Canales": {
          "player_id": 41560,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 20,
          "height": 176,
          "market_value": 3200000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1306,
            "assist_rate": 0.0976,
            "assists": 0,
            "expected_goals": 0.1406,
            "goal_rate": 0.1105,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8495,
            "minutes": 82,
            "total_pass": 38,
            "accurate_pass": 32,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 16,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 52,
            "possession_lost": 10.7788,
            "dispossessed": 1.0295,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2542,
            "ball_carries": 14,
            "total_progression": 52,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0099,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.487,
            "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.1312,
            "projected_assists": 0,
            "assist_probability": 0.1224,
            "finishing_factor": 1.0133,
            "creation_factor": 0.9794,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 27,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0054,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 20
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 42,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 74,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0238,
                "expected_assists": 0.1594,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 30,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "duels_won": 7,
                "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": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1629,
                "expected_assists": 0.0592,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 42,
                "accurate_pass": 38,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 85,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4989,
                "expected_assists": 0.046,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 43,
                "accurate_pass": 34,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 64,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0286,
                "expected_assists": 0.0113,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 77,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1406,
                "expected_assists": 0.059,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 40,
                "accurate_pass": 35,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2846,
            "combined_rank_score": 963.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1229.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8495,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergio Canales",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Paulinho",
                  "ranking": 2841
                },
                {
                  "player_name": "Marc Casadó",
                  "ranking": 2842
                },
                {
                  "player_name": "Maximilian Göppel",
                  "ranking": 2843
                },
                {
                  "player_name": "Yevgeniy Malashevich",
                  "ranking": 2844
                },
                {
                  "player_name": "Barrenetxea",
                  "ranking": 2845
                }
              ],
              "lower": [
                {
                  "player_name": "Josip Šutalo",
                  "ranking": 2847
                },
                {
                  "player_name": "Orlando Mosquera",
                  "ranking": 2848
                },
                {
                  "player_name": "Kristian Dimitrov",
                  "ranking": 2849
                },
                {
                  "player_name": "Manor Solomon",
                  "ranking": 2850
                },
                {
                  "player_name": "Jørgen Strand Larsen",
                  "ranking": 2851
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.713,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.713,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9919,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 223.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.63,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.17, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.9839,
                "expected_assists": 0.1016,
                "assists": 0.103,
                "assist_rate": 0.103,
                "expected_goals": 0.1082,
                "goals": 0.1155,
                "goal_rate": 0.1155,
                "shots_on_target": 0.4578,
                "total_shots": 1.3598,
                "rating": 6.8495,
                "minutes": 82.5,
                "total_pass": 37.9162,
                "accurate_pass": 32.4196,
                "duels_won": 4.0209,
                "total_long_balls": 1.9047,
                "accurate_long_balls": 0.8296,
                "total_own_half_passes": 18.0188,
                "accurate_own_half_passes": 16.7676,
                "total_opp_half_passes": 19.8974,
                "accurate_opp_half_passes": 15.652,
                "crosses_total": 2.1744,
                "crosses_accurate": 0.3787,
                "touches": 52.7157,
                "possession_lost": 10.8668,
                "dispossessed": 1.0379,
                "duels_lost": 3.9424,
                "aerial_won": 0.2548,
                "aerial_lost": 0.5366,
                "interceptions": 0.3787,
                "tackles_won": 1.0289,
                "tackles": 1.3098,
                "clearances": 0.2736,
                "total_contest": 1.644,
                "won_contest": 0.8368,
                "challenges_lost": 0.8036,
                "fouls": 0.7571,
                "fouls_drawn": 1.6195,
                "blocks": 0.2408,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1957,
                "ball_carries": 14.3663,
                "total_progression": 52.7537,
                "progressive_carries": 1.7109,
                "shots_off_target": 0.902
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.4902,
                  "creative_index": 0.1459,
                  "expectedGoals": 0.0979,
                  "expectedAssists": 0.0464,
                  "onTargetScoringAttempt": 0.5676
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9838612079620361,
                    "model_output": 0.9839,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1144
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0932
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0595
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.038
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.036
                        }
                      ],
                      "others": 0.0915,
                      "total": 0.9839,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121524
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.097812
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.063587
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.040083
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.039513
                        }
                      ],
                      "others_margin": 0.097458
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10155587643384933,
                    "model_output": 0.1016,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0138
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.013
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0067
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0053
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0046,
                      "total": 0.1016,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.149274
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122982
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.061914
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.048882
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.043744
                        }
                      ],
                      "others_margin": -0.043698
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10302849858999252,
                    "model_output": 0.103,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0118
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0097
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.009
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0082
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0076
                        }
                      ],
                      "others": 0.0025,
                      "total": 0.103,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.128631
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.094919
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.080991
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.072965
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.072893
                        }
                      ],
                      "others_margin": 0.024886
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1082121953368187,
                    "model_output": 0.1082,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0121
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0097
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0088
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0055
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0042
                        }
                      ],
                      "others": -0.0015,
                      "total": 0.1082,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.138661
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112923
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.091923
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.053549
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.038688
                        }
                      ],
                      "others_margin": -0.013643
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11550017446279526,
                    "model_output": 0.1155,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0187
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0143
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0077
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0068
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0068
                        }
                      ],
                      "others": 0.0068,
                      "total": 0.1155,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.17704
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.132543
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.073808
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.064686
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.064452
                        }
                      ],
                      "others_margin": 0.060551
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4578133225440979,
                    "model_output": 0.4578,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0815
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0542
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0391
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0255
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0223
                        }
                      ],
                      "others": 0.034,
                      "total": 0.4578,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.224238
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.125397
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.088953
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.058801
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.051366
                        }
                      ],
                      "others_margin": 0.077462
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.359838604927063,
                    "model_output": 1.3598,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3317
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1743
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.1063
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0875
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0569
                        }
                      ],
                      "others": -0.1743,
                      "total": 1.3598,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.331715
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.174305
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.106315
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.08748
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.05687
                        }
                      ],
                      "others_margin": -0.174199
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8494791984558105,
                    "model_output": 6.8495,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0422
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0419
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0335
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0254
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0169
                        }
                      ],
                      "others": -0.0432,
                      "total": 6.8495,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.042204
                        },
                        {
                          "name": "rating",
                          "margin": -0.041862
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.03348
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.025371
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.016923
                        }
                      ],
                      "others_margin": -0.043146
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9919, quality 0.440)",
              "stats": {
                "key_pass": 0.9759,
                "expected_assists": 0.1007,
                "assists": 0.1022,
                "assist_rate": 0.1022,
                "expected_goals": 0.1073,
                "goals": 0.1146,
                "goal_rate": 0.1146,
                "shots_on_target": 0.4541,
                "total_shots": 1.3488,
                "rating": 6.8495,
                "minutes": 82.5,
                "total_pass": 37.6091,
                "accurate_pass": 32.157,
                "duels_won": 3.9883,
                "total_long_balls": 1.8893,
                "accurate_long_balls": 0.8229,
                "total_own_half_passes": 17.8728,
                "accurate_own_half_passes": 16.6318,
                "total_opp_half_passes": 19.7362,
                "accurate_opp_half_passes": 15.5252,
                "crosses_total": 2.1568,
                "crosses_accurate": 0.3756,
                "touches": 52.2887,
                "possession_lost": 10.7788,
                "dispossessed": 1.0295,
                "duels_lost": 3.9105,
                "aerial_won": 0.2527,
                "aerial_lost": 0.5323,
                "interceptions": 0.3756,
                "tackles_won": 1.0206,
                "tackles": 1.2992,
                "clearances": 0.2714,
                "total_contest": 1.6307,
                "won_contest": 0.83,
                "challenges_lost": 0.7971,
                "fouls": 0.751,
                "fouls_drawn": 1.6064,
                "blocks": 0.2388,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1941,
                "ball_carries": 14.2499,
                "total_progression": 52.3264,
                "progressive_carries": 1.697,
                "shots_off_target": 0.8947
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.9919,
                "reference_quality": 0.505,
                "history_matches": 7,
                "history_shrink": 0.4167,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0451)",
              "stats": {
                "key_pass": 0.9759,
                "expected_assists": 0.1007,
                "assists": 0.0976,
                "assist_rate": 0.0976,
                "expected_goals": 0.1073,
                "goals": 0.1094,
                "goal_rate": 0.1094,
                "shots_on_target": 0.4837,
                "total_shots": 1.4381,
                "rating": 6.8495,
                "minutes": 82.5,
                "total_pass": 37.6091,
                "accurate_pass": 32.157,
                "duels_won": 3.9883,
                "total_long_balls": 1.8893,
                "accurate_long_balls": 0.8229,
                "total_own_half_passes": 17.8728,
                "accurate_own_half_passes": 16.6318,
                "total_opp_half_passes": 19.7362,
                "accurate_opp_half_passes": 15.5252,
                "crosses_total": 2.076,
                "crosses_accurate": 0.3756,
                "touches": 52.2887,
                "possession_lost": 10.7788,
                "dispossessed": 1.0295,
                "duels_lost": 3.9105,
                "aerial_won": 0.2527,
                "aerial_lost": 0.5323,
                "interceptions": 0.3586,
                "tackles_won": 0.9745,
                "tackles": 1.2992,
                "clearances": 0.2714,
                "total_contest": 1.6307,
                "won_contest": 0.83,
                "challenges_lost": 0.7971,
                "fouls": 0.7336,
                "fouls_drawn": 1.5835,
                "blocks": 0.2388,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1941,
                "ball_carries": 14.2499,
                "total_progression": 52.3264,
                "progressive_carries": 1.697,
                "shots_off_target": 0.8947
              },
              "params": {
                "blend_weight": 0.0451,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9167,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.3488,
                  "after": 1.4381
                },
                {
                  "stat": "totalCross",
                  "before": 2.1568,
                  "after": 2.076
                },
                {
                  "stat": "wonTackle",
                  "before": 1.0206,
                  "after": 0.9745
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4541,
                  "after": 0.4837
                },
                {
                  "stat": "wasFouled",
                  "before": 1.6064,
                  "after": 1.5835
                },
                {
                  "stat": "fouls",
                  "before": 0.751,
                  "after": 0.7336
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.3756,
                  "after": 0.3586
                },
                {
                  "stat": "goals",
                  "before": 0.1146,
                  "after": 0.1094
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.9759,
                "expected_assists": 0.1007,
                "assists": 0.0976,
                "assist_rate": 0.0976,
                "expected_goals": 0.1073,
                "goals": 0.1094,
                "goal_rate": 0.1094,
                "shots_on_target": 0.4837,
                "total_shots": 1.4381,
                "rating": 6.8495,
                "minutes": 82.5,
                "total_pass": 37.6091,
                "accurate_pass": 32.157,
                "duels_won": 3.9883,
                "total_long_balls": 1.8893,
                "accurate_long_balls": 0.8229,
                "total_own_half_passes": 17.8728,
                "accurate_own_half_passes": 16.6318,
                "total_opp_half_passes": 19.7362,
                "accurate_opp_half_passes": 15.5252,
                "crosses_total": 2.076,
                "crosses_accurate": 0.3756,
                "touches": 52.2887,
                "possession_lost": 10.7788,
                "dispossessed": 1.0295,
                "duels_lost": 3.9105,
                "aerial_won": 0.2527,
                "aerial_lost": 0.5323,
                "interceptions": 0.3586,
                "tackles_won": 0.9745,
                "tackles": 1.2992,
                "clearances": 0.2714,
                "total_contest": 1.6307,
                "won_contest": 0.83,
                "challenges_lost": 0.7971,
                "fouls": 0.7336,
                "fouls_drawn": 1.5835,
                "blocks": 0.2388,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1941,
                "ball_carries": 14.2499,
                "total_progression": 52.3264,
                "progressive_carries": 1.697,
                "shots_off_target": 0.8947
              },
              "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.9759,
                "expected_assists": 0.1007,
                "assists": 0.0976,
                "assist_rate": 0.0976,
                "expected_goals": 0.1084,
                "goals": 0.1105,
                "goal_rate": 0.1105,
                "shots_on_target": 0.4885,
                "total_shots": 1.4523,
                "rating": 6.8495,
                "minutes": 82.5,
                "total_pass": 37.6091,
                "accurate_pass": 32.157,
                "duels_won": 3.9883,
                "total_long_balls": 1.8893,
                "accurate_long_balls": 0.8229,
                "total_own_half_passes": 17.8728,
                "accurate_own_half_passes": 16.6318,
                "total_opp_half_passes": 19.7362,
                "accurate_opp_half_passes": 15.5252,
                "crosses_total": 2.076,
                "crosses_accurate": 0.3756,
                "touches": 52.2887,
                "possession_lost": 10.7788,
                "dispossessed": 1.0295,
                "duels_lost": 3.9105,
                "aerial_won": 0.9,
                "aerial_lost": 0.5323,
                "interceptions": 0.3586,
                "tackles_won": 0.9745,
                "tackles": 1.2992,
                "clearances": 0.2714,
                "total_contest": 1.6307,
                "won_contest": 0.83,
                "challenges_lost": 0.7971,
                "fouls": 0.7336,
                "fouls_drawn": 1.5835,
                "blocks": 0.2388,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.196,
                "ball_carries": 14.2499,
                "total_progression": 52.3264,
                "progressive_carries": 1.697,
                "shots_off_target": 0.9036,
                "duel_xg_multiplier": 1.0099,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.487,
                "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.487,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0099,
                  "skill_edge": -0.0053,
                  "height_edge": 0.012,
                  "attacker_skill": 0.4399,
                  "defender_skill": 0.4516,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pablo Maffeo",
                      "market_value": 2900000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4516
                    }
                  ],
                  "xg_override": 0.1084
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.2527,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.4381,
                  "after": 1.4523
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8947,
                  "after": 0.9036
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "key_pass": 0.9759,
                "expected_assists": 0.1306,
                "assist_rate": 0.0976,
                "assists": 0,
                "expected_goals": 0.1406,
                "goal_rate": 0.1105,
                "goals": 0,
                "shots_on_target": 0.4885,
                "total_shots": 1.4523,
                "rating": 6.8495,
                "minutes": 82.5,
                "total_pass": 37.6091,
                "accurate_pass": 32.157,
                "duels_won": 3.9883,
                "total_long_balls": 1.8893,
                "accurate_long_balls": 0.8229,
                "total_own_half_passes": 17.8728,
                "accurate_own_half_passes": 16.6318,
                "total_opp_half_passes": 19.7362,
                "accurate_opp_half_passes": 15.5252,
                "crosses_total": 2.076,
                "crosses_accurate": 0.3756,
                "touches": 52.2887,
                "possession_lost": 10.7788,
                "dispossessed": 1.0295,
                "duels_lost": 3.9105,
                "aerial_won": 0.9,
                "aerial_lost": 0.5323,
                "interceptions": 0.3586,
                "tackles_won": 0.9745,
                "tackles": 1.2992,
                "clearances": 0.2714,
                "total_contest": 1.6307,
                "won_contest": 0.83,
                "challenges_lost": 0.7971,
                "fouls": 0.7336,
                "fouls_drawn": 1.5835,
                "blocks": 0.2388,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.2542,
                "ball_carries": 14.2499,
                "total_progression": 52.3264,
                "progressive_carries": 1.697,
                "shots_off_target": 0.9036,
                "duel_xg_multiplier": 1.0099,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.487,
                "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.0133,
                "creation_factor": 0.9794
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1084,
                  "after": 0.1406
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1007,
                  "after": 0.1306
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 0.9759,
                "expected_assists": 0.1306,
                "assist_rate": 0.0976,
                "assists": 0,
                "expected_goals": 0.1406,
                "goal_rate": 0.1105,
                "goals": 0,
                "shots_on_target": 0.4885,
                "total_shots": 1.4523,
                "rating": 6.8495,
                "minutes": 82.5,
                "total_pass": 37.6091,
                "accurate_pass": 32.157,
                "duels_won": 3.9883,
                "total_long_balls": 1.8893,
                "accurate_long_balls": 0.8229,
                "total_own_half_passes": 17.8728,
                "accurate_own_half_passes": 16.6318,
                "total_opp_half_passes": 19.7362,
                "accurate_opp_half_passes": 15.5252,
                "crosses_total": 2.076,
                "crosses_accurate": 0.3756,
                "touches": 52.2887,
                "possession_lost": 10.7788,
                "dispossessed": 1.0295,
                "duels_lost": 3.9105,
                "aerial_won": 0.9,
                "aerial_lost": 0.5323,
                "interceptions": 0.3586,
                "tackles_won": 0.9745,
                "tackles": 1.2992,
                "clearances": 0.2714,
                "total_contest": 1.6307,
                "won_contest": 0.83,
                "challenges_lost": 0.7971,
                "fouls": 0.7336,
                "fouls_drawn": 1.5835,
                "blocks": 0.2388,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.2542,
                "ball_carries": 14.2499,
                "total_progression": 52.3264,
                "progressive_carries": 1.697,
                "shots_off_target": 0.9036,
                "duel_xg_multiplier": 1.0099,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.487,
                "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.0133,
                "creation_factor": 0.9794,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2846,
                "fifa_rank": 1229.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.9759,
                "expected_assists": 0.1306,
                "assist_rate": 0.0976,
                "assists": 0,
                "expected_goals": 0.1406,
                "goal_rate": 0.1105,
                "goals": 0,
                "shots_on_target": 0.4885,
                "total_shots": 1.4523,
                "rating": 6.8495,
                "minutes": 82.5,
                "total_pass": 37.6091,
                "accurate_pass": 32.157,
                "duels_won": 3.9883,
                "total_long_balls": 1.8893,
                "accurate_long_balls": 0.8229,
                "total_own_half_passes": 17.8728,
                "accurate_own_half_passes": 16.6318,
                "total_opp_half_passes": 19.7362,
                "accurate_opp_half_passes": 15.5252,
                "crosses_total": 2.076,
                "crosses_accurate": 0.3756,
                "touches": 52.2887,
                "possession_lost": 10.7788,
                "dispossessed": 1.0295,
                "duels_lost": 3.9105,
                "aerial_won": 0.9,
                "aerial_lost": 0.5323,
                "interceptions": 0.3586,
                "tackles_won": 0.9745,
                "tackles": 1.2992,
                "clearances": 0.2714,
                "total_contest": 1.6307,
                "won_contest": 0.83,
                "challenges_lost": 0.7971,
                "fouls": 0.7336,
                "fouls_drawn": 1.5835,
                "blocks": 0.2388,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.2542,
                "ball_carries": 14.2499,
                "total_progression": 52.3264,
                "progressive_carries": 1.697,
                "shots_off_target": 0.9036,
                "duel_xg_multiplier": 1.0099,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.487,
                "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.1312,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0133,
                "creation_factor": 0.9794,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1312,
                "scorer_weight": 0.1425,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0922,
                "finishing_factor": 1.0133,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0.9759,
                "expected_assists": 0.1306,
                "assist_rate": 0.0976,
                "assists": 0,
                "expected_goals": 0.1406,
                "goal_rate": 0.1105,
                "goals": 0,
                "shots_on_target": 0.4885,
                "total_shots": 1.4523,
                "rating": 6.8495,
                "minutes": 82.5,
                "total_pass": 37.6091,
                "accurate_pass": 32.157,
                "duels_won": 3.9883,
                "total_long_balls": 1.8893,
                "accurate_long_balls": 0.8229,
                "total_own_half_passes": 17.8728,
                "accurate_own_half_passes": 16.6318,
                "total_opp_half_passes": 19.7362,
                "accurate_opp_half_passes": 15.5252,
                "crosses_total": 2.076,
                "crosses_accurate": 0.3756,
                "touches": 52.2887,
                "possession_lost": 10.7788,
                "dispossessed": 1.0295,
                "duels_lost": 3.9105,
                "aerial_won": 0.9,
                "aerial_lost": 0.5323,
                "interceptions": 0.3586,
                "tackles_won": 0.9745,
                "tackles": 1.2992,
                "clearances": 0.2714,
                "total_contest": 1.6307,
                "won_contest": 0.83,
                "challenges_lost": 0.7971,
                "fouls": 0.7336,
                "fouls_drawn": 1.5835,
                "blocks": 0.2388,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.2542,
                "ball_carries": 14.2499,
                "total_progression": 52.3264,
                "progressive_carries": 1.697,
                "shots_off_target": 0.9036,
                "duel_xg_multiplier": 1.0099,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.487,
                "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.1312,
                "projected_assists": 0,
                "assist_probability": 0.1224,
                "finishing_factor": 1.0133,
                "creation_factor": 0.9794,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1224,
                "provider_weight": 0.1279,
                "squad_weight_total": 1.0367,
                "weight_share": 0.1234,
                "creation_factor": 0.9794,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Iván Martín": {
          "player_id": 973699,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 23,
          "height": 178,
          "market_value": 4600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0926,
            "assist_rate": 0.0699,
            "assists": 0,
            "expected_goals": 0.0494,
            "goal_rate": 0.0507,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9635,
            "minutes": 85,
            "total_pass": 52,
            "accurate_pass": 46,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 30,
            "accurate_opp_half_passes": 26,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 65,
            "possession_lost": 9.7143,
            "dispossessed": 0.8746,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0091,
            "ball_carries": 23,
            "total_progression": 77,
            "progressive_carries": 2,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.9372,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.357,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pepelu",
            "opponent_faced": "Pepelu",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0482,
            "projected_assists": 0,
            "assist_probability": 0.0884,
            "finishing_factor": 1.143,
            "creation_factor": 0.9876,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 84,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0661,
                "total_shots": 0,
                "total_pass": 65,
                "accurate_pass": 57,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0148,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 2,
                "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": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0301,
                "total_shots": 0,
                "total_pass": 61,
                "accurate_pass": 52,
                "tackles": 6,
                "tackles_won": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0539,
                "expected_assists": 0.0168,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 43,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.008,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 19,
                "tackles": 5,
                "tackles_won": 3,
                "duels_won": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0603,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 45,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 6,
                "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": 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": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0261,
                "expected_assists": 0.0449,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 57,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.5242,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 57,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 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": "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": 0,
              "team": "Girona FC",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 30,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0085,
                "expected_assists": 0.0053,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083255,
              "match_date": "2026-04-25",
              "home_team": "Valencia",
              "away_team": "Girona FC",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0365,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 44,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2964,
            "combined_rank_score": 988.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1585.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9635,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iván Martín",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Aschraf El Mahdioui",
                  "ranking": 2959
                },
                {
                  "player_name": "Ethan Jolley",
                  "ranking": 2960
                },
                {
                  "player_name": "Malang Sarr",
                  "ranking": 2961
                },
                {
                  "player_name": "Giacomo Benvenuti",
                  "ranking": 2962
                },
                {
                  "player_name": "Aron Sele",
                  "ranking": 2963
                }
              ],
              "lower": [
                {
                  "player_name": "Marcello Mularoni",
                  "ranking": 2965
                },
                {
                  "player_name": "Rafael Arace",
                  "ranking": 2966
                },
                {
                  "player_name": "Rodrigo Holgado",
                  "ranking": 2967
                },
                {
                  "player_name": "Gabriel Mentz",
                  "ranking": 2968
                },
                {
                  "player_name": "Maksudkhodzha  Alokhodzhaev",
                  "ranking": 2969
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.765,
          "history_matches": 40,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.765,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9984,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 135.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1
            },
            "rationale": "XGBoost regressor (M_service) evaluated 40 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.10, 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.8054,
                "expected_assists": 0.0716,
                "assists": 0.0705,
                "assist_rate": 0.0705,
                "expected_goals": 0.0408,
                "goals": 0.0546,
                "goal_rate": 0.0546,
                "shots_on_target": 0.2175,
                "total_shots": 0.6112,
                "rating": 6.9635,
                "minutes": 84.78,
                "total_pass": 52.2964,
                "accurate_pass": 46.4807,
                "duels_won": 4.9011,
                "total_long_balls": 2.0148,
                "accurate_long_balls": 1.4886,
                "total_own_half_passes": 22.3913,
                "accurate_own_half_passes": 20.9159,
                "total_opp_half_passes": 29.905,
                "accurate_opp_half_passes": 25.5647,
                "crosses_total": 0.4625,
                "crosses_accurate": 0.1487,
                "touches": 65.4297,
                "possession_lost": 9.7299,
                "dispossessed": 0.876,
                "duels_lost": 4.0191,
                "aerial_won": 0.7356,
                "aerial_lost": 1.1084,
                "interceptions": 0.2858,
                "tackles_won": 1.1376,
                "tackles": 2.3556,
                "clearances": 1.2994,
                "total_contest": 1.8117,
                "won_contest": 1.0048,
                "challenges_lost": 0.4418,
                "fouls": 0.8765,
                "fouls_drawn": 0.8052,
                "blocks": 0.1807,
                "big_chances_created": 0.0977,
                "big_chances_missed": 0.0172,
                "xgot": 0.0075,
                "ball_carries": 22.7109,
                "total_progression": 77.3825,
                "progressive_carries": 1.8697,
                "shots_off_target": 0.3937
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Sociedad",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Rayo Vallecano",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.2731,
                  "creative_index": 0.3766,
                  "expectedGoals": 0.0124,
                  "expectedAssists": 0.0636,
                  "onTargetScoringAttempt": 0.0594
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8054183721542358,
                    "model_output": 0.8054,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1186
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0772
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0506
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0475
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0465
                        }
                      ],
                      "others": -0.0721,
                      "total": 0.8054,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12567
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.080014
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.056184
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.052791
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.051609
                        }
                      ],
                      "others_margin": -0.085615
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07155017554759979,
                    "model_output": 0.0716,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0113
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.01
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0046
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0045
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0112,
                      "total": 0.0716,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123719
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.108962
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.053932
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.053528
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.046447
                        }
                      ],
                      "others_margin": -0.146334
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07053294032812119,
                    "model_output": 0.0705,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0114
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0075
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0066
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0065
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.0705,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.142953
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.096654
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.083672
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.082647
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.050574
                        }
                      ],
                      "others_margin": -0.097461
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.040790241211652756,
                    "model_output": 0.0408,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0371
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0125
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0063
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0021
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.002
                        }
                      ],
                      "others": -0.0094,
                      "total": 0.0408,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.505006
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.251105
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.133443
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.041821
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.04137
                        }
                      ],
                      "others_margin": -0.207753
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05457599461078644,
                    "model_output": 0.0546,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0256
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0136
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0063
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0057
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0053
                        }
                      ],
                      "others": -0.0087,
                      "total": 0.0546,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.307914
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.212218
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.103655
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.093022
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.087325
                        }
                      ],
                      "others_margin": -0.148882
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2175041139125824,
                    "model_output": 0.2175,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0843
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0484
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0294
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0166
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0161
                        }
                      ],
                      "others": -0.0037,
                      "total": 0.2175,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.301411
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.22538
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.143008
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.072702
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.070084
                        }
                      ],
                      "others_margin": -0.0175
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6112412214279175,
                    "model_output": 0.6112,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2683
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1174
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0566
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.052
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0435
                        }
                      ],
                      "others": -0.0758,
                      "total": 0.6112,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.268252
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117422
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.056634
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.051996
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.043454
                        }
                      ],
                      "others_margin": -0.075825
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.963516712188721,
                    "model_output": 6.9635,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1087
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0317
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0309
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0277
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.019
                        }
                      ],
                      "others": -0.0115,
                      "total": 6.9635,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.10871
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.031691
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.030944
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.027749
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.018968
                        }
                      ],
                      "others_margin": -0.011467
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 40,
                  "role_matches": 33,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9984, quality 0.457)",
              "stats": {
                "key_pass": 0.8041,
                "expected_assists": 0.0714,
                "assists": 0.0704,
                "assist_rate": 0.0704,
                "expected_goals": 0.0407,
                "goals": 0.0545,
                "goal_rate": 0.0545,
                "shots_on_target": 0.2172,
                "total_shots": 0.6103,
                "rating": 6.9635,
                "minutes": 84.78,
                "total_pass": 52.2127,
                "accurate_pass": 46.4063,
                "duels_won": 4.8933,
                "total_long_balls": 2.0116,
                "accurate_long_balls": 1.4862,
                "total_own_half_passes": 22.3555,
                "accurate_own_half_passes": 20.8824,
                "total_opp_half_passes": 29.8572,
                "accurate_opp_half_passes": 25.5238,
                "crosses_total": 0.4618,
                "crosses_accurate": 0.1485,
                "touches": 65.325,
                "possession_lost": 9.7143,
                "dispossessed": 0.8746,
                "duels_lost": 4.0127,
                "aerial_won": 0.7344,
                "aerial_lost": 1.1066,
                "interceptions": 0.2853,
                "tackles_won": 1.1358,
                "tackles": 2.3518,
                "clearances": 1.2973,
                "total_contest": 1.8088,
                "won_contest": 1.0032,
                "challenges_lost": 0.4411,
                "fouls": 0.8751,
                "fouls_drawn": 0.8039,
                "blocks": 0.1804,
                "big_chances_created": 0.0975,
                "big_chances_missed": 0.0172,
                "xgot": 0.0075,
                "ball_carries": 22.6746,
                "total_progression": 77.2587,
                "progressive_carries": 1.8667,
                "shots_off_target": 0.3931
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.9984,
                "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.0072)",
              "stats": {
                "key_pass": 0.8041,
                "expected_assists": 0.0714,
                "assists": 0.0699,
                "assist_rate": 0.0699,
                "expected_goals": 0.0407,
                "goals": 0.0541,
                "goal_rate": 0.0541,
                "shots_on_target": 0.2156,
                "total_shots": 0.6105,
                "rating": 6.9635,
                "minutes": 84.78,
                "total_pass": 52.2127,
                "accurate_pass": 46.4063,
                "duels_won": 4.8933,
                "total_long_balls": 2.0116,
                "accurate_long_balls": 1.4862,
                "total_own_half_passes": 22.3555,
                "accurate_own_half_passes": 20.8824,
                "total_opp_half_passes": 29.8572,
                "accurate_opp_half_passes": 25.5238,
                "crosses_total": 0.4675,
                "crosses_accurate": 0.1485,
                "touches": 65.325,
                "possession_lost": 9.7143,
                "dispossessed": 0.8746,
                "duels_lost": 4.0127,
                "aerial_won": 0.7344,
                "aerial_lost": 1.1066,
                "interceptions": 0.2832,
                "tackles_won": 1.1457,
                "tackles": 2.3518,
                "clearances": 1.2973,
                "total_contest": 1.8088,
                "won_contest": 1.0032,
                "challenges_lost": 0.4411,
                "fouls": 0.8779,
                "fouls_drawn": 0.8072,
                "blocks": 0.1804,
                "big_chances_created": 0.0975,
                "big_chances_missed": 0.0172,
                "xgot": 0.0075,
                "ball_carries": 22.6746,
                "total_progression": 77.2587,
                "progressive_carries": 1.8667,
                "shots_off_target": 0.3931
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.942,
                "prior_reliability": 0.1,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.1358,
                  "after": 1.1457
                },
                {
                  "stat": "totalCross",
                  "before": 0.4618,
                  "after": 0.4675
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8041,
                "expected_assists": 0.0714,
                "assists": 0.0699,
                "assist_rate": 0.0699,
                "expected_goals": 0.0407,
                "goals": 0.0541,
                "goal_rate": 0.0541,
                "shots_on_target": 0.2156,
                "total_shots": 0.6105,
                "rating": 6.9635,
                "minutes": 84.78,
                "total_pass": 52.2127,
                "accurate_pass": 46.4063,
                "duels_won": 4.8933,
                "total_long_balls": 2.0116,
                "accurate_long_balls": 1.4862,
                "total_own_half_passes": 22.3555,
                "accurate_own_half_passes": 20.8824,
                "total_opp_half_passes": 29.8572,
                "accurate_opp_half_passes": 25.5238,
                "crosses_total": 0.4675,
                "crosses_accurate": 0.1485,
                "touches": 65.325,
                "possession_lost": 9.7143,
                "dispossessed": 0.8746,
                "duels_lost": 4.0127,
                "aerial_won": 0.7344,
                "aerial_lost": 1.1066,
                "interceptions": 0.2832,
                "tackles_won": 1.1457,
                "tackles": 2.3518,
                "clearances": 1.2973,
                "total_contest": 1.8088,
                "won_contest": 1.0032,
                "challenges_lost": 0.4411,
                "fouls": 0.8779,
                "fouls_drawn": 0.8072,
                "blocks": 0.1804,
                "big_chances_created": 0.0975,
                "big_chances_missed": 0.0172,
                "xgot": 0.0075,
                "ball_carries": 22.6746,
                "total_progression": 77.2587,
                "progressive_carries": 1.8667,
                "shots_off_target": 0.3931
              },
              "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.8041,
                "expected_assists": 0.0714,
                "assists": 0.0699,
                "assist_rate": 0.0699,
                "expected_goals": 0.0381,
                "goals": 0.0507,
                "goal_rate": 0.0507,
                "shots_on_target": 0.2021,
                "total_shots": 0.5722,
                "rating": 6.9635,
                "minutes": 84.78,
                "total_pass": 52.2127,
                "accurate_pass": 46.4063,
                "duels_won": 4.8933,
                "total_long_balls": 2.0116,
                "accurate_long_balls": 1.4862,
                "total_own_half_passes": 22.3555,
                "accurate_own_half_passes": 20.8824,
                "total_opp_half_passes": 29.8572,
                "accurate_opp_half_passes": 25.5238,
                "crosses_total": 0.4675,
                "crosses_accurate": 0.1485,
                "touches": 65.325,
                "possession_lost": 9.7143,
                "dispossessed": 0.8746,
                "duels_lost": 4.0127,
                "aerial_won": 1.0,
                "aerial_lost": 1.1066,
                "interceptions": 0.2832,
                "tackles_won": 1.1457,
                "tackles": 2.3518,
                "clearances": 1.2973,
                "total_contest": 1.8088,
                "won_contest": 1.0032,
                "challenges_lost": 0.4411,
                "fouls": 0.8779,
                "fouls_drawn": 0.8072,
                "blocks": 0.1804,
                "big_chances_created": 0.0975,
                "big_chances_missed": 0.0161,
                "xgot": 0.007,
                "ball_carries": 22.6746,
                "total_progression": 77.2587,
                "progressive_carries": 1.8667,
                "shots_off_target": 0.3684,
                "duel_xg_multiplier": 0.9372,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.357,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pepelu",
                "opponent_faced": "Pepelu",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pepelu",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.357,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9372,
                  "skill_edge": -0.0148,
                  "height_edge": -0.028,
                  "attacker_skill": 0.4672,
                  "defender_skill": 0.5,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pepelu",
                      "market_value": 7300000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.5
                    }
                  ],
                  "xg_override": 0.0381
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.7344,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 0.6105,
                  "after": 0.5722
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.3931,
                  "after": 0.3684
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2156,
                  "after": 0.2021
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "key_pass": 0.8041,
                "expected_assists": 0.0926,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0494,
                "goal_rate": 0.0507,
                "goals": 0,
                "shots_on_target": 0.2021,
                "total_shots": 0.5722,
                "rating": 6.9635,
                "minutes": 84.78,
                "total_pass": 52.2127,
                "accurate_pass": 46.4063,
                "duels_won": 4.8933,
                "total_long_balls": 2.0116,
                "accurate_long_balls": 1.4862,
                "total_own_half_passes": 22.3555,
                "accurate_own_half_passes": 20.8824,
                "total_opp_half_passes": 29.8572,
                "accurate_opp_half_passes": 25.5238,
                "crosses_total": 0.4675,
                "crosses_accurate": 0.1485,
                "touches": 65.325,
                "possession_lost": 9.7143,
                "dispossessed": 0.8746,
                "duels_lost": 4.0127,
                "aerial_won": 1.0,
                "aerial_lost": 1.1066,
                "interceptions": 0.2832,
                "tackles_won": 1.1457,
                "tackles": 2.3518,
                "clearances": 1.2973,
                "total_contest": 1.8088,
                "won_contest": 1.0032,
                "challenges_lost": 0.4411,
                "fouls": 0.8779,
                "fouls_drawn": 0.8072,
                "blocks": 0.1804,
                "big_chances_created": 0.0975,
                "big_chances_missed": 0.0161,
                "xgot": 0.0091,
                "ball_carries": 22.6746,
                "total_progression": 77.2587,
                "progressive_carries": 1.8667,
                "shots_off_target": 0.3684,
                "duel_xg_multiplier": 0.9372,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.357,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pepelu",
                "opponent_faced": "Pepelu",
                "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.143,
                "creation_factor": 0.9876
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0381,
                  "after": 0.0494
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0714,
                  "after": 0.0926
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "key_pass": 0.8041,
                "expected_assists": 0.0926,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0494,
                "goal_rate": 0.0507,
                "goals": 0,
                "shots_on_target": 0.2021,
                "total_shots": 0.5722,
                "rating": 6.9635,
                "minutes": 84.78,
                "total_pass": 52.2127,
                "accurate_pass": 46.4063,
                "duels_won": 4.8933,
                "total_long_balls": 2.0116,
                "accurate_long_balls": 1.4862,
                "total_own_half_passes": 22.3555,
                "accurate_own_half_passes": 20.8824,
                "total_opp_half_passes": 29.8572,
                "accurate_opp_half_passes": 25.5238,
                "crosses_total": 0.4675,
                "crosses_accurate": 0.1485,
                "touches": 65.325,
                "possession_lost": 9.7143,
                "dispossessed": 0.8746,
                "duels_lost": 4.0127,
                "aerial_won": 1.0,
                "aerial_lost": 1.1066,
                "interceptions": 0.2832,
                "tackles_won": 1.1457,
                "tackles": 2.3518,
                "clearances": 1.2973,
                "total_contest": 1.8088,
                "won_contest": 1.0032,
                "challenges_lost": 0.4411,
                "fouls": 0.8779,
                "fouls_drawn": 0.8072,
                "blocks": 0.1804,
                "big_chances_created": 0.0975,
                "big_chances_missed": 0.0161,
                "xgot": 0.0091,
                "ball_carries": 22.6746,
                "total_progression": 77.2587,
                "progressive_carries": 1.8667,
                "shots_off_target": 0.3684,
                "duel_xg_multiplier": 0.9372,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.357,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pepelu",
                "opponent_faced": "Pepelu",
                "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.143,
                "creation_factor": 0.9876,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2964,
                "fifa_rank": 1585.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.8041,
                "expected_assists": 0.0926,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0494,
                "goal_rate": 0.0507,
                "goals": 0,
                "shots_on_target": 0.2021,
                "total_shots": 0.5722,
                "rating": 6.9635,
                "minutes": 84.78,
                "total_pass": 52.2127,
                "accurate_pass": 46.4063,
                "duels_won": 4.8933,
                "total_long_balls": 2.0116,
                "accurate_long_balls": 1.4862,
                "total_own_half_passes": 22.3555,
                "accurate_own_half_passes": 20.8824,
                "total_opp_half_passes": 29.8572,
                "accurate_opp_half_passes": 25.5238,
                "crosses_total": 0.4675,
                "crosses_accurate": 0.1485,
                "touches": 65.325,
                "possession_lost": 9.7143,
                "dispossessed": 0.8746,
                "duels_lost": 4.0127,
                "aerial_won": 1.0,
                "aerial_lost": 1.1066,
                "interceptions": 0.2832,
                "tackles_won": 1.1457,
                "tackles": 2.3518,
                "clearances": 1.2973,
                "total_contest": 1.8088,
                "won_contest": 1.0032,
                "challenges_lost": 0.4411,
                "fouls": 0.8779,
                "fouls_drawn": 0.8072,
                "blocks": 0.1804,
                "big_chances_created": 0.0975,
                "big_chances_missed": 0.0161,
                "xgot": 0.0091,
                "ball_carries": 22.6746,
                "total_progression": 77.2587,
                "progressive_carries": 1.8667,
                "shots_off_target": 0.3684,
                "duel_xg_multiplier": 0.9372,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.357,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pepelu",
                "opponent_faced": "Pepelu",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0482,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.143,
                "creation_factor": 0.9876,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0482,
                "scorer_weight": 0.0565,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0365,
                "finishing_factor": 1.143,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0.8041,
                "expected_assists": 0.0926,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0494,
                "goal_rate": 0.0507,
                "goals": 0,
                "shots_on_target": 0.2021,
                "total_shots": 0.5722,
                "rating": 6.9635,
                "minutes": 84.78,
                "total_pass": 52.2127,
                "accurate_pass": 46.4063,
                "duels_won": 4.8933,
                "total_long_balls": 2.0116,
                "accurate_long_balls": 1.4862,
                "total_own_half_passes": 22.3555,
                "accurate_own_half_passes": 20.8824,
                "total_opp_half_passes": 29.8572,
                "accurate_opp_half_passes": 25.5238,
                "crosses_total": 0.4675,
                "crosses_accurate": 0.1485,
                "touches": 65.325,
                "possession_lost": 9.7143,
                "dispossessed": 0.8746,
                "duels_lost": 4.0127,
                "aerial_won": 1.0,
                "aerial_lost": 1.1066,
                "interceptions": 0.2832,
                "tackles_won": 1.1457,
                "tackles": 2.3518,
                "clearances": 1.2973,
                "total_contest": 1.8088,
                "won_contest": 1.0032,
                "challenges_lost": 0.4411,
                "fouls": 0.8779,
                "fouls_drawn": 0.8072,
                "blocks": 0.1804,
                "big_chances_created": 0.0975,
                "big_chances_missed": 0.0161,
                "xgot": 0.0091,
                "ball_carries": 22.6746,
                "total_progression": 77.2587,
                "progressive_carries": 1.8667,
                "shots_off_target": 0.3684,
                "duel_xg_multiplier": 0.9372,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.357,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pepelu",
                "opponent_faced": "Pepelu",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0482,
                "projected_assists": 0,
                "assist_probability": 0.0884,
                "finishing_factor": 1.143,
                "creation_factor": 0.9876,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0884,
                "provider_weight": 0.0915,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0882,
                "creation_factor": 0.9876,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Matteo Prati": {
          "player_id": 1111640,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 182,
          "market_value": 5000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0463,
            "assist_rate": 0.0569,
            "assists": 0,
            "expected_goals": 0.0374,
            "goal_rate": 0.0536,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7699,
            "minutes": 81,
            "total_pass": 35,
            "accurate_pass": 28,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 47,
            "possession_lost": 8.7064,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 4,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 9,
            "total_progression": 20,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.9645,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.376,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pepelu",
            "opponent_faced": "Pepelu",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0367,
            "projected_assists": 0,
            "assist_probability": 0.0452,
            "finishing_factor": 1.25,
            "creation_factor": 1.2474,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 27,
                "interceptions": 1,
                "clearances": 8,
                "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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 84,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 26,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 2,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 55,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0717,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 31,
                "key_pass": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 31,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0141,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 10,
                "interceptions": 1,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4525,
            "combined_rank_score": 2558.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4158.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7699,
            "source_file": "data/player_rankings.csv",
            "player_name": "Matteo Prati",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "César Huerta",
                  "ranking": 4520
                },
                {
                  "player_name": "Daniel Torres",
                  "ranking": 4521
                },
                {
                  "player_name": "Toni Lato",
                  "ranking": 4522
                },
                {
                  "player_name": "Ben Gannon-Doak",
                  "ranking": 4523
                },
                {
                  "player_name": "Álex Sola",
                  "ranking": 4524
                }
              ],
              "lower": [
                {
                  "player_name": "Kevin Rodriguez",
                  "ranking": 4526
                },
                {
                  "player_name": "Alan Franco",
                  "ranking": 4527
                },
                {
                  "player_name": "Deniz Gül",
                  "ranking": 4528
                },
                {
                  "player_name": "Alejo Véliz",
                  "ranking": 4529
                },
                {
                  "player_name": "Eric Meza",
                  "ranking": 4530
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.504,
          "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.504,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9929,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 32.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.03, 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.549,
                "expected_assists": 0.036,
                "assists": 0.0579,
                "assist_rate": 0.0579,
                "expected_goals": 0.0301,
                "goals": 0.0565,
                "goal_rate": 0.0565,
                "shots_on_target": 0.1452,
                "total_shots": 0.5078,
                "rating": 6.7699,
                "minutes": 81.31,
                "total_pass": 34.8426,
                "accurate_pass": 27.793,
                "duels_won": 2.9329,
                "total_long_balls": 2.1574,
                "accurate_long_balls": 0.3887,
                "total_own_half_passes": 22.2332,
                "accurate_own_half_passes": 20.1749,
                "total_opp_half_passes": 12.6093,
                "accurate_opp_half_passes": 7.6181,
                "crosses_total": 0.3304,
                "crosses_accurate": 0.0,
                "touches": 47.4315,
                "possession_lost": 8.7687,
                "dispossessed": 0.0,
                "duels_lost": 2.3217,
                "aerial_won": 0.0,
                "aerial_lost": 0.3304,
                "interceptions": 0.3887,
                "tackles_won": 0.9913,
                "tackles": 1.3217,
                "clearances": 4.0515,
                "total_contest": 1.3887,
                "won_contest": 0.6696,
                "challenges_lost": 0.9417,
                "fouls": 0.3304,
                "fouls_drawn": 0.9417,
                "blocks": 1.3304,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.1642,
                "total_progression": 20.082,
                "progressive_carries": 0.2809,
                "shots_off_target": 0.3626
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.0,
                  "creative_index": 0.1942,
                  "expectedGoals": 0.0,
                  "expectedAssists": 0.0213,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5489580035209656,
                    "model_output": 0.549,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1135
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1111
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.089
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0732
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0387
                        }
                      ],
                      "others": -0.1382,
                      "total": 0.549,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120582
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.117894
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.105602
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.096094
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.054865
                        }
                      ],
                      "others_margin": -0.224429
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.035956647247076035,
                    "model_output": 0.036,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0179
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0112
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.009
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0066
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0144,
                      "total": 0.036,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.234407
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.180191
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.173047
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.130183
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.068582
                        }
                      ],
                      "others_margin": -0.340467
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05786193907260895,
                    "model_output": 0.0579,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0133
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0074
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0068
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0056
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0054
                        }
                      ],
                      "others": -0.015,
                      "total": 0.0579,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.168161
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.097496
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.088726
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.079127
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.077012
                        }
                      ],
                      "others_margin": -0.231872
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.030131636187434196,
                    "model_output": 0.0301,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.037
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0155
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0055
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0047
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0083,
                      "total": 0.0301,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.503304
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.319058
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.143092
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122726
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.048478
                        }
                      ],
                      "others_margin": -0.242534
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.056504108011722565,
                    "model_output": 0.0565,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0241
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0109
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.008
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0072
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0025,
                      "total": 0.0565,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.287519
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.162367
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121873
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.108908
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.056416
                        }
                      ],
                      "others_margin": -0.043
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.14523325860500336,
                    "model_output": 0.1452,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0929
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0475
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0346
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0193
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0074
                        }
                      ],
                      "others": -0.0157,
                      "total": 0.1452,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.337834
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.230013
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.20867
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121787
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.045034
                        }
                      ],
                      "others_margin": -0.102778
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5078282952308655,
                    "model_output": 0.5078,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3412
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1156
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0622
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0511
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0426
                        }
                      ],
                      "others": -0.1007,
                      "total": 0.5078,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.34116
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115577
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062185
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.051109
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.042565
                        }
                      ],
                      "others_margin": -0.100711
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.769927501678467,
                    "model_output": 6.7699,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0403
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0356
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0274
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0078
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0056
                        }
                      ],
                      "others": -0.0186,
                      "total": 6.7699,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.040285
                        },
                        {
                          "name": "rating",
                          "margin": -0.035627
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.02745
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.007845
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.005579
                        }
                      ],
                      "others_margin": -0.018541
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 4,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9929, quality 0.462)",
              "stats": {
                "key_pass": 0.5451,
                "expected_assists": 0.0357,
                "assists": 0.0575,
                "assist_rate": 0.0575,
                "expected_goals": 0.0299,
                "goals": 0.0561,
                "goal_rate": 0.0561,
                "shots_on_target": 0.1442,
                "total_shots": 0.5042,
                "rating": 6.7699,
                "minutes": 81.31,
                "total_pass": 34.5952,
                "accurate_pass": 27.5957,
                "duels_won": 2.9121,
                "total_long_balls": 2.1421,
                "accurate_long_balls": 0.3859,
                "total_own_half_passes": 22.0753,
                "accurate_own_half_passes": 20.0317,
                "total_opp_half_passes": 12.5198,
                "accurate_opp_half_passes": 7.564,
                "crosses_total": 0.3281,
                "crosses_accurate": 0.0,
                "touches": 47.0947,
                "possession_lost": 8.7064,
                "dispossessed": 0.0,
                "duels_lost": 2.3052,
                "aerial_won": 0.0,
                "aerial_lost": 0.3281,
                "interceptions": 0.3859,
                "tackles_won": 0.9843,
                "tackles": 1.3123,
                "clearances": 4.0227,
                "total_contest": 1.3788,
                "won_contest": 0.6648,
                "challenges_lost": 0.935,
                "fouls": 0.3281,
                "fouls_drawn": 0.935,
                "blocks": 1.321,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.0991,
                "total_progression": 19.9394,
                "progressive_carries": 0.2789,
                "shots_off_target": 0.36
              },
              "params": {
                "market_value_eur": 5000000,
                "quality_factor": 0.4622,
                "boost_factor": 0.9929,
                "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.0096)",
              "stats": {
                "key_pass": 0.5451,
                "expected_assists": 0.0357,
                "assists": 0.0569,
                "assist_rate": 0.0569,
                "expected_goals": 0.0299,
                "goals": 0.0556,
                "goal_rate": 0.0556,
                "shots_on_target": 0.1428,
                "total_shots": 0.4993,
                "rating": 6.7699,
                "minutes": 81.31,
                "total_pass": 34.5952,
                "accurate_pass": 27.5957,
                "duels_won": 2.9121,
                "total_long_balls": 2.1421,
                "accurate_long_balls": 0.3859,
                "total_own_half_passes": 22.0753,
                "accurate_own_half_passes": 20.0317,
                "total_opp_half_passes": 12.5198,
                "accurate_opp_half_passes": 7.564,
                "crosses_total": 0.3249,
                "crosses_accurate": 0.0,
                "touches": 47.0947,
                "possession_lost": 8.7064,
                "dispossessed": 0.0,
                "duels_lost": 2.3052,
                "aerial_won": 0.0,
                "aerial_lost": 0.3281,
                "interceptions": 0.404,
                "tackles_won": 0.9748,
                "tackles": 1.3123,
                "clearances": 4.0227,
                "total_contest": 1.3788,
                "won_contest": 0.6648,
                "challenges_lost": 0.935,
                "fouls": 0.3467,
                "fouls_drawn": 0.926,
                "blocks": 1.321,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.0991,
                "total_progression": 19.9394,
                "progressive_carries": 0.2789,
                "shots_off_target": 0.36
              },
              "params": {
                "blend_weight": 0.0096,
                "history_matches": 4,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9034,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.3281,
                  "after": 0.3467
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.3859,
                  "after": 0.404
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9843,
                  "after": 0.9748
                },
                {
                  "stat": "wasFouled",
                  "before": 0.935,
                  "after": 0.926
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5451,
                "expected_assists": 0.0357,
                "assists": 0.0569,
                "assist_rate": 0.0569,
                "expected_goals": 0.0299,
                "goals": 0.0556,
                "goal_rate": 0.0556,
                "shots_on_target": 0.1428,
                "total_shots": 0.5028,
                "rating": 6.7699,
                "minutes": 81.31,
                "total_pass": 34.5952,
                "accurate_pass": 27.5957,
                "duels_won": 2.9121,
                "total_long_balls": 2.1421,
                "accurate_long_balls": 0.3859,
                "total_own_half_passes": 22.0753,
                "accurate_own_half_passes": 20.0317,
                "total_opp_half_passes": 12.5198,
                "accurate_opp_half_passes": 7.564,
                "crosses_total": 0.3249,
                "crosses_accurate": 0.0,
                "touches": 47.0947,
                "possession_lost": 8.7064,
                "dispossessed": 0.0,
                "duels_lost": 2.3052,
                "aerial_won": 0.0,
                "aerial_lost": 0.3281,
                "interceptions": 0.404,
                "tackles_won": 0.9748,
                "tackles": 1.3123,
                "clearances": 4.0227,
                "total_contest": 1.3788,
                "won_contest": 0.6648,
                "challenges_lost": 0.935,
                "fouls": 0.3467,
                "fouls_drawn": 0.926,
                "blocks": 1.321,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.0991,
                "total_progression": 19.9394,
                "progressive_carries": 0.2789,
                "shots_off_target": 0.36
              },
              "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.5451,
                "expected_assists": 0.0357,
                "assists": 0.0569,
                "assist_rate": 0.0569,
                "expected_goals": 0.0288,
                "goals": 0.0536,
                "goal_rate": 0.0536,
                "shots_on_target": 0.1377,
                "total_shots": 0.485,
                "rating": 6.7699,
                "minutes": 81.31,
                "total_pass": 34.5952,
                "accurate_pass": 27.5957,
                "duels_won": 2.9121,
                "total_long_balls": 2.1421,
                "accurate_long_balls": 0.3859,
                "total_own_half_passes": 22.0753,
                "accurate_own_half_passes": 20.0317,
                "total_opp_half_passes": 12.5198,
                "accurate_opp_half_passes": 7.564,
                "crosses_total": 0.3249,
                "crosses_accurate": 0.0,
                "touches": 47.0947,
                "possession_lost": 8.7064,
                "dispossessed": 0.0,
                "duels_lost": 2.3052,
                "aerial_won": 1.1,
                "aerial_lost": 0.3281,
                "interceptions": 0.404,
                "tackles_won": 0.9748,
                "tackles": 1.3123,
                "clearances": 4.0227,
                "total_contest": 1.3788,
                "won_contest": 0.6648,
                "challenges_lost": 0.935,
                "fouls": 0.3467,
                "fouls_drawn": 0.926,
                "blocks": 1.321,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.0991,
                "total_progression": 19.9394,
                "progressive_carries": 0.2789,
                "shots_off_target": 0.3472,
                "duel_xg_multiplier": 0.9645,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.376,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pepelu",
                "opponent_faced": "Pepelu",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pepelu",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.376,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9645,
                  "skill_edge": -0.0122,
                  "height_edge": -0.012,
                  "attacker_skill": 0.473,
                  "defender_skill": 0.5,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pepelu",
                      "market_value": 7300000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.5
                    }
                  ],
                  "xg_override": 0.0288
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.5028,
                  "after": 0.485
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.36,
                  "after": 0.3472
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1428,
                  "after": 0.1377
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "key_pass": 0.5451,
                "expected_assists": 0.0463,
                "assist_rate": 0.0569,
                "assists": 0,
                "expected_goals": 0.0374,
                "goal_rate": 0.0536,
                "goals": 0,
                "shots_on_target": 0.1377,
                "total_shots": 0.485,
                "rating": 6.7699,
                "minutes": 81.31,
                "total_pass": 34.5952,
                "accurate_pass": 27.5957,
                "duels_won": 2.9121,
                "total_long_balls": 2.1421,
                "accurate_long_balls": 0.3859,
                "total_own_half_passes": 22.0753,
                "accurate_own_half_passes": 20.0317,
                "total_opp_half_passes": 12.5198,
                "accurate_opp_half_passes": 7.564,
                "crosses_total": 0.3249,
                "crosses_accurate": 0.0,
                "touches": 47.0947,
                "possession_lost": 8.7064,
                "dispossessed": 0.0,
                "duels_lost": 2.3052,
                "aerial_won": 1.1,
                "aerial_lost": 0.3281,
                "interceptions": 0.404,
                "tackles_won": 0.9748,
                "tackles": 1.3123,
                "clearances": 4.0227,
                "total_contest": 1.3788,
                "won_contest": 0.6648,
                "challenges_lost": 0.935,
                "fouls": 0.3467,
                "fouls_drawn": 0.926,
                "blocks": 1.321,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.0991,
                "total_progression": 19.9394,
                "progressive_carries": 0.2789,
                "shots_off_target": 0.3472,
                "duel_xg_multiplier": 0.9645,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.376,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pepelu",
                "opponent_faced": "Pepelu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.2474
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0288,
                  "after": 0.0374
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0357,
                  "after": 0.0463
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "key_pass": 0.5451,
                "expected_assists": 0.0463,
                "assist_rate": 0.0569,
                "assists": 0,
                "expected_goals": 0.0374,
                "goal_rate": 0.0536,
                "goals": 0,
                "shots_on_target": 0.1377,
                "total_shots": 0.485,
                "rating": 6.7699,
                "minutes": 81.31,
                "total_pass": 34.5952,
                "accurate_pass": 27.5957,
                "duels_won": 2.9121,
                "total_long_balls": 2.1421,
                "accurate_long_balls": 0.3859,
                "total_own_half_passes": 22.0753,
                "accurate_own_half_passes": 20.0317,
                "total_opp_half_passes": 12.5198,
                "accurate_opp_half_passes": 7.564,
                "crosses_total": 0.3249,
                "crosses_accurate": 0.0,
                "touches": 47.0947,
                "possession_lost": 8.7064,
                "dispossessed": 0.0,
                "duels_lost": 2.3052,
                "aerial_won": 1.1,
                "aerial_lost": 0.3281,
                "interceptions": 0.404,
                "tackles_won": 0.9748,
                "tackles": 1.3123,
                "clearances": 4.0227,
                "total_contest": 1.3788,
                "won_contest": 0.6648,
                "challenges_lost": 0.935,
                "fouls": 0.3467,
                "fouls_drawn": 0.926,
                "blocks": 1.321,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.0991,
                "total_progression": 19.9394,
                "progressive_carries": 0.2789,
                "shots_off_target": 0.3472,
                "duel_xg_multiplier": 0.9645,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.376,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pepelu",
                "opponent_faced": "Pepelu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.2474,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4525,
                "fifa_rank": 4158.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.5451,
                "expected_assists": 0.0463,
                "assist_rate": 0.0569,
                "assists": 0,
                "expected_goals": 0.0374,
                "goal_rate": 0.0536,
                "goals": 0,
                "shots_on_target": 0.1377,
                "total_shots": 0.485,
                "rating": 6.7699,
                "minutes": 81.31,
                "total_pass": 34.5952,
                "accurate_pass": 27.5957,
                "duels_won": 2.9121,
                "total_long_balls": 2.1421,
                "accurate_long_balls": 0.3859,
                "total_own_half_passes": 22.0753,
                "accurate_own_half_passes": 20.0317,
                "total_opp_half_passes": 12.5198,
                "accurate_opp_half_passes": 7.564,
                "crosses_total": 0.3249,
                "crosses_accurate": 0.0,
                "touches": 47.0947,
                "possession_lost": 8.7064,
                "dispossessed": 0.0,
                "duels_lost": 2.3052,
                "aerial_won": 1.1,
                "aerial_lost": 0.3281,
                "interceptions": 0.404,
                "tackles_won": 0.9748,
                "tackles": 1.3123,
                "clearances": 4.0227,
                "total_contest": 1.3788,
                "won_contest": 0.6648,
                "challenges_lost": 0.935,
                "fouls": 0.3467,
                "fouls_drawn": 0.926,
                "blocks": 1.321,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.0991,
                "total_progression": 19.9394,
                "progressive_carries": 0.2789,
                "shots_off_target": 0.3472,
                "duel_xg_multiplier": 0.9645,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.376,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pepelu",
                "opponent_faced": "Pepelu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0367,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.2474,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0367,
                "scorer_weight": 0.0467,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0303,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0.5451,
                "expected_assists": 0.0463,
                "assist_rate": 0.0569,
                "assists": 0,
                "expected_goals": 0.0374,
                "goal_rate": 0.0536,
                "goals": 0,
                "shots_on_target": 0.1377,
                "total_shots": 0.485,
                "rating": 6.7699,
                "minutes": 81.31,
                "total_pass": 34.5952,
                "accurate_pass": 27.5957,
                "duels_won": 2.9121,
                "total_long_balls": 2.1421,
                "accurate_long_balls": 0.3859,
                "total_own_half_passes": 22.0753,
                "accurate_own_half_passes": 20.0317,
                "total_opp_half_passes": 12.5198,
                "accurate_opp_half_passes": 7.564,
                "crosses_total": 0.3249,
                "crosses_accurate": 0.0,
                "touches": 47.0947,
                "possession_lost": 8.7064,
                "dispossessed": 0.0,
                "duels_lost": 2.3052,
                "aerial_won": 1.1,
                "aerial_lost": 0.3281,
                "interceptions": 0.404,
                "tackles_won": 0.9748,
                "tackles": 1.3123,
                "clearances": 4.0227,
                "total_contest": 1.3788,
                "won_contest": 0.6648,
                "challenges_lost": 0.935,
                "fouls": 0.3467,
                "fouls_drawn": 0.926,
                "blocks": 1.321,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.0991,
                "total_progression": 19.9394,
                "progressive_carries": 0.2789,
                "shots_off_target": 0.3472,
                "duel_xg_multiplier": 0.9645,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.376,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pepelu",
                "opponent_faced": "Pepelu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0367,
                "projected_assists": 0,
                "assist_probability": 0.0452,
                "finishing_factor": 1.25,
                "creation_factor": 1.2474,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0452,
                "provider_weight": 0.0578,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0557,
                "creation_factor": 1.2474,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jorge Salinas": {
          "player_id": 1861680,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 181,
          "market_value": 8500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.7179,
            "minutes": 90,
            "total_pass": 40,
            "accurate_pass": 32,
            "duels_won": 8,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 23,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 15,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 67,
            "possession_lost": 12.8399,
            "dispossessed": 0.3477,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1936,
            "assists": 0,
            "expected_goals": 0.0573,
            "expected_assists": 0.2326,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0662,
            "ball_carries": 13,
            "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.7,
            "defensive_success_rate": 0.82,
            "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.0557,
            "projected_assists": 0,
            "assist_probability": 0.2075,
            "finishing_factor": 0.8,
            "creation_factor": 1.0624,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0518,
                "expected_assists": 0.0129,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 67,
                "accurate_pass": 58,
                "tackles": 3,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 8,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.6717,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 27,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 4,
                "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": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2144,
                "expected_assists": 0.0116,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 22,
                "accurate_pass": 16,
                "tackles": 5,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.173,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 25,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1301,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 9,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4331,
            "combined_rank_score": 2343.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4242.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7179,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jorge Salinas",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Roberto Piccoli",
                  "ranking": 4326
                },
                {
                  "player_name": "Thijs Dallinga",
                  "ranking": 4327
                },
                {
                  "player_name": "Abel Hernández",
                  "ranking": 4328
                },
                {
                  "player_name": "Enrico Delprato",
                  "ranking": 4329
                },
                {
                  "player_name": "Hans Nicolussi Caviglia",
                  "ranking": 4330
                }
              ],
              "lower": [
                {
                  "player_name": "Ivan Ilić",
                  "ranking": 4332
                },
                {
                  "player_name": "Emanuele Valeri",
                  "ranking": 4333
                },
                {
                  "player_name": "Devyne Rensch",
                  "ranking": 4334
                },
                {
                  "player_name": "Fabiano Parisi",
                  "ranking": 4335
                },
                {
                  "player_name": "Mandela Keita",
                  "ranking": 4336
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.718,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.718,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "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.33,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.2107,
                "tackles": 2.2279,
                "tackles_won": 1.1972,
                "clearances": 4.8089,
                "aerial_won": 1.7661,
                "total_shots": 0.4901,
                "rating": 6.7179,
                "minutes": 90.0,
                "total_pass": 40.2142,
                "accurate_pass": 31.7968,
                "duels_won": 7.5785,
                "total_long_balls": 2.7475,
                "accurate_long_balls": 0.7181,
                "total_own_half_passes": 22.7301,
                "accurate_own_half_passes": 17.1803,
                "total_opp_half_passes": 17.4841,
                "accurate_opp_half_passes": 14.6165,
                "crosses_total": 0.8588,
                "crosses_accurate": 0.1257,
                "touches": 67.4368,
                "possession_lost": 12.8399,
                "dispossessed": 0.3477,
                "duels_lost": 3.8543,
                "aerial_lost": 0.7507,
                "total_contest": 1.6203,
                "won_contest": 0.4373,
                "ball_recovery": 4.9731,
                "challenges_lost": 0.89,
                "fouls": 0.683,
                "fouls_drawn": 1.5527,
                "blocks": 0.4094,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.2047,
                "assist_rate": 0.2047,
                "expected_goals": 0.0442,
                "expected_assists": 0.1793,
                "shots_on_target": 0.3887,
                "big_chances_created": 0.2047,
                "xgot": 0.051,
                "ball_carries": 12.7928,
                "total_progression": 34.5448,
                "progressive_carries": 0.5405,
                "key_pass": 0.5163,
                "shots_off_target": 0.1014
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1877,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.9514,
                  "aerialWon": 1.7842,
                  "totalClearance_p90": 5.875,
                  "totalTackle": 3.0312,
                  "totalPass": 33.5547
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.2107013463974,
                    "model_output": 1.2107,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1089
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0956
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0359
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0317
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0153
                        }
                      ],
                      "others": 0.0643,
                      "total": 1.2107,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119323
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.094165
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.033176
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.028407
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.01343
                        }
                      ],
                      "others_margin": 0.05473
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.2279303073883057,
                    "model_output": 2.2279,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2076
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1668
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1062
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1089
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0602
                        }
                      ],
                      "others": 0.1825,
                      "total": 2.2279,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.138664
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.098988
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.058269
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.056422
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.029863
                        }
                      ],
                      "others_margin": 0.08545
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1971964836120605,
                    "model_output": 1.1972,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1223
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0892
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0613
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0352
                        }
                      ],
                      "others": 0.083,
                      "total": 1.1972,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133256
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.087115
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.064266
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.055251
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.032073
                        }
                      ],
                      "others_margin": 0.071946
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.808878421783447,
                    "model_output": 4.8089,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5089
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.368
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3703
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2605
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.2163
                        }
                      ],
                      "others": 0.0763,
                      "total": 4.8089,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.137913
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.089085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.082272
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.054077
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.044684
                        }
                      ],
                      "others_margin": 0.015992
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.7660703659057617,
                    "model_output": 1.7661,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.2025
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.185
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.107
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0911
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0955
                        }
                      ],
                      "others": -0.0794,
                      "total": 1.7661,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.137087
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110644
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.062486
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.053487
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.053148
                        }
                      ],
                      "others_margin": -0.044051
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.490097314119339,
                    "model_output": 0.4901,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0566
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0432
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0283
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.019
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0092
                        }
                      ],
                      "others": 0.0229,
                      "total": 0.4901,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.056571
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.043165
                        },
                        {
                          "name": "rating",
                          "margin": -0.028291
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.019023
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.009249
                        }
                      ],
                      "others_margin": 0.022889
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.717854022979736,
                    "model_output": 6.7179,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.014
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0132
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.011
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0101
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0086
                        }
                      ],
                      "others": -0.0284,
                      "total": 6.7179,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.013998
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.013182
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011024
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.010098
                        },
                        {
                          "name": "touches",
                          "margin": 0.008586
                        }
                      ],
                      "others_margin": -0.028401
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0000, quality 0.505)",
              "stats": {
                "interceptions": 1.2107,
                "tackles": 2.2279,
                "tackles_won": 1.1972,
                "clearances": 4.8089,
                "aerial_won": 1.7661,
                "total_shots": 0.4901,
                "rating": 6.7179,
                "minutes": 90.0,
                "total_pass": 40.2142,
                "accurate_pass": 31.7968,
                "duels_won": 7.5785,
                "total_long_balls": 2.7475,
                "accurate_long_balls": 0.7181,
                "total_own_half_passes": 22.7301,
                "accurate_own_half_passes": 17.1803,
                "total_opp_half_passes": 17.4841,
                "accurate_opp_half_passes": 14.6165,
                "crosses_total": 0.8588,
                "crosses_accurate": 0.1257,
                "touches": 67.4368,
                "possession_lost": 12.8399,
                "dispossessed": 0.3477,
                "duels_lost": 3.8543,
                "aerial_lost": 0.7507,
                "total_contest": 1.6203,
                "won_contest": 0.4373,
                "ball_recovery": 4.9731,
                "challenges_lost": 0.89,
                "fouls": 0.683,
                "fouls_drawn": 1.5527,
                "blocks": 0.4094,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.2047,
                "assist_rate": 0.2047,
                "expected_goals": 0.0442,
                "expected_assists": 0.1793,
                "shots_on_target": 0.3887,
                "big_chances_created": 0.2047,
                "xgot": 0.051,
                "ball_carries": 12.7928,
                "total_progression": 34.5448,
                "progressive_carries": 0.5405,
                "key_pass": 0.5163,
                "shots_off_target": 0.1014
              },
              "params": {
                "market_value_eur": 8500000,
                "quality_factor": 0.5047,
                "boost_factor": 1.0,
                "reference_quality": 0.505,
                "history_matches": 7,
                "history_shrink": 0.4167,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0542)",
              "stats": {
                "interceptions": 1.1993,
                "tackles": 2.2279,
                "tackles_won": 1.2046,
                "clearances": 4.8089,
                "aerial_won": 1.7661,
                "total_shots": 0.4814,
                "rating": 6.7179,
                "minutes": 90.0,
                "total_pass": 40.2142,
                "accurate_pass": 31.7968,
                "duels_won": 7.5785,
                "total_long_balls": 2.7475,
                "accurate_long_balls": 0.7181,
                "total_own_half_passes": 22.7301,
                "accurate_own_half_passes": 17.1803,
                "total_opp_half_passes": 17.4841,
                "accurate_opp_half_passes": 14.6165,
                "crosses_total": 0.9026,
                "crosses_accurate": 0.1257,
                "touches": 67.4368,
                "possession_lost": 12.8399,
                "dispossessed": 0.3477,
                "duels_lost": 3.8543,
                "aerial_lost": 0.7507,
                "total_contest": 1.6203,
                "won_contest": 0.4373,
                "ball_recovery": 4.9731,
                "challenges_lost": 0.89,
                "fouls": 0.6821,
                "fouls_drawn": 1.5228,
                "blocks": 0.4094,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1936,
                "assist_rate": 0.1936,
                "expected_goals": 0.0442,
                "expected_assists": 0.1793,
                "shots_on_target": 0.3855,
                "big_chances_created": 0.2047,
                "xgot": 0.051,
                "ball_carries": 12.7928,
                "total_progression": 34.5448,
                "progressive_carries": 0.5405,
                "key_pass": 0.5163,
                "shots_off_target": 0.1014
              },
              "params": {
                "blend_weight": 0.0542,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.8588,
                  "after": 0.9026
                },
                {
                  "stat": "wasFouled",
                  "before": 1.5527,
                  "after": 1.5228
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.2107,
                  "after": 1.1993
                },
                {
                  "stat": "goalAssist",
                  "before": 0.2047,
                  "after": 0.1936
                },
                {
                  "stat": "totalShots",
                  "before": 0.4901,
                  "after": 0.4814
                },
                {
                  "stat": "wonTackle",
                  "before": 1.1972,
                  "after": 1.2046
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1993,
                "tackles": 2.2279,
                "tackles_won": 1.2046,
                "clearances": 4.8089,
                "aerial_won": 1.7661,
                "total_shots": 0.4869,
                "rating": 6.7179,
                "minutes": 90.0,
                "total_pass": 40.2142,
                "accurate_pass": 31.7968,
                "duels_won": 7.5785,
                "total_long_balls": 2.7475,
                "accurate_long_balls": 0.7181,
                "total_own_half_passes": 22.7301,
                "accurate_own_half_passes": 17.1803,
                "total_opp_half_passes": 17.4841,
                "accurate_opp_half_passes": 14.6165,
                "crosses_total": 0.9026,
                "crosses_accurate": 0.1257,
                "touches": 67.4368,
                "possession_lost": 12.8399,
                "dispossessed": 0.3477,
                "duels_lost": 3.8543,
                "aerial_lost": 0.7507,
                "total_contest": 1.6203,
                "won_contest": 0.4373,
                "ball_recovery": 4.9731,
                "challenges_lost": 0.89,
                "fouls": 0.6821,
                "fouls_drawn": 1.5228,
                "blocks": 0.4094,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1936,
                "assist_rate": 0.1936,
                "expected_goals": 0.0442,
                "expected_assists": 0.1793,
                "shots_on_target": 0.3855,
                "big_chances_created": 0.2047,
                "xgot": 0.051,
                "ball_carries": 12.7928,
                "total_progression": 34.5448,
                "progressive_carries": 0.5405,
                "key_pass": 0.5163,
                "shots_off_target": 0.1014
              },
              "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.1993,
                "tackles": 2.2279,
                "tackles_won": 1.2046,
                "clearances": 4.8089,
                "aerial_won": 1.7661,
                "total_shots": 0.4869,
                "rating": 6.7179,
                "minutes": 90.0,
                "total_pass": 40.2142,
                "accurate_pass": 31.7968,
                "duels_won": 7.5785,
                "total_long_balls": 2.7475,
                "accurate_long_balls": 0.7181,
                "total_own_half_passes": 22.7301,
                "accurate_own_half_passes": 17.1803,
                "total_opp_half_passes": 17.4841,
                "accurate_opp_half_passes": 14.6165,
                "crosses_total": 0.9026,
                "crosses_accurate": 0.1257,
                "touches": 67.4368,
                "possession_lost": 12.8399,
                "dispossessed": 0.3477,
                "duels_lost": 3.8543,
                "aerial_lost": 0.7507,
                "total_contest": 1.6203,
                "won_contest": 0.4373,
                "ball_recovery": 4.9731,
                "challenges_lost": 0.89,
                "fouls": 0.6821,
                "fouls_drawn": 1.5228,
                "blocks": 0.4094,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1936,
                "assist_rate": 0.1936,
                "expected_goals": 0.0442,
                "expected_assists": 0.1793,
                "shots_on_target": 0.3855,
                "big_chances_created": 0.2047,
                "xgot": 0.051,
                "ball_carries": 12.7928,
                "total_progression": 34.5448,
                "progressive_carries": 0.5405,
                "key_pass": 0.5163,
                "shots_off_target": 0.1014,
                "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.82,
                "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": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "interceptions": 1.1993,
                "tackles": 2.2279,
                "tackles_won": 1.2046,
                "clearances": 4.8089,
                "aerial_won": 1.7661,
                "total_shots": 0.4869,
                "rating": 6.7179,
                "minutes": 90.0,
                "total_pass": 40.2142,
                "accurate_pass": 31.7968,
                "duels_won": 7.5785,
                "total_long_balls": 2.7475,
                "accurate_long_balls": 0.7181,
                "total_own_half_passes": 22.7301,
                "accurate_own_half_passes": 17.1803,
                "total_opp_half_passes": 17.4841,
                "accurate_opp_half_passes": 14.6165,
                "crosses_total": 0.9026,
                "crosses_accurate": 0.1257,
                "touches": 67.4368,
                "possession_lost": 12.8399,
                "dispossessed": 0.3477,
                "duels_lost": 3.8543,
                "aerial_lost": 0.7507,
                "total_contest": 1.6203,
                "won_contest": 0.4373,
                "ball_recovery": 4.9731,
                "challenges_lost": 0.89,
                "fouls": 0.6821,
                "fouls_drawn": 1.5228,
                "blocks": 0.4094,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1936,
                "assists": 0,
                "expected_goals": 0.0573,
                "expected_assists": 0.2326,
                "shots_on_target": 0.3855,
                "big_chances_created": 0.2047,
                "xgot": 0.0662,
                "ball_carries": 12.7928,
                "total_progression": 34.5448,
                "progressive_carries": 0.5405,
                "key_pass": 0.5163,
                "shots_off_target": 0.1014,
                "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.82,
                "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.0624
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0442,
                  "after": 0.0573
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1793,
                  "after": 0.2326
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "interceptions": 1.1993,
                "tackles": 2.2279,
                "tackles_won": 1.2046,
                "clearances": 4.8089,
                "aerial_won": 1.7661,
                "total_shots": 0.4869,
                "rating": 6.7179,
                "minutes": 90.0,
                "total_pass": 40.2142,
                "accurate_pass": 31.7968,
                "duels_won": 7.5785,
                "total_long_balls": 2.7475,
                "accurate_long_balls": 0.7181,
                "total_own_half_passes": 22.7301,
                "accurate_own_half_passes": 17.1803,
                "total_opp_half_passes": 17.4841,
                "accurate_opp_half_passes": 14.6165,
                "crosses_total": 0.9026,
                "crosses_accurate": 0.1257,
                "touches": 67.4368,
                "possession_lost": 12.8399,
                "dispossessed": 0.3477,
                "duels_lost": 3.8543,
                "aerial_lost": 0.7507,
                "total_contest": 1.6203,
                "won_contest": 0.4373,
                "ball_recovery": 4.9731,
                "challenges_lost": 0.89,
                "fouls": 0.6821,
                "fouls_drawn": 1.5228,
                "blocks": 0.4094,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1936,
                "assists": 0,
                "expected_goals": 0.0573,
                "expected_assists": 0.2326,
                "shots_on_target": 0.3855,
                "big_chances_created": 0.2047,
                "xgot": 0.0662,
                "ball_carries": 12.7928,
                "total_progression": 34.5448,
                "progressive_carries": 0.5405,
                "key_pass": 0.5163,
                "shots_off_target": 0.1014,
                "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.82,
                "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.0624,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4331,
                "fifa_rank": 4242.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1993,
                "tackles": 2.2279,
                "tackles_won": 1.2046,
                "clearances": 4.8089,
                "aerial_won": 1.7661,
                "total_shots": 0.4869,
                "rating": 6.7179,
                "minutes": 90.0,
                "total_pass": 40.2142,
                "accurate_pass": 31.7968,
                "duels_won": 7.5785,
                "total_long_balls": 2.7475,
                "accurate_long_balls": 0.7181,
                "total_own_half_passes": 22.7301,
                "accurate_own_half_passes": 17.1803,
                "total_opp_half_passes": 17.4841,
                "accurate_opp_half_passes": 14.6165,
                "crosses_total": 0.9026,
                "crosses_accurate": 0.1257,
                "touches": 67.4368,
                "possession_lost": 12.8399,
                "dispossessed": 0.3477,
                "duels_lost": 3.8543,
                "aerial_lost": 0.7507,
                "total_contest": 1.6203,
                "won_contest": 0.4373,
                "ball_recovery": 4.9731,
                "challenges_lost": 0.89,
                "fouls": 0.6821,
                "fouls_drawn": 1.5228,
                "blocks": 0.4094,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1936,
                "assists": 0,
                "expected_goals": 0.0573,
                "expected_assists": 0.2326,
                "shots_on_target": 0.3855,
                "big_chances_created": 0.2047,
                "xgot": 0.0662,
                "ball_carries": 12.7928,
                "total_progression": 34.5448,
                "progressive_carries": 0.5405,
                "key_pass": 0.5163,
                "shots_off_target": 0.1014,
                "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.82,
                "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.0557,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.0624,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0557,
                "scorer_weight": 0.0458,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0297,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1.1993,
                "tackles": 2.2279,
                "tackles_won": 1.2046,
                "clearances": 4.8089,
                "aerial_won": 1.7661,
                "total_shots": 0.4869,
                "rating": 6.7179,
                "minutes": 90.0,
                "total_pass": 40.2142,
                "accurate_pass": 31.7968,
                "duels_won": 7.5785,
                "total_long_balls": 2.7475,
                "accurate_long_balls": 0.7181,
                "total_own_half_passes": 22.7301,
                "accurate_own_half_passes": 17.1803,
                "total_opp_half_passes": 17.4841,
                "accurate_opp_half_passes": 14.6165,
                "crosses_total": 0.9026,
                "crosses_accurate": 0.1257,
                "touches": 67.4368,
                "possession_lost": 12.8399,
                "dispossessed": 0.3477,
                "duels_lost": 3.8543,
                "aerial_lost": 0.7507,
                "total_contest": 1.6203,
                "won_contest": 0.4373,
                "ball_recovery": 4.9731,
                "challenges_lost": 0.89,
                "fouls": 0.6821,
                "fouls_drawn": 1.5228,
                "blocks": 0.4094,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1936,
                "assists": 0,
                "expected_goals": 0.0573,
                "expected_assists": 0.2326,
                "shots_on_target": 0.3855,
                "big_chances_created": 0.2047,
                "xgot": 0.0662,
                "ball_carries": 12.7928,
                "total_progression": 34.5448,
                "progressive_carries": 0.5405,
                "key_pass": 0.5163,
                "shots_off_target": 0.1014,
                "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.82,
                "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.0557,
                "projected_assists": 0,
                "assist_probability": 0.2075,
                "finishing_factor": 0.8,
                "creation_factor": 1.0624,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.2075,
                "provider_weight": 0.2471,
                "squad_weight_total": 1.0367,
                "weight_share": 0.2384,
                "creation_factor": 1.0624,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jeanuël Belocian": {
          "player_id": 1173172,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 24,
          "height": 186,
          "market_value": 12900000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.7892,
            "minutes": 90,
            "total_pass": 48,
            "accurate_pass": 44,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 36,
            "accurate_own_half_passes": 33,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 11,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 61,
            "possession_lost": 5.5312,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0416,
            "expected_assists": 0.0173,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 17,
            "total_progression": 38,
            "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.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "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.0407,
            "projected_assists": 0,
            "assist_probability": 0.0172,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0143,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 60,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0216,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 48,
                "interceptions": 2,
                "clearances": 12,
                "aerial_won": 5,
                "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": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 35,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0877,
                "expected_assists": 0.0245,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 4,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4828,
            "combined_rank_score": 2910.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 941.0,
            "sofascore_rating": 6.45,
            "sofascore_appearances": 2.0,
            "fifa_rank": 4880.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7892,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jeanuël Belocian",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Copete",
                  "ranking": 4823
                },
                {
                  "player_name": "Dubasin",
                  "ranking": 4824
                },
                {
                  "player_name": "Ruairi McConville",
                  "ranking": 4825
                },
                {
                  "player_name": "Lorenzo Bernasconi",
                  "ranking": 4826
                },
                {
                  "player_name": "Peque",
                  "ranking": 4827
                }
              ],
              "lower": [
                {
                  "player_name": "Max Alleyne",
                  "ranking": 4829
                },
                {
                  "player_name": "Herrando",
                  "ranking": 4830
                },
                {
                  "player_name": "Nectarios Triantis",
                  "ranking": 4831
                },
                {
                  "player_name": "Andy Polo",
                  "ranking": 4832
                },
                {
                  "player_name": "Daniel Bentley",
                  "ranking": 4833
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0095,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.2107,
                "tackles": 1.0388,
                "tackles_won": 0.6055,
                "clearances": 5.5312,
                "aerial_won": 2.2999,
                "total_shots": 0.4895,
                "rating": 6.7892,
                "minutes": 90.0,
                "total_pass": 47.4956,
                "accurate_pass": 43.6773,
                "duels_won": 3.4451,
                "total_long_balls": 1.827,
                "accurate_long_balls": 0.7191,
                "total_own_half_passes": 35.2799,
                "accurate_own_half_passes": 32.4033,
                "total_opp_half_passes": 12.2157,
                "accurate_opp_half_passes": 11.274,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.7998,
                "possession_lost": 5.4791,
                "dispossessed": 0.0,
                "duels_lost": 2.0,
                "aerial_lost": 0.9417,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 3.447,
                "challenges_lost": 0.0,
                "fouls": 1.447,
                "fouls_drawn": 0.3887,
                "blocks": 0.3887,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0318,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.0117,
                "total_progression": 37.9282,
                "progressive_carries": 0.2809,
                "key_pass": 0.0,
                "shots_off_target": 0.4895
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 6.1467,
                  "aerialWon": 2.7755,
                  "totalClearance_p90": 8.3535,
                  "totalTackle": 0.2809,
                  "totalPass": 47.4956
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.2106884717941284,
                    "model_output": 1.2107,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1009
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0882
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0549
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0401
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0399
                        }
                      ],
                      "others": 0.0277,
                      "total": 1.2107,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111029
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.087915
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.051038
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.035705
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.034305
                        }
                      ],
                      "others_margin": 0.023229
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.0387521982192993,
                    "model_output": 1.0388,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1661
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1327
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1158
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.079
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0646
                        }
                      ],
                      "others": -0.1309,
                      "total": 1.0388,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.11245
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.088774
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.084478
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.062063
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.053759
                        }
                      ],
                      "others_margin": -0.118773
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6054776310920715,
                    "model_output": 0.6055,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0971
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0725
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0607
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0517
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.042
                        }
                      ],
                      "others": -0.1225,
                      "total": 0.6055,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.107242
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.078961
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.071253
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.064936
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.056136
                        }
                      ],
                      "others_margin": -0.18427
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.531222343444824,
                    "model_output": 5.5312,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.7419
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5628
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.3764
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.348
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2973
                        }
                      ],
                      "others": 0.5164,
                      "total": 5.5312,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.195234
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126224
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.082644
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.076633
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.06111
                        }
                      ],
                      "others_margin": 0.098044
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.2999255657196045,
                    "model_output": 2.2999,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.4712
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2033
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.164
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1647
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": -0.1432
                        }
                      ],
                      "others": 0.0615,
                      "total": 2.2999,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.294044
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.104274
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.076854
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.071663
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": -0.062028
                        }
                      ],
                      "others_margin": 0.027143
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.48945319652557373,
                    "model_output": 0.4895,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0578
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0389
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0152
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0131
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0129
                        }
                      ],
                      "others": -0.0125,
                      "total": 0.4895,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.057824
                        },
                        {
                          "name": "rating",
                          "margin": -0.038902
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.015207
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.013089
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.012928
                        }
                      ],
                      "others_margin": -0.012597
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.789225101470947,
                    "model_output": 6.7892,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.0221
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0215
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0177
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0126
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0126
                        }
                      ],
                      "others": 0.0025,
                      "total": 6.7892,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.022109
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.021496
                        },
                        {
                          "name": "rating",
                          "margin": -0.017705
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012631
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.012598
                        }
                      ],
                      "others_margin": 0.002584
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 3,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0095, quality 0.556)",
              "stats": {
                "interceptions": 1.2222,
                "tackles": 1.0486,
                "tackles_won": 0.6112,
                "clearances": 5.5838,
                "aerial_won": 2.3218,
                "total_shots": 0.4942,
                "rating": 6.7892,
                "minutes": 90.0,
                "total_pass": 47.9468,
                "accurate_pass": 44.0922,
                "duels_won": 3.4778,
                "total_long_balls": 1.8444,
                "accurate_long_balls": 0.7259,
                "total_own_half_passes": 35.6151,
                "accurate_own_half_passes": 32.7111,
                "total_opp_half_passes": 12.3317,
                "accurate_opp_half_passes": 11.3811,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 61.3774,
                "possession_lost": 5.5312,
                "dispossessed": 0.0,
                "duels_lost": 2.019,
                "aerial_lost": 0.9506,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 3.4797,
                "challenges_lost": 0.0,
                "fouls": 1.4607,
                "fouls_drawn": 0.3924,
                "blocks": 0.3924,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0321,
                "expected_assists": 0.0133,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.1733,
                "total_progression": 38.2885,
                "progressive_carries": 0.2836,
                "key_pass": 0.0,
                "shots_off_target": 0.4942
              },
              "params": {
                "market_value_eur": 12900000,
                "quality_factor": 0.5559,
                "boost_factor": 1.0095,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.2222,
                "tackles": 1.0486,
                "tackles_won": 0.6112,
                "clearances": 5.5838,
                "aerial_won": 2.3218,
                "total_shots": 0.4942,
                "rating": 6.7892,
                "minutes": 90.0,
                "total_pass": 47.9468,
                "accurate_pass": 44.0922,
                "duels_won": 3.4778,
                "total_long_balls": 1.8444,
                "accurate_long_balls": 0.7259,
                "total_own_half_passes": 35.6151,
                "accurate_own_half_passes": 32.7111,
                "total_opp_half_passes": 12.3317,
                "accurate_opp_half_passes": 11.3811,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 61.3774,
                "possession_lost": 5.5312,
                "dispossessed": 0.0,
                "duels_lost": 2.019,
                "aerial_lost": 0.9506,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 3.4797,
                "challenges_lost": 0.0,
                "fouls": 1.4607,
                "fouls_drawn": 0.3924,
                "blocks": 0.3924,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0321,
                "expected_assists": 0.0133,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.1733,
                "total_progression": 38.2885,
                "progressive_carries": 0.2836,
                "key_pass": 0.0,
                "shots_off_target": 0.4942
              },
              "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.2222,
                "tackles": 1.0486,
                "tackles_won": 0.6112,
                "clearances": 5.5838,
                "aerial_won": 2.3218,
                "total_shots": 0.4942,
                "rating": 6.7892,
                "minutes": 90.0,
                "total_pass": 47.9468,
                "accurate_pass": 44.0922,
                "duels_won": 3.4778,
                "total_long_balls": 1.8444,
                "accurate_long_balls": 0.7259,
                "total_own_half_passes": 35.6151,
                "accurate_own_half_passes": 32.7111,
                "total_opp_half_passes": 12.3317,
                "accurate_opp_half_passes": 11.3811,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 61.3774,
                "possession_lost": 5.5312,
                "dispossessed": 0.0,
                "duels_lost": 2.019,
                "aerial_lost": 0.9506,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 3.4797,
                "challenges_lost": 0.0,
                "fouls": 1.4607,
                "fouls_drawn": 0.3924,
                "blocks": 0.3924,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0321,
                "expected_assists": 0.0133,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.1733,
                "total_progression": 38.2885,
                "progressive_carries": 0.2836,
                "key_pass": 0.0,
                "shots_off_target": 0.4942,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "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": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "interceptions": 1.2222,
                "tackles": 1.0486,
                "tackles_won": 0.6112,
                "clearances": 5.5838,
                "aerial_won": 2.3218,
                "total_shots": 0.4942,
                "rating": 6.7892,
                "minutes": 90.0,
                "total_pass": 47.9468,
                "accurate_pass": 44.0922,
                "duels_won": 3.4778,
                "total_long_balls": 1.8444,
                "accurate_long_balls": 0.7259,
                "total_own_half_passes": 35.6151,
                "accurate_own_half_passes": 32.7111,
                "total_opp_half_passes": 12.3317,
                "accurate_opp_half_passes": 11.3811,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 61.3774,
                "possession_lost": 5.5312,
                "dispossessed": 0.0,
                "duels_lost": 2.019,
                "aerial_lost": 0.9506,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 3.4797,
                "challenges_lost": 0.0,
                "fouls": 1.4607,
                "fouls_drawn": 0.3924,
                "blocks": 0.3924,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0416,
                "expected_assists": 0.0173,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.1733,
                "total_progression": 38.2885,
                "progressive_carries": 0.2836,
                "key_pass": 0.0,
                "shots_off_target": 0.4942,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "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.8
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0321,
                  "after": 0.0416
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 71.0; not used by the projection)",
              "stats": {
                "interceptions": 1.2222,
                "tackles": 1.0486,
                "tackles_won": 0.6112,
                "clearances": 5.5838,
                "aerial_won": 2.3218,
                "total_shots": 0.4942,
                "rating": 6.7892,
                "minutes": 90.0,
                "total_pass": 47.9468,
                "accurate_pass": 44.0922,
                "duels_won": 3.4778,
                "total_long_balls": 1.8444,
                "accurate_long_balls": 0.7259,
                "total_own_half_passes": 35.6151,
                "accurate_own_half_passes": 32.7111,
                "total_opp_half_passes": 12.3317,
                "accurate_opp_half_passes": 11.3811,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 61.3774,
                "possession_lost": 5.5312,
                "dispossessed": 0.0,
                "duels_lost": 2.019,
                "aerial_lost": 0.9506,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 3.4797,
                "challenges_lost": 0.0,
                "fouls": 1.4607,
                "fouls_drawn": 0.3924,
                "blocks": 0.3924,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0416,
                "expected_assists": 0.0173,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.1733,
                "total_progression": 38.2885,
                "progressive_carries": 0.2836,
                "key_pass": 0.0,
                "shots_off_target": 0.4942,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "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.8,
                "fifa_overall": 71.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": 4828,
                "fifa_rank": 4880.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.2222,
                "tackles": 1.0486,
                "tackles_won": 0.6112,
                "clearances": 5.5838,
                "aerial_won": 2.3218,
                "total_shots": 0.4942,
                "rating": 6.7892,
                "minutes": 90.0,
                "total_pass": 47.9468,
                "accurate_pass": 44.0922,
                "duels_won": 3.4778,
                "total_long_balls": 1.8444,
                "accurate_long_balls": 0.7259,
                "total_own_half_passes": 35.6151,
                "accurate_own_half_passes": 32.7111,
                "total_opp_half_passes": 12.3317,
                "accurate_opp_half_passes": 11.3811,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 61.3774,
                "possession_lost": 5.5312,
                "dispossessed": 0.0,
                "duels_lost": 2.019,
                "aerial_lost": 0.9506,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 3.4797,
                "challenges_lost": 0.0,
                "fouls": 1.4607,
                "fouls_drawn": 0.3924,
                "blocks": 0.3924,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0416,
                "expected_assists": 0.0173,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.1733,
                "total_progression": 38.2885,
                "progressive_carries": 0.2836,
                "key_pass": 0.0,
                "shots_off_target": 0.4942,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "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.0407,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0407,
                "scorer_weight": 0.0333,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0215,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1.2222,
                "tackles": 1.0486,
                "tackles_won": 0.6112,
                "clearances": 5.5838,
                "aerial_won": 2.3218,
                "total_shots": 0.4942,
                "rating": 6.7892,
                "minutes": 90.0,
                "total_pass": 47.9468,
                "accurate_pass": 44.0922,
                "duels_won": 3.4778,
                "total_long_balls": 1.8444,
                "accurate_long_balls": 0.7259,
                "total_own_half_passes": 35.6151,
                "accurate_own_half_passes": 32.7111,
                "total_opp_half_passes": 12.3317,
                "accurate_opp_half_passes": 11.3811,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 61.3774,
                "possession_lost": 5.5312,
                "dispossessed": 0.0,
                "duels_lost": 2.019,
                "aerial_lost": 0.9506,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 3.4797,
                "challenges_lost": 0.0,
                "fouls": 1.4607,
                "fouls_drawn": 0.3924,
                "blocks": 0.3924,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0416,
                "expected_assists": 0.0173,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.1733,
                "total_progression": 38.2885,
                "progressive_carries": 0.2836,
                "key_pass": 0.0,
                "shots_off_target": 0.4942,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "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.0407,
                "projected_assists": 0,
                "assist_probability": 0.0172,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0172,
                "provider_weight": 0.0138,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0134,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pablo Ramón": {
          "player_id": 962381,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 186,
          "market_value": 1500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.8253,
            "minutes": 88,
            "total_pass": 58,
            "accurate_pass": 51,
            "duels_won": 7,
            "total_long_balls": 5,
            "accurate_long_balls": 2,
            "total_own_half_passes": 35,
            "accurate_own_half_passes": 33,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 18,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 76,
            "possession_lost": 8.0458,
            "dispossessed": 0.9769,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 6,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0118,
            "expected_assists": 0.014,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0132,
            "ball_carries": 27,
            "total_progression": 99,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.6,
            "opponent_faced": "Ryunosuke Sato",
            "pressing_zone": "Right Mid vs Left Back — Wide Channel",
            "matchup_zone": "Right Mid vs Left Back — Wide Channel",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0117,
            "projected_assists": 0,
            "assist_probability": 0.0139,
            "finishing_factor": 0.846,
            "creation_factor": 0.8224,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0294,
                "expected_assists": 0.0201,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 67,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 5,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 42,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 10,
                "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": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 35,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0074,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 23,
                "tackles": 2,
                "tackles_won": 2,
                "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": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0062,
                "total_shots": 0,
                "total_pass": 69,
                "accurate_pass": 63,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 13,
                "aerial_won": 5,
                "duels_won": 11,
                "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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 77,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0138,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 7,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5500,
            "combined_rank_score": 3679.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 2.0,
            "fifa_rank": 6968.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8253,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Ramón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Abdulelah Al Amri",
                  "ranking": 5495
                },
                {
                  "player_name": "Sofiane Bendebka",
                  "ranking": 5496
                },
                {
                  "player_name": "Ramiro Enrique",
                  "ranking": 5497
                },
                {
                  "player_name": "Amir Sâyoud",
                  "ranking": 5498
                },
                {
                  "player_name": "Luciano Rodríguez",
                  "ranking": 5499
                }
              ],
              "lower": [
                {
                  "player_name": "Paul Smyth",
                  "ranking": 5501
                },
                {
                  "player_name": "Marcos Rojo",
                  "ranking": 5502
                },
                {
                  "player_name": "Theo Bair",
                  "ranking": 5503
                },
                {
                  "player_name": "Lisandro Magallán",
                  "ranking": 5504
                },
                {
                  "player_name": "Jaouen Hadjam",
                  "ranking": 5505
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.581,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.581,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9899,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 166.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "XGBoost regressor (D_service) evaluated 5 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.12, 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.2498,
                "tackles": 1.9778,
                "tackles_won": 1.1072,
                "clearances": 4.3866,
                "aerial_won": 1.4216,
                "total_shots": 0.6246,
                "rating": 6.8253,
                "minutes": 88.33,
                "total_pass": 58.3503,
                "accurate_pass": 51.9086,
                "duels_won": 7.5014,
                "total_long_balls": 4.5884,
                "accurate_long_balls": 1.5275,
                "total_own_half_passes": 35.0852,
                "accurate_own_half_passes": 33.8185,
                "total_opp_half_passes": 23.2651,
                "accurate_opp_half_passes": 18.0901,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 76.519,
                "possession_lost": 8.1279,
                "dispossessed": 0.9869,
                "duels_lost": 3.4064,
                "aerial_lost": 1.034,
                "total_contest": 0.7733,
                "won_contest": 0.5806,
                "ball_recovery": 5.6886,
                "challenges_lost": 0.6862,
                "fouls": 0.5065,
                "fouls_drawn": 1.4864,
                "blocks": 0.2267,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0092,
                "expected_assists": 0.0109,
                "shots_on_target": 0.3138,
                "big_chances_created": 0.0,
                "xgot": 0.0103,
                "ball_carries": 27.2788,
                "total_progression": 100.1498,
                "progressive_carries": 1.2738,
                "key_pass": 0.1927,
                "shots_off_target": 0.3108
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.1738,
                  "aerialWon": 1.7852,
                  "totalClearance_p90": 5.3401,
                  "totalTackle": 2.9072,
                  "totalPass": 52.0264
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.2497773170471191,
                    "model_output": 1.2498,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1162
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0847
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0328
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0319
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0215
                        }
                      ],
                      "others": 0.1037,
                      "total": 1.2498,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126912
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.083322
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.030503
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.028745
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.018932
                        }
                      ],
                      "others_margin": 0.086584
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.9777506589889526,
                    "model_output": 1.9778,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1997
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1553
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1217
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.1014
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1067
                        }
                      ],
                      "others": -0.1027,
                      "total": 1.9778,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133698
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.092865
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.067196
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.052725
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.052627
                        }
                      ],
                      "others_margin": -0.050568
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1071900129318237,
                    "model_output": 1.1072,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1183
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0694
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0598
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0574
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0525
                        }
                      ],
                      "others": -0.108,
                      "total": 1.1072,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129166
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.068722
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.055594
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.050602
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.044207
                        }
                      ],
                      "others_margin": -0.093043
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.386552333831787,
                    "model_output": 4.3866,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.6437
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.538
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.4167
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.237
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2204
                        }
                      ],
                      "others": -0.277,
                      "total": 4.3866,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.171473
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12372
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.094458
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.054814
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.048415
                        }
                      ],
                      "others_margin": -0.061228
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.4216059446334839,
                    "model_output": 1.4216,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1602
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1685
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.131
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.1165
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0861
                        }
                      ],
                      "others": -0.1241,
                      "total": 1.4216,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.109921
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.103905
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.079874
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.076827
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.057333
                        }
                      ],
                      "others_margin": -0.083598
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.624607264995575,
                    "model_output": 0.6246,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0686
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0225
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0203
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0112
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0097
                        }
                      ],
                      "others": 0.02,
                      "total": 0.6246,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.068647
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.022475
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.020295
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.011238
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.00972
                        }
                      ],
                      "others_margin": 0.019912
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.825292587280273,
                    "model_output": 6.8253,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": 0.0179
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0127
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0113
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0078
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0073
                        }
                      ],
                      "others": 0.0205,
                      "total": 6.8253,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "accuratePass",
                          "margin": 0.0179
                        },
                        {
                          "name": "rating",
                          "margin": 0.012727
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011286
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.007796
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.007259
                        }
                      ],
                      "others_margin": 0.02052
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 5,
                  "role_matches": 4,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9899, quality 0.437)",
              "stats": {
                "interceptions": 1.2372,
                "tackles": 1.9578,
                "tackles_won": 1.096,
                "clearances": 4.3422,
                "aerial_won": 1.4072,
                "total_shots": 0.6183,
                "rating": 6.8253,
                "minutes": 88.33,
                "total_pass": 57.761,
                "accurate_pass": 51.3843,
                "duels_won": 7.4256,
                "total_long_balls": 4.5421,
                "accurate_long_balls": 1.5121,
                "total_own_half_passes": 34.7308,
                "accurate_own_half_passes": 33.4769,
                "total_opp_half_passes": 23.0301,
                "accurate_opp_half_passes": 17.9074,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 75.7462,
                "possession_lost": 8.0458,
                "dispossessed": 0.9769,
                "duels_lost": 3.372,
                "aerial_lost": 1.0236,
                "total_contest": 0.7655,
                "won_contest": 0.5747,
                "ball_recovery": 5.6311,
                "challenges_lost": 0.6793,
                "fouls": 0.5014,
                "fouls_drawn": 1.4714,
                "blocks": 0.2244,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0091,
                "expected_assists": 0.0108,
                "shots_on_target": 0.3106,
                "big_chances_created": 0.0,
                "xgot": 0.0102,
                "ball_carries": 27.0033,
                "total_progression": 99.1383,
                "progressive_carries": 1.2609,
                "key_pass": 0.1908,
                "shots_off_target": 0.3077
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9899,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0390)",
              "stats": {
                "interceptions": 1.274,
                "tackles": 1.9578,
                "tackles_won": 1.1383,
                "clearances": 4.3422,
                "aerial_won": 1.4072,
                "total_shots": 0.5942,
                "rating": 6.8253,
                "minutes": 88.33,
                "total_pass": 57.761,
                "accurate_pass": 51.3843,
                "duels_won": 7.4256,
                "total_long_balls": 4.5421,
                "accurate_long_balls": 1.5121,
                "total_own_half_passes": 34.7308,
                "accurate_own_half_passes": 33.4769,
                "total_opp_half_passes": 23.0301,
                "accurate_opp_half_passes": 17.9074,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 75.7462,
                "possession_lost": 8.0458,
                "dispossessed": 0.9769,
                "duels_lost": 3.372,
                "aerial_lost": 1.0236,
                "total_contest": 0.7655,
                "won_contest": 0.5747,
                "ball_recovery": 5.6311,
                "challenges_lost": 0.6793,
                "fouls": 0.5031,
                "fouls_drawn": 1.4565,
                "blocks": 0.2244,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0091,
                "expected_assists": 0.0108,
                "shots_on_target": 0.2985,
                "big_chances_created": 0.0,
                "xgot": 0.0102,
                "ball_carries": 27.0033,
                "total_progression": 99.1383,
                "progressive_carries": 1.2609,
                "key_pass": 0.1908,
                "shots_off_target": 0.3077
              },
              "params": {
                "blend_weight": 0.039,
                "history_matches": 5,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9814,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.096,
                  "after": 1.1383
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.2372,
                  "after": 1.274
                },
                {
                  "stat": "totalShots",
                  "before": 0.6183,
                  "after": 0.5942
                },
                {
                  "stat": "wasFouled",
                  "before": 1.4714,
                  "after": 1.4565
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3106,
                  "after": 0.2985
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.274,
                "tackles": 1.9578,
                "tackles_won": 1.1383,
                "clearances": 4.3422,
                "aerial_won": 1.4072,
                "total_shots": 0.6062,
                "rating": 6.8253,
                "minutes": 88.33,
                "total_pass": 57.761,
                "accurate_pass": 51.3843,
                "duels_won": 7.4256,
                "total_long_balls": 4.5421,
                "accurate_long_balls": 1.5121,
                "total_own_half_passes": 34.7308,
                "accurate_own_half_passes": 33.4769,
                "total_opp_half_passes": 23.0301,
                "accurate_opp_half_passes": 17.9074,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 75.7462,
                "possession_lost": 8.0458,
                "dispossessed": 0.9769,
                "duels_lost": 3.372,
                "aerial_lost": 1.0236,
                "total_contest": 0.7655,
                "won_contest": 0.5747,
                "ball_recovery": 5.6311,
                "challenges_lost": 0.6793,
                "fouls": 0.5031,
                "fouls_drawn": 1.4565,
                "blocks": 0.2244,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0091,
                "expected_assists": 0.0108,
                "shots_on_target": 0.2985,
                "big_chances_created": 0.0,
                "xgot": 0.0102,
                "ball_carries": 27.0033,
                "total_progression": 99.1383,
                "progressive_carries": 1.2609,
                "key_pass": 0.1908,
                "shots_off_target": 0.3077
              },
              "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.274,
                "tackles": 1.9578,
                "tackles_won": 1.1383,
                "clearances": 4.3422,
                "aerial_won": 1.4072,
                "total_shots": 0.6062,
                "rating": 6.8253,
                "minutes": 88.33,
                "total_pass": 57.761,
                "accurate_pass": 51.3843,
                "duels_won": 7.4256,
                "total_long_balls": 4.5421,
                "accurate_long_balls": 1.5121,
                "total_own_half_passes": 34.7308,
                "accurate_own_half_passes": 33.4769,
                "total_opp_half_passes": 23.0301,
                "accurate_opp_half_passes": 17.9074,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 75.7462,
                "possession_lost": 8.0458,
                "dispossessed": 0.9769,
                "duels_lost": 3.372,
                "aerial_lost": 1.0236,
                "total_contest": 0.7655,
                "won_contest": 0.5747,
                "ball_recovery": 5.6311,
                "challenges_lost": 0.6793,
                "fouls": 0.5031,
                "fouls_drawn": 1.4565,
                "blocks": 0.2244,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0091,
                "expected_assists": 0.0108,
                "shots_on_target": 0.2985,
                "big_chances_created": 0.0,
                "xgot": 0.0102,
                "ball_carries": 27.0033,
                "total_progression": 99.1383,
                "progressive_carries": 1.2609,
                "key_pass": 0.1908,
                "shots_off_target": 0.3077,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.6,
                "opponent_faced": "Ryunosuke Sato",
                "pressing_zone": "Right Mid vs Left Back — Wide Channel",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ryunosuke Sato",
                  "matchup_zone": "Right Mid vs Left Back — Wide Channel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "interceptions": 1.274,
                "tackles": 1.9578,
                "tackles_won": 1.1383,
                "clearances": 4.3422,
                "aerial_won": 1.4072,
                "total_shots": 0.6062,
                "rating": 6.8253,
                "minutes": 88.33,
                "total_pass": 57.761,
                "accurate_pass": 51.3843,
                "duels_won": 7.4256,
                "total_long_balls": 4.5421,
                "accurate_long_balls": 1.5121,
                "total_own_half_passes": 34.7308,
                "accurate_own_half_passes": 33.4769,
                "total_opp_half_passes": 23.0301,
                "accurate_opp_half_passes": 17.9074,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 75.7462,
                "possession_lost": 8.0458,
                "dispossessed": 0.9769,
                "duels_lost": 3.372,
                "aerial_lost": 1.0236,
                "total_contest": 0.7655,
                "won_contest": 0.5747,
                "ball_recovery": 5.6311,
                "challenges_lost": 0.6793,
                "fouls": 0.5031,
                "fouls_drawn": 1.4565,
                "blocks": 0.2244,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0118,
                "expected_assists": 0.014,
                "shots_on_target": 0.2985,
                "big_chances_created": 0.0,
                "xgot": 0.0132,
                "ball_carries": 27.0033,
                "total_progression": 99.1383,
                "progressive_carries": 1.2609,
                "key_pass": 0.1908,
                "shots_off_target": 0.3077,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.6,
                "opponent_faced": "Ryunosuke Sato",
                "pressing_zone": "Right Mid vs Left Back — Wide Channel",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.846,
                "creation_factor": 0.8224
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 69.0; not used by the projection)",
              "stats": {
                "interceptions": 1.274,
                "tackles": 1.9578,
                "tackles_won": 1.1383,
                "clearances": 4.3422,
                "aerial_won": 1.4072,
                "total_shots": 0.6062,
                "rating": 6.8253,
                "minutes": 88.33,
                "total_pass": 57.761,
                "accurate_pass": 51.3843,
                "duels_won": 7.4256,
                "total_long_balls": 4.5421,
                "accurate_long_balls": 1.5121,
                "total_own_half_passes": 34.7308,
                "accurate_own_half_passes": 33.4769,
                "total_opp_half_passes": 23.0301,
                "accurate_opp_half_passes": 17.9074,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 75.7462,
                "possession_lost": 8.0458,
                "dispossessed": 0.9769,
                "duels_lost": 3.372,
                "aerial_lost": 1.0236,
                "total_contest": 0.7655,
                "won_contest": 0.5747,
                "ball_recovery": 5.6311,
                "challenges_lost": 0.6793,
                "fouls": 0.5031,
                "fouls_drawn": 1.4565,
                "blocks": 0.2244,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0118,
                "expected_assists": 0.014,
                "shots_on_target": 0.2985,
                "big_chances_created": 0.0,
                "xgot": 0.0132,
                "ball_carries": 27.0033,
                "total_progression": 99.1383,
                "progressive_carries": 1.2609,
                "key_pass": 0.1908,
                "shots_off_target": 0.3077,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.6,
                "opponent_faced": "Ryunosuke Sato",
                "pressing_zone": "Right Mid vs Left Back — Wide Channel",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.846,
                "creation_factor": 0.8224,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5500,
                "fifa_rank": 6968.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.274,
                "tackles": 1.9578,
                "tackles_won": 1.1383,
                "clearances": 4.3422,
                "aerial_won": 1.4072,
                "total_shots": 0.6062,
                "rating": 6.8253,
                "minutes": 88.33,
                "total_pass": 57.761,
                "accurate_pass": 51.3843,
                "duels_won": 7.4256,
                "total_long_balls": 4.5421,
                "accurate_long_balls": 1.5121,
                "total_own_half_passes": 34.7308,
                "accurate_own_half_passes": 33.4769,
                "total_opp_half_passes": 23.0301,
                "accurate_opp_half_passes": 17.9074,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 75.7462,
                "possession_lost": 8.0458,
                "dispossessed": 0.9769,
                "duels_lost": 3.372,
                "aerial_lost": 1.0236,
                "total_contest": 0.7655,
                "won_contest": 0.5747,
                "ball_recovery": 5.6311,
                "challenges_lost": 0.6793,
                "fouls": 0.5031,
                "fouls_drawn": 1.4565,
                "blocks": 0.2244,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0118,
                "expected_assists": 0.014,
                "shots_on_target": 0.2985,
                "big_chances_created": 0.0,
                "xgot": 0.0132,
                "ball_carries": 27.0033,
                "total_progression": 99.1383,
                "progressive_carries": 1.2609,
                "key_pass": 0.1908,
                "shots_off_target": 0.3077,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.6,
                "opponent_faced": "Ryunosuke Sato",
                "pressing_zone": "Right Mid vs Left Back — Wide Channel",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0117,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.846,
                "creation_factor": 0.8224,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0117,
                "scorer_weight": 0.01,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0065,
                "finishing_factor": 0.846,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1.274,
                "tackles": 1.9578,
                "tackles_won": 1.1383,
                "clearances": 4.3422,
                "aerial_won": 1.4072,
                "total_shots": 0.6062,
                "rating": 6.8253,
                "minutes": 88.33,
                "total_pass": 57.761,
                "accurate_pass": 51.3843,
                "duels_won": 7.4256,
                "total_long_balls": 4.5421,
                "accurate_long_balls": 1.5121,
                "total_own_half_passes": 34.7308,
                "accurate_own_half_passes": 33.4769,
                "total_opp_half_passes": 23.0301,
                "accurate_opp_half_passes": 17.9074,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 75.7462,
                "possession_lost": 8.0458,
                "dispossessed": 0.9769,
                "duels_lost": 3.372,
                "aerial_lost": 1.0236,
                "total_contest": 0.7655,
                "won_contest": 0.5747,
                "ball_recovery": 5.6311,
                "challenges_lost": 0.6793,
                "fouls": 0.5031,
                "fouls_drawn": 1.4565,
                "blocks": 0.2244,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0118,
                "expected_assists": 0.014,
                "shots_on_target": 0.2985,
                "big_chances_created": 0.0,
                "xgot": 0.0132,
                "ball_carries": 27.0033,
                "total_progression": 99.1383,
                "progressive_carries": 1.2609,
                "key_pass": 0.1908,
                "shots_off_target": 0.3077,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.6,
                "opponent_faced": "Ryunosuke Sato",
                "pressing_zone": "Right Mid vs Left Back — Wide Channel",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0117,
                "projected_assists": 0,
                "assist_probability": 0.0139,
                "finishing_factor": 0.846,
                "creation_factor": 0.8224,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0139,
                "provider_weight": 0.0115,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0111,
                "creation_factor": 0.8224,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Alvaro Mantilla": {
          "player_id": 1010792,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 182,
          "market_value": 1200000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7163,
            "minutes": 85,
            "total_pass": 40,
            "accurate_pass": 30,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 14,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 58,
            "possession_lost": 12.942,
            "dispossessed": 0.1724,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0239,
            "expected_assists": 0.0361,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 49,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.4,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.398,
            "opponent_faced": "Javier Guerra",
            "pressing_zone": "Left Mid vs Right Back — Wide Channel",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0236,
            "projected_assists": 0,
            "assist_probability": 0.0355,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 63,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0328,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 41,
                "tackles": 3,
                "tackles_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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 89,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0694,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 20,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 25,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 9,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 36,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1743,
                "expected_assists": 0.0505,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 16,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2732,
            "combined_rank_score": 1276.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 948.0,
            "sofascore_rating": 6.4333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1604.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7163,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alvaro Mantilla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Dan Edwards",
                  "ranking": 2727
                },
                {
                  "player_name": "Bartra",
                  "ranking": 2728
                },
                {
                  "player_name": "İsmail Yüksek",
                  "ranking": 2729
                },
                {
                  "player_name": "Enzo Monteiro",
                  "ranking": 2730
                },
                {
                  "player_name": "Max Ebong",
                  "ranking": 2731
                }
              ],
              "lower": [
                {
                  "player_name": "Miguel Silveira",
                  "ranking": 2733
                },
                {
                  "player_name": "Alexis Rodríguez",
                  "ranking": 2734
                },
                {
                  "player_name": "Carmelo Algarañaz",
                  "ranking": 2735
                },
                {
                  "player_name": "Marcos Bolados",
                  "ranking": 2736
                },
                {
                  "player_name": "Carlos Salomón",
                  "ranking": 2737
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9908,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 6 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.8873,
                "tackles": 1.8342,
                "tackles_won": 1.161,
                "clearances": 2.5249,
                "aerial_won": 0.9628,
                "total_shots": 0.3323,
                "rating": 6.7163,
                "minutes": 84.99,
                "total_pass": 39.9743,
                "accurate_pass": 30.042,
                "duels_won": 3.8959,
                "total_long_balls": 2.8426,
                "accurate_long_balls": 0.563,
                "total_own_half_passes": 18.0628,
                "accurate_own_half_passes": 15.801,
                "total_opp_half_passes": 21.9115,
                "accurate_opp_half_passes": 14.241,
                "crosses_total": 0.5134,
                "crosses_accurate": 0.0,
                "touches": 58.2464,
                "possession_lost": 13.0622,
                "dispossessed": 0.174,
                "duels_lost": 2.5057,
                "aerial_lost": 0.8121,
                "total_contest": 0.776,
                "won_contest": 0.2408,
                "ball_recovery": 3.3235,
                "challenges_lost": 0.2326,
                "fouls": 0.8588,
                "fouls_drawn": 0.3887,
                "blocks": 0.5266,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0186,
                "expected_assists": 0.0281,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.6064,
                "total_progression": 49.0347,
                "progressive_carries": 0.8521,
                "key_pass": 0.2047,
                "shots_off_target": 0.3323
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.2189,
                  "aerialWon": 0.9293,
                  "totalClearance_p90": 3.2326,
                  "totalTackle": 2.3371,
                  "totalPass": 39.9743
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8873161673545837,
                    "model_output": 0.8873,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.117
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0609
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0369
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0168
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0143
                        }
                      ],
                      "others": 0.0116,
                      "total": 0.8873,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127707
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.064425
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.041117
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.019364
                        },
                        {
                          "name": "touches",
                          "margin": 0.016419
                        }
                      ],
                      "others_margin": 0.013258
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.8341872692108154,
                    "model_output": 1.8342,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1895
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1068
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0916
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0707
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0731
                        }
                      ],
                      "others": 0.09,
                      "total": 1.8342,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127297
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.065179
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.055653
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.043237
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.042807
                        }
                      ],
                      "others_margin": 0.050318
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1609622240066528,
                    "model_output": 1.161,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1189
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0758
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0689
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0645
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0614
                        }
                      ],
                      "others": 0.0515,
                      "total": 1.161,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129799
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.074742
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.067666
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.063523
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.05695
                        }
                      ],
                      "others_margin": 0.045323
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.5249204635620117,
                    "model_output": 2.5249,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4508
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3832
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2698
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2343
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.1683
                        }
                      ],
                      "others": -0.3115,
                      "total": 2.5249,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123095
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.103643
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.080018
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.075081
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.057646
                        }
                      ],
                      "others_margin": -0.116307
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9628104567527771,
                    "model_output": 0.9628,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.2408
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1561
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0715
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0445
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0377
                        }
                      ],
                      "others": -0.1772,
                      "total": 0.9628,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.191996
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128601
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.056889
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.037076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.032574
                        }
                      ],
                      "others_margin": -0.168893
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3323203921318054,
                    "model_output": 0.3323,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1183
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0433
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0328
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0168
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.008
                        }
                      ],
                      "others": -0.041,
                      "total": 0.3323,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.118298
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.043298
                        },
                        {
                          "name": "rating",
                          "margin": -0.032845
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.01677
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.008011
                        }
                      ],
                      "others_margin": -0.040912
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.716298580169678,
                    "model_output": 6.7163,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "touches",
                          "contribution": 0.0146
                        },
                        {
                          "name": "rating",
                          "contribution": -0.012
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0102
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.01
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0095
                        }
                      ],
                      "others": -0.0426,
                      "total": 6.7163,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "touches",
                          "margin": 0.014642
                        },
                        {
                          "name": "rating",
                          "margin": -0.011985
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.010194
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.00996
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.009477
                        }
                      ],
                      "others_margin": -0.042698
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 6,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9908, quality 0.437)",
              "stats": {
                "interceptions": 0.8792,
                "tackles": 1.8173,
                "tackles_won": 1.1503,
                "clearances": 2.5017,
                "aerial_won": 0.954,
                "total_shots": 0.3293,
                "rating": 6.7163,
                "minutes": 84.99,
                "total_pass": 39.6065,
                "accurate_pass": 29.7656,
                "duels_won": 3.8601,
                "total_long_balls": 2.8164,
                "accurate_long_balls": 0.5578,
                "total_own_half_passes": 17.8966,
                "accurate_own_half_passes": 15.6556,
                "total_opp_half_passes": 21.7099,
                "accurate_opp_half_passes": 14.11,
                "crosses_total": 0.5087,
                "crosses_accurate": 0.0,
                "touches": 57.7105,
                "possession_lost": 12.942,
                "dispossessed": 0.1724,
                "duels_lost": 2.4826,
                "aerial_lost": 0.8046,
                "total_contest": 0.7689,
                "won_contest": 0.2386,
                "ball_recovery": 3.2929,
                "challenges_lost": 0.2305,
                "fouls": 0.8509,
                "fouls_drawn": 0.3851,
                "blocks": 0.5218,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0184,
                "expected_assists": 0.0278,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.4812,
                "total_progression": 48.5836,
                "progressive_carries": 0.8443,
                "key_pass": 0.2028,
                "shots_off_target": 0.3292
              },
              "params": {
                "market_value_eur": 1200000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9908,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8792,
                "tackles": 1.8173,
                "tackles_won": 1.1503,
                "clearances": 2.5017,
                "aerial_won": 0.954,
                "total_shots": 0.3293,
                "rating": 6.7163,
                "minutes": 84.99,
                "total_pass": 39.6065,
                "accurate_pass": 29.7656,
                "duels_won": 3.8601,
                "total_long_balls": 2.8164,
                "accurate_long_balls": 0.5578,
                "total_own_half_passes": 17.8966,
                "accurate_own_half_passes": 15.6556,
                "total_opp_half_passes": 21.7099,
                "accurate_opp_half_passes": 14.11,
                "crosses_total": 0.5087,
                "crosses_accurate": 0.0,
                "touches": 57.7105,
                "possession_lost": 12.942,
                "dispossessed": 0.1724,
                "duels_lost": 2.4826,
                "aerial_lost": 0.8046,
                "total_contest": 0.7689,
                "won_contest": 0.2386,
                "ball_recovery": 3.2929,
                "challenges_lost": 0.2305,
                "fouls": 0.8509,
                "fouls_drawn": 0.3851,
                "blocks": 0.5218,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0184,
                "expected_assists": 0.0278,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.4812,
                "total_progression": 48.5836,
                "progressive_carries": 0.8443,
                "key_pass": 0.2028,
                "shots_off_target": 0.3292
              },
              "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.8792,
                "tackles": 1.8173,
                "tackles_won": 1.1503,
                "clearances": 2.5017,
                "aerial_won": 0.954,
                "total_shots": 0.3293,
                "rating": 6.7163,
                "minutes": 84.99,
                "total_pass": 39.6065,
                "accurate_pass": 29.7656,
                "duels_won": 3.8601,
                "total_long_balls": 2.8164,
                "accurate_long_balls": 0.5578,
                "total_own_half_passes": 17.8966,
                "accurate_own_half_passes": 15.6556,
                "total_opp_half_passes": 21.7099,
                "accurate_opp_half_passes": 14.11,
                "crosses_total": 0.5087,
                "crosses_accurate": 0.0,
                "touches": 57.7105,
                "possession_lost": 12.942,
                "dispossessed": 0.1724,
                "duels_lost": 2.4826,
                "aerial_lost": 0.8046,
                "total_contest": 0.7689,
                "won_contest": 0.2386,
                "ball_recovery": 3.2929,
                "challenges_lost": 0.2305,
                "fouls": 0.8509,
                "fouls_drawn": 0.3851,
                "blocks": 0.5218,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0184,
                "expected_assists": 0.0278,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.4812,
                "total_progression": 48.5836,
                "progressive_carries": 0.8443,
                "key_pass": 0.2028,
                "shots_off_target": 0.3292,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.398,
                "opponent_faced": "Javier Guerra",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Javier Guerra",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "interceptions": 0.8792,
                "tackles": 1.8173,
                "tackles_won": 1.1503,
                "clearances": 2.5017,
                "aerial_won": 0.954,
                "total_shots": 0.3293,
                "rating": 6.7163,
                "minutes": 84.99,
                "total_pass": 39.6065,
                "accurate_pass": 29.7656,
                "duels_won": 3.8601,
                "total_long_balls": 2.8164,
                "accurate_long_balls": 0.5578,
                "total_own_half_passes": 17.8966,
                "accurate_own_half_passes": 15.6556,
                "total_opp_half_passes": 21.7099,
                "accurate_opp_half_passes": 14.11,
                "crosses_total": 0.5087,
                "crosses_accurate": 0.0,
                "touches": 57.7105,
                "possession_lost": 12.942,
                "dispossessed": 0.1724,
                "duels_lost": 2.4826,
                "aerial_lost": 0.8046,
                "total_contest": 0.7689,
                "won_contest": 0.2386,
                "ball_recovery": 3.2929,
                "challenges_lost": 0.2305,
                "fouls": 0.8509,
                "fouls_drawn": 0.3851,
                "blocks": 0.5218,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0239,
                "expected_assists": 0.0361,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.4812,
                "total_progression": 48.5836,
                "progressive_carries": 0.8443,
                "key_pass": 0.2028,
                "shots_off_target": 0.3292,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.398,
                "opponent_faced": "Javier Guerra",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0184,
                  "after": 0.0239
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0278,
                  "after": 0.0361
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "interceptions": 0.8792,
                "tackles": 1.8173,
                "tackles_won": 1.1503,
                "clearances": 2.5017,
                "aerial_won": 0.954,
                "total_shots": 0.3293,
                "rating": 6.7163,
                "minutes": 84.99,
                "total_pass": 39.6065,
                "accurate_pass": 29.7656,
                "duels_won": 3.8601,
                "total_long_balls": 2.8164,
                "accurate_long_balls": 0.5578,
                "total_own_half_passes": 17.8966,
                "accurate_own_half_passes": 15.6556,
                "total_opp_half_passes": 21.7099,
                "accurate_opp_half_passes": 14.11,
                "crosses_total": 0.5087,
                "crosses_accurate": 0.0,
                "touches": 57.7105,
                "possession_lost": 12.942,
                "dispossessed": 0.1724,
                "duels_lost": 2.4826,
                "aerial_lost": 0.8046,
                "total_contest": 0.7689,
                "won_contest": 0.2386,
                "ball_recovery": 3.2929,
                "challenges_lost": 0.2305,
                "fouls": 0.8509,
                "fouls_drawn": 0.3851,
                "blocks": 0.5218,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0239,
                "expected_assists": 0.0361,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.4812,
                "total_progression": 48.5836,
                "progressive_carries": 0.8443,
                "key_pass": 0.2028,
                "shots_off_target": 0.3292,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.398,
                "opponent_faced": "Javier Guerra",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2732,
                "fifa_rank": 1604.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.8792,
                "tackles": 1.8173,
                "tackles_won": 1.1503,
                "clearances": 2.5017,
                "aerial_won": 0.954,
                "total_shots": 0.3293,
                "rating": 6.7163,
                "minutes": 84.99,
                "total_pass": 39.6065,
                "accurate_pass": 29.7656,
                "duels_won": 3.8601,
                "total_long_balls": 2.8164,
                "accurate_long_balls": 0.5578,
                "total_own_half_passes": 17.8966,
                "accurate_own_half_passes": 15.6556,
                "total_opp_half_passes": 21.7099,
                "accurate_opp_half_passes": 14.11,
                "crosses_total": 0.5087,
                "crosses_accurate": 0.0,
                "touches": 57.7105,
                "possession_lost": 12.942,
                "dispossessed": 0.1724,
                "duels_lost": 2.4826,
                "aerial_lost": 0.8046,
                "total_contest": 0.7689,
                "won_contest": 0.2386,
                "ball_recovery": 3.2929,
                "challenges_lost": 0.2305,
                "fouls": 0.8509,
                "fouls_drawn": 0.3851,
                "blocks": 0.5218,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0239,
                "expected_assists": 0.0361,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.4812,
                "total_progression": 48.5836,
                "progressive_carries": 0.8443,
                "key_pass": 0.2028,
                "shots_off_target": 0.3292,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.398,
                "opponent_faced": "Javier Guerra",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0236,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0236,
                "scorer_weight": 0.0191,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0124,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 0.8792,
                "tackles": 1.8173,
                "tackles_won": 1.1503,
                "clearances": 2.5017,
                "aerial_won": 0.954,
                "total_shots": 0.3293,
                "rating": 6.7163,
                "minutes": 84.99,
                "total_pass": 39.6065,
                "accurate_pass": 29.7656,
                "duels_won": 3.8601,
                "total_long_balls": 2.8164,
                "accurate_long_balls": 0.5578,
                "total_own_half_passes": 17.8966,
                "accurate_own_half_passes": 15.6556,
                "total_opp_half_passes": 21.7099,
                "accurate_opp_half_passes": 14.11,
                "crosses_total": 0.5087,
                "crosses_accurate": 0.0,
                "touches": 57.7105,
                "possession_lost": 12.942,
                "dispossessed": 0.1724,
                "duels_lost": 2.4826,
                "aerial_lost": 0.8046,
                "total_contest": 0.7689,
                "won_contest": 0.2386,
                "ball_recovery": 3.2929,
                "challenges_lost": 0.2305,
                "fouls": 0.8509,
                "fouls_drawn": 0.3851,
                "blocks": 0.5218,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0239,
                "expected_assists": 0.0361,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.4812,
                "total_progression": 48.5836,
                "progressive_carries": 0.8443,
                "key_pass": 0.2028,
                "shots_off_target": 0.3292,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.398,
                "opponent_faced": "Javier Guerra",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0236,
                "projected_assists": 0,
                "assist_probability": 0.0355,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0355,
                "provider_weight": 0.0289,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0279,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Julen Agirrezabala": {
          "player_id": 1014412,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 187,
          "market_value": 9800000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.2848,
            "rating": 6.7621,
            "minutes": 90,
            "total_pass": 22,
            "accurate_pass": 17,
            "total_long_balls": 9,
            "accurate_long_balls": 3,
            "touches": 36,
            "clearances": 2,
            "ball_recovery": 9,
            "high_claims": 1,
            "punches": 1.2465,
            "aerial_won": 0,
            "sweeper_actions": 2,
            "sweeper_accurate": 2,
            "saves_inside_box": 2,
            "possession_lost": 5.4628,
            "duels_won": 1,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 16,
            "accurate_own_half_passes": 15,
            "gk_engine_opponent_lambda": 1.1195,
            "shots_faced": 10.9,
            "expected_saves": 2.66,
            "high_pressure_saves": 0.92,
            "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": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 14,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 9,
                "saves": 4,
                "goals_prevented": -1.331
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 19,
                "clearances": 3,
                "ball_recovery": 9,
                "saves": 3,
                "goals_prevented": -2.5941
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 17,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 9,
                "saves": 7,
                "goals_prevented": 1.1052
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 16,
                "clearances": 1,
                "ball_recovery": 20,
                "saves": 6,
                "goals_prevented": -0.8677
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 14,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 5,
                "goals_prevented": -0.1012
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 14,
                "clearances": 4,
                "duels_won": 2,
                "ball_recovery": 10,
                "goals_prevented": -0.0081
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 16,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 5,
                "goals_prevented": -0.5844
              },
              "has_player_stats": true,
              "league_name": "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": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": -0.9823
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083193,
              "match_date": "2025-12-19",
              "home_team": "Valencia",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "clearances": 2,
                "ball_recovery": 5,
                "saves": 1,
                "goals_prevented": -0.7912
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083165,
              "match_date": "2025-12-13",
              "home_team": "Atlético Madrid",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0054,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 19,
                "ball_recovery": 9,
                "saves": 4,
                "goals_prevented": 0.2806
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 932,
            "combined_rank_score": 433.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 434.0,
            "sofascore_rating": 6.9111,
            "sofascore_appearances": 18.0,
            "fifa_rank": 433.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7621,
            "source_file": "data/player_rankings.csv",
            "player_name": "Julen Agirrezabala",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Karim Adeyemi",
                  "ranking": 927
                },
                {
                  "player_name": "Marlon Maranhão",
                  "ranking": 928
                },
                {
                  "player_name": "Islom Kenzhaboev",
                  "ranking": 929
                },
                {
                  "player_name": "Isco",
                  "ranking": 930
                },
                {
                  "player_name": "Karim Benzema",
                  "ranking": 931
                }
              ],
              "lower": [
                {
                  "player_name": "Koen Casteels",
                  "ranking": 933
                },
                {
                  "player_name": "Danilo Pereira",
                  "ranking": 934
                },
                {
                  "player_name": "David Soria",
                  "ranking": 935
                },
                {
                  "player_name": "Jasurbek Jaloliddinov",
                  "ranking": 936
                },
                {
                  "player_name": "Kalidou Koulibaly",
                  "ranking": 937
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 25,
          "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": 25,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0008,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "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 25 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, 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.0078,
                "goals_prevented": -0.2846,
                "rating": 6.7621,
                "minutes": 90.0,
                "total_pass": 22.2791,
                "accurate_pass": 16.8277,
                "total_long_balls": 8.6626,
                "accurate_long_balls": 3.2148,
                "touches": 36.2169,
                "clearances": 1.6367,
                "ball_recovery": 9.2213,
                "high_claims": 1.3211,
                "punches": 1.2455,
                "aerial_won": 0.4447,
                "sweeper_actions": 1.7304,
                "sweeper_accurate": 1.6049,
                "saves_inside_box": 2.4072,
                "possession_lost": 5.4584,
                "duels_won": 0.6581,
                "duels_lost": 0.1662,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1488,
                "total_own_half_passes": 16.0217,
                "accurate_own_half_passes": 14.9682
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-11T10:25:02.791090+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 199,
                    "rows": 6859
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1526,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1297,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1103,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0937,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0797,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0677,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0576,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0489,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2025-12-19",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0416,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-12-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0354,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.5914,
                  "accurateOwnHalfPasses": 14.9682,
                  "accurateLongBalls": 3.2148,
                  "aerialWon": 0.4447,
                  "accurateKeeperSweeper": 1.6613,
                  "sweeper_accuracy": 0.6494
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.0078132152557373,
                    "model_output": 3.0078,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0396
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0378
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      },
                      {
                        "name": "goalsPrevented",
                        "importance": 0.0361
                      }
                    ],
                    "decomposition": {
                      "base": 2.9355,
                      "items": [
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.1088
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": 0.0411
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0376
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0315
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0225
                        }
                      ],
                      "others": 0.0484,
                      "total": 3.0078,
                      "log_link": true,
                      "margin_base": 1.07688,
                      "item_margins": [
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.037751
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": 0.014449
                        },
                        {
                          "name": "saves",
                          "margin": 0.013023
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.010788
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.007624
                        }
                      ],
                      "others_margin": 0.0162
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.284614622592926,
                    "model_output": -0.2846,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0412
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0404
                      },
                      {
                        "name": "punches",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0375
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0375
                      }
                    ],
                    "decomposition": {
                      "base": -0.0216,
                      "items": [
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0468
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0384
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0333
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0333
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0277
                        }
                      ],
                      "others": -0.0835,
                      "total": -0.2846,
                      "log_link": false,
                      "margin_base": -0.021558,
                      "item_margins": [
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.046797
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.038401
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.033336
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.033273
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": -0.027747
                        }
                      ],
                      "others_margin": -0.083502
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.762055397033691,
                    "model_output": 6.7621,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0396
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0389
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.038
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0369
                      },
                      {
                        "name": "touches",
                        "importance": 0.0361
                      }
                    ],
                    "decomposition": {
                      "base": 7.0028,
                      "items": [
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0468
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0353
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "contribution": -0.0275
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0219
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.0216
                        }
                      ],
                      "others": -0.0876,
                      "total": 6.7621,
                      "log_link": false,
                      "margin_base": 7.00281,
                      "item_margins": [
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.046791
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.035332
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "margin": -0.027506
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.021901
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.021638
                        }
                      ],
                      "others_margin": -0.087586
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 25,
                  "role_matches": 25,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0008, quality 0.520)",
              "stats": {
                "saves": 3.0102,
                "goals_prevented": -0.2848,
                "rating": 6.7621,
                "minutes": 90.0,
                "total_pass": 22.2969,
                "accurate_pass": 16.8412,
                "total_long_balls": 8.6695,
                "accurate_long_balls": 3.2174,
                "touches": 36.2459,
                "clearances": 1.638,
                "ball_recovery": 9.2287,
                "high_claims": 1.3222,
                "punches": 1.2465,
                "aerial_won": 0.4451,
                "sweeper_actions": 1.7318,
                "sweeper_accurate": 1.6062,
                "saves_inside_box": 2.4091,
                "possession_lost": 5.4628,
                "duels_won": 0.6586,
                "duels_lost": 0.1663,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1489,
                "total_own_half_passes": 16.0345,
                "accurate_own_half_passes": 14.9802
              },
              "params": {
                "market_value_eur": 9800000,
                "quality_factor": 0.5201,
                "boost_factor": 1.0008,
                "reference_quality": 0.505,
                "history_matches": 25,
                "history_shrink": 0.1667,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0217)",
              "stats": {
                "saves": 3.0172,
                "goals_prevented": -0.2848,
                "rating": 6.7621,
                "minutes": 90.0,
                "total_pass": 22.2969,
                "accurate_pass": 16.8412,
                "total_long_balls": 8.6695,
                "accurate_long_balls": 3.2174,
                "touches": 36.2459,
                "clearances": 1.638,
                "ball_recovery": 9.2287,
                "high_claims": 1.3222,
                "punches": 1.2465,
                "aerial_won": 0.4451,
                "sweeper_actions": 1.7318,
                "sweeper_accurate": 1.6062,
                "saves_inside_box": 2.4091,
                "possession_lost": 5.4628,
                "duels_won": 0.6586,
                "duels_lost": 0.1663,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1601,
                "total_own_half_passes": 16.0345,
                "accurate_own_half_passes": 14.9802
              },
              "params": {
                "blend_weight": 0.0217,
                "history_matches": 25,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.1489,
                  "after": 0.1601
                },
                {
                  "stat": "saves",
                  "before": 3.0102,
                  "after": 3.0172
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3.0172,
                "goals_prevented": -0.2848,
                "rating": 6.7621,
                "minutes": 90.0,
                "total_pass": 22.2969,
                "accurate_pass": 16.8412,
                "total_long_balls": 8.6695,
                "accurate_long_balls": 3.2174,
                "touches": 36.2459,
                "clearances": 1.638,
                "ball_recovery": 9.2287,
                "high_claims": 1.3222,
                "punches": 1.2465,
                "aerial_won": 0.4451,
                "sweeper_actions": 1.7318,
                "sweeper_accurate": 1.6062,
                "saves_inside_box": 2.4091,
                "possession_lost": 5.4628,
                "duels_won": 0.6586,
                "duels_lost": 0.1663,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1601,
                "total_own_half_passes": 16.0345,
                "accurate_own_half_passes": 14.9802
              },
              "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.0172,
                "goals_prevented": -0.2848,
                "rating": 6.7621,
                "minutes": 90.0,
                "total_pass": 22.2969,
                "accurate_pass": 16.8412,
                "total_long_balls": 8.6695,
                "accurate_long_balls": 3.2174,
                "touches": 36.2459,
                "clearances": 1.638,
                "ball_recovery": 9.2287,
                "high_claims": 1.3222,
                "punches": 1.2465,
                "aerial_won": 0.4451,
                "sweeper_actions": 1.7318,
                "sweeper_accurate": 1.6062,
                "saves_inside_box": 2.4091,
                "possession_lost": 5.4628,
                "duels_won": 0.6586,
                "duels_lost": 0.1663,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1601,
                "total_own_half_passes": 16.0345,
                "accurate_own_half_passes": 14.9802,
                "gk_engine_opponent_lambda": 1.1195,
                "shots_faced": 10.6,
                "expected_saves": 2.59,
                "high_pressure_saves": 0.9,
                "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.1195
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "saves": 3.0172,
                "goals_prevented": -0.2848,
                "rating": 6.7621,
                "minutes": 90.0,
                "total_pass": 22.2969,
                "accurate_pass": 16.8412,
                "total_long_balls": 8.6695,
                "accurate_long_balls": 3.2174,
                "touches": 36.2459,
                "clearances": 1.638,
                "ball_recovery": 9.2287,
                "high_claims": 1.3222,
                "punches": 1.2465,
                "aerial_won": 0.4451,
                "sweeper_actions": 1.7318,
                "sweeper_accurate": 1.6062,
                "saves_inside_box": 2.4091,
                "possession_lost": 5.4628,
                "duels_won": 0.6586,
                "duels_lost": 0.1663,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1601,
                "total_own_half_passes": 16.0345,
                "accurate_own_half_passes": 14.9802,
                "gk_engine_opponent_lambda": 1.1195,
                "shots_faced": 10.9,
                "expected_saves": 2.66,
                "high_pressure_saves": 0.92,
                "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.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 10.6,
                  "after": 10.9
                },
                {
                  "stat": "expected_saves",
                  "before": 2.59,
                  "after": 2.66
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.9,
                  "after": 0.92
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "saves": 3.0172,
                "goals_prevented": -0.2848,
                "rating": 6.7621,
                "minutes": 90.0,
                "total_pass": 22.2969,
                "accurate_pass": 16.8412,
                "total_long_balls": 8.6695,
                "accurate_long_balls": 3.2174,
                "touches": 36.2459,
                "clearances": 1.638,
                "ball_recovery": 9.2287,
                "high_claims": 1.3222,
                "punches": 1.2465,
                "aerial_won": 0.4451,
                "sweeper_actions": 1.7318,
                "sweeper_accurate": 1.6062,
                "saves_inside_box": 2.4091,
                "possession_lost": 5.4628,
                "duels_won": 0.6586,
                "duels_lost": 0.1663,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1601,
                "total_own_half_passes": 16.0345,
                "accurate_own_half_passes": 14.9802,
                "gk_engine_opponent_lambda": 1.1195,
                "shots_faced": 10.9,
                "expected_saves": 2.66,
                "high_pressure_saves": 0.92,
                "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": 82.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 932,
                "fifa_rank": 433.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 3.0172,
                "goals_prevented": -0.2848,
                "rating": 6.7621,
                "minutes": 90.0,
                "total_pass": 22.2969,
                "accurate_pass": 16.8412,
                "total_long_balls": 8.6695,
                "accurate_long_balls": 3.2174,
                "touches": 36.2459,
                "clearances": 1.638,
                "ball_recovery": 9.2287,
                "high_claims": 1.3222,
                "punches": 1.2465,
                "aerial_won": 0.4451,
                "sweeper_actions": 1.7318,
                "sweeper_accurate": 1.6062,
                "saves_inside_box": 2.4091,
                "possession_lost": 5.4628,
                "duels_won": 0.6586,
                "duels_lost": 0.1663,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1601,
                "total_own_half_passes": 16.0345,
                "accurate_own_half_passes": 14.9802,
                "gk_engine_opponent_lambda": 1.1195,
                "shots_faced": 10.9,
                "expected_saves": 2.66,
                "high_pressure_saves": 0.92,
                "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": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "saves": 3.0172,
                "goals_prevented": -0.2848,
                "rating": 6.7621,
                "minutes": 90.0,
                "total_pass": 22.2969,
                "accurate_pass": 16.8412,
                "total_long_balls": 8.6695,
                "accurate_long_balls": 3.2174,
                "touches": 36.2459,
                "clearances": 1.638,
                "ball_recovery": 9.2287,
                "high_claims": 1.3222,
                "punches": 1.2465,
                "aerial_won": 0.4451,
                "sweeper_actions": 1.7318,
                "sweeper_accurate": 1.6062,
                "saves_inside_box": 2.4091,
                "possession_lost": 5.4628,
                "duels_won": 0.6586,
                "duels_lost": 0.1663,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1601,
                "total_own_half_passes": 16.0345,
                "accurate_own_half_passes": 14.9802,
                "gk_engine_opponent_lambda": 1.1195,
                "shots_faced": 10.9,
                "expected_saves": 2.66,
                "high_pressure_saves": 0.92,
                "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": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Simon Eriksson": {
          "player_id": 1472960,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 194,
          "market_value": 2100000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0146,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1171,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "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": 5395,
            "combined_rank_score": 3586.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 6957.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Simon Eriksson",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kerem Demirbay",
                  "ranking": 5390
                },
                {
                  "player_name": "Mbaye Diagne",
                  "ranking": 5391
                },
                {
                  "player_name": "Cengiz Ünder",
                  "ranking": 5392
                },
                {
                  "player_name": "Christopher Opéri",
                  "ranking": 5393
                },
                {
                  "player_name": "Levent Mercan",
                  "ranking": 5394
                }
              ],
              "lower": [
                {
                  "player_name": "Jiří Letáček",
                  "ranking": 5396
                },
                {
                  "player_name": "Emin Bayram",
                  "ranking": 5397
                },
                {
                  "player_name": "Anthony Musaba",
                  "ranking": 5398
                },
                {
                  "player_name": "Archie Brown",
                  "ranking": 5399
                },
                {
                  "player_name": "Gift Orban",
                  "ranking": 5400
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€2,100,000) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 2.9,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90.0,
                "total_pass": 27.0,
                "accurate_pass": 20.0,
                "total_long_balls": 8.0,
                "accurate_long_balls": 4.0,
                "touches": 32.0,
                "clearances": 0.9,
                "ball_recovery": 1.2,
                "high_claims": 0.5,
                "punches": 0.3,
                "aerial_won": 0.6,
                "sweeper_actions": 1.2,
                "sweeper_accurate": 0.7,
                "saves_inside_box": 1.2,
                "possession_lost": 2.4,
                "duels_won": 0.4,
                "duels_lost": 0.2,
                "total_contest": 0.4,
                "won_contest": 0.2,
                "fouls": 0.2,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 21.0,
                "accurate_own_half_passes": 16.0
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 90.0 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 90.0,
                "minutes_scale": 0.0488,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.109,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 69.0; not used by the projection)",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5395,
                "fifa_rank": 6957.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Facundo González": {
          "player_id": 1085103,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 193,
          "market_value": 3100000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 2,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6691,
            "minutes": 14,
            "total_pass": 19,
            "accurate_pass": 15,
            "duels_won": 2,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 28,
            "possession_lost": 4.0342,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0008,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 5,
            "total_progression": 17,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.58,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "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": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 86,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 8,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 55,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 15,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 4,
                "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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 31,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 13,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 2,
                "tackles": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 5579,
            "combined_rank_score": 3836.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6974.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6691,
            "source_file": "data/player_rankings.csv",
            "player_name": "Facundo González",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ivan Schranz",
                  "ranking": 5574
                },
                {
                  "player_name": "Marcel Tisserand",
                  "ranking": 5575
                },
                {
                  "player_name": "Alex Grant",
                  "ranking": 5576
                },
                {
                  "player_name": "Carlos Rivero",
                  "ranking": 5577
                },
                {
                  "player_name": "Gonzalo Perez",
                  "ranking": 5578
                }
              ],
              "lower": [
                {
                  "player_name": "Cristián Cuevas",
                  "ranking": 5580
                },
                {
                  "player_name": "Paweł Wszołek",
                  "ranking": 5581
                },
                {
                  "player_name": "Giorgi Kvernadze",
                  "ranking": 5582
                },
                {
                  "player_name": "Mateusz Wieteska",
                  "ranking": 5583
                },
                {
                  "player_name": "Ondrej Lingr",
                  "ranking": 5584
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.577143516617772,
            "bench_appearance_prob": 0.29896106893717145,
            "market_value_adjustment": 0.9901,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (5 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.4681,
                "tackles": 0.5386,
                "tackles_won": 0.3226,
                "clearances": 1.9588,
                "aerial_won": 0.5189,
                "total_shots": 0.1473,
                "rating": 6.6691,
                "minutes": 14.42,
                "total_pass": 20.0255,
                "accurate_pass": 15.8636,
                "duels_won": 2.5168,
                "total_long_balls": 2.8174,
                "accurate_long_balls": 0.4645,
                "total_own_half_passes": 14.524,
                "accurate_own_half_passes": 14.1636,
                "total_opp_half_passes": 5.5015,
                "accurate_opp_half_passes": 1.7001,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 29.8406,
                "possession_lost": 4.3274,
                "dispossessed": 0.0,
                "duels_lost": 2.768,
                "aerial_lost": 1.1148,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.95,
                "challenges_lost": 0.1408,
                "fouls": 1.5125,
                "fouls_drawn": 0.6188,
                "blocks": 0.9289,
                "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": 5.5004,
                "total_progression": 18.5478,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1473
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1656,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 4.3836,
                  "aerialWon": 0.7596,
                  "totalClearance_p90": 5.901,
                  "totalTackle": 1.1384,
                  "totalPass": 20.0255
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.46814393997192383,
                    "model_output": 0.4681,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4651
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0499
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0139
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0133
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0113
                        }
                      ],
                      "others": 0.0084,
                      "total": 0.4681,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.7796
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.11917
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.030734
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.028637
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.024257
                        }
                      ],
                      "others_margin": 0.018368
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5386053919792175,
                    "model_output": 0.5386,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7741
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.027
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0192
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0168
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0116
                        }
                      ],
                      "others": -0.042,
                      "total": 0.5386,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.808808
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.044341
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.032832
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.028697
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.019826
                        }
                      ],
                      "others_margin": -0.07508
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.32264789938926697,
                    "model_output": 0.3226,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4575
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0196
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0137
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0117
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0108
                        }
                      ],
                      "others": -0.0435,
                      "total": 0.3226,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.762125
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.050186
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.036755
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.032491
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.029816
                        }
                      ],
                      "others_margin": -0.126031
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.9587925672531128,
                    "model_output": 1.9588,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1601
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2731
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0827
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0756
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0633
                        }
                      ],
                      "others": 0.183,
                      "total": 1.9588,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.988134
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.193275
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.051868
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.045134
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.036277
                        }
                      ],
                      "others_margin": 0.098099
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5189167261123657,
                    "model_output": 0.5189,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8416
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1175
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.03
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0245
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0243
                        }
                      ],
                      "others": 0.0208,
                      "total": 0.5189,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.943006
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.24712
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.069046
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.053073
                        },
                        {
                          "name": "rating",
                          "margin": 0.050024
                        }
                      ],
                      "others_margin": 0.041043
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.1472744643688202,
                    "model_output": 0.1473,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1709
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.072
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0244
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0119
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0114
                        }
                      ],
                      "others": -0.0344,
                      "total": 0.1473,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.170885
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.071991
                        },
                        {
                          "name": "rating",
                          "margin": -0.024385
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011906
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.011366
                        }
                      ],
                      "others_margin": -0.034511
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.669084548950195,
                    "model_output": 6.6691,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0274
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0211
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0143
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0123
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0122
                        }
                      ],
                      "others": -0.054,
                      "total": 6.6691,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.027372
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.021145
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014294
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.012316
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.012198
                        }
                      ],
                      "others_margin": -0.053952
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 5,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9901, quality 0.439)",
              "stats": {
                "interceptions": 0.4635,
                "tackles": 0.5333,
                "tackles_won": 0.3195,
                "clearances": 1.9394,
                "aerial_won": 0.5138,
                "total_shots": 0.1458,
                "rating": 6.6691,
                "minutes": 14.42,
                "total_pass": 19.8272,
                "accurate_pass": 15.7066,
                "duels_won": 2.4919,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 0.4599,
                "total_own_half_passes": 14.3802,
                "accurate_own_half_passes": 14.0234,
                "total_opp_half_passes": 5.447,
                "accurate_opp_half_passes": 1.6833,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 29.5452,
                "possession_lost": 4.2846,
                "dispossessed": 0.0,
                "duels_lost": 2.7406,
                "aerial_lost": 1.1038,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9406,
                "challenges_lost": 0.1394,
                "fouls": 1.4975,
                "fouls_drawn": 0.6127,
                "blocks": 0.9197,
                "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": 5.4459,
                "total_progression": 18.3642,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1458
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387,
                "boost_factor": 0.9901,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 14.4 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.4364,
                "tackles": 0.5021,
                "tackles_won": 0.3008,
                "clearances": 1.826,
                "aerial_won": 0.4838,
                "total_shots": 0.1373,
                "rating": 6.6691,
                "minutes": 13.58,
                "total_pass": 18.6683,
                "accurate_pass": 14.7885,
                "duels_won": 2.3462,
                "total_long_balls": 2.6265,
                "accurate_long_balls": 0.433,
                "total_own_half_passes": 13.5397,
                "accurate_own_half_passes": 13.2037,
                "total_opp_half_passes": 5.1286,
                "accurate_opp_half_passes": 1.5849,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.8183,
                "possession_lost": 4.0342,
                "dispossessed": 0.0,
                "duels_lost": 2.5804,
                "aerial_lost": 1.1038,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.8856,
                "challenges_lost": 0.1394,
                "fouls": 1.41,
                "fouls_drawn": 0.5769,
                "blocks": 0.8659,
                "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": 5.1276,
                "total_progression": 17.2908,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1373,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.58
              },
              "params": {
                "expected_minutes": 13.58,
                "projection_minutes": 14.42,
                "minutes_scale": 0.9415,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.4364,
                "tackles": 0.5021,
                "tackles_won": 0.3008,
                "clearances": 1.826,
                "aerial_won": 0.4838,
                "total_shots": 0.1373,
                "rating": 6.6691,
                "minutes": 13.58,
                "total_pass": 18.6683,
                "accurate_pass": 14.7885,
                "duels_won": 2.3462,
                "total_long_balls": 2.6265,
                "accurate_long_balls": 0.433,
                "total_own_half_passes": 13.5397,
                "accurate_own_half_passes": 13.2037,
                "total_opp_half_passes": 5.1286,
                "accurate_opp_half_passes": 1.5849,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.8183,
                "possession_lost": 4.0342,
                "dispossessed": 0.0,
                "duels_lost": 2.5804,
                "aerial_lost": 1.1038,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.8856,
                "challenges_lost": 0.1394,
                "fouls": 1.41,
                "fouls_drawn": 0.5769,
                "blocks": 0.8659,
                "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": 5.1276,
                "total_progression": 17.2908,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1373,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.58
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.4364,
                "tackles": 0.5021,
                "tackles_won": 0.3008,
                "clearances": 1.826,
                "aerial_won": 0.4838,
                "total_shots": 0.1373,
                "rating": 6.6691,
                "minutes": 13.58,
                "total_pass": 18.6683,
                "accurate_pass": 14.7885,
                "duels_won": 2.3462,
                "total_long_balls": 2.6265,
                "accurate_long_balls": 0.433,
                "total_own_half_passes": 13.5397,
                "accurate_own_half_passes": 13.2037,
                "total_opp_half_passes": 5.1286,
                "accurate_opp_half_passes": 1.5849,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.8183,
                "possession_lost": 4.0342,
                "dispossessed": 0.0,
                "duels_lost": 2.5804,
                "aerial_lost": 1.1038,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.8856,
                "challenges_lost": 0.1394,
                "fouls": 1.41,
                "fouls_drawn": 0.5769,
                "blocks": 0.8659,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1276,
                "total_progression": 17.2908,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1373,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.58,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.299,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 69.0; not used by the projection)",
              "stats": {
                "interceptions": 0.4364,
                "tackles": 0.5021,
                "tackles_won": 0.3008,
                "clearances": 1.826,
                "aerial_won": 0.4838,
                "total_shots": 0.1373,
                "rating": 6.6691,
                "minutes": 13.58,
                "total_pass": 18.6683,
                "accurate_pass": 14.7885,
                "duels_won": 2.3462,
                "total_long_balls": 2.6265,
                "accurate_long_balls": 0.433,
                "total_own_half_passes": 13.5397,
                "accurate_own_half_passes": 13.2037,
                "total_opp_half_passes": 5.1286,
                "accurate_opp_half_passes": 1.5849,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.8183,
                "possession_lost": 4.0342,
                "dispossessed": 0.0,
                "duels_lost": 2.5804,
                "aerial_lost": 1.1038,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.8856,
                "challenges_lost": 0.1394,
                "fouls": 1.41,
                "fouls_drawn": 0.5769,
                "blocks": 0.8659,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1276,
                "total_progression": 17.2908,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1373,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.58,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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": 69.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": 5579,
                "fifa_rank": 6974.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Pedro Felipe": {
          "player_id": 1485292,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 190,
          "market_value": 1500000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.4958,
            "minutes": 14,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 1.8779,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0001,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 5,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 59,
                "rating": 5.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "tackles": 2,
                "tackles_won": 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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 16,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1780,
            "combined_rank_score": 964.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1231.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.4958,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pedro Felipe",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Emil Tsenov",
                  "ranking": 1775
                },
                {
                  "player_name": "Maksim Myakish",
                  "ranking": 1776
                },
                {
                  "player_name": "Jun'ai Byfield",
                  "ranking": 1777
                },
                {
                  "player_name": "Nemanja Gudelj",
                  "ranking": 1778
                },
                {
                  "player_name": "Jon Guridi",
                  "ranking": 1779
                }
              ],
              "lower": [
                {
                  "player_name": "Nico Guillén",
                  "ranking": 1781
                },
                {
                  "player_name": "Gabriel Pires",
                  "ranking": 1782
                },
                {
                  "player_name": "Yuri",
                  "ranking": 1783
                },
                {
                  "player_name": "William Furtado",
                  "ranking": 1784
                },
                {
                  "player_name": "Carlos Del Valle",
                  "ranking": 1785
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9873,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (3 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3242,
                "tackles": 0.6835,
                "tackles_won": 0.377,
                "clearances": 0.753,
                "aerial_won": 0.4549,
                "total_shots": 0.1326,
                "rating": 6.4958,
                "minutes": 12.33,
                "total_pass": 5.8377,
                "accurate_pass": 4.7794,
                "duels_won": 0.7775,
                "total_long_balls": 0.3304,
                "accurate_long_balls": 0.3304,
                "total_own_half_passes": 4.7298,
                "accurate_own_half_passes": 4.4489,
                "total_opp_half_passes": 1.1079,
                "accurate_opp_half_passes": 0.3304,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.6754,
                "possession_lost": 1.7279,
                "dispossessed": 0.0,
                "duels_lost": 1.9436,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7191,
                "challenges_lost": 0.7775,
                "fouls": 1.1662,
                "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.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.447,
                "total_progression": 4.6827,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1326
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 5.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 16.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.8358,
                  "aerialWon": 0.0,
                  "totalClearance_p90": 3.9517,
                  "totalTackle": 0.7775,
                  "totalPass": 5.8377
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.32420605421066284,
                    "model_output": 0.3242,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4663
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0396
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0151
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0146
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.019,
                      "total": 0.3242,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.782879
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.106219
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.041822
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.040455
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.029951
                        }
                      ],
                      "others_margin": -0.056662
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.683474063873291,
                    "model_output": 0.6835,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7528
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0313
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0228
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0216
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0205
                        }
                      ],
                      "others": 0.031,
                      "total": 0.6835,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.775188
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.047607
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.034464
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.032631
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.030899
                        }
                      ],
                      "others_margin": 0.04633
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3770492970943451,
                    "model_output": 0.377,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4601
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0263
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0142
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0117
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": -0.0103
                        }
                      ],
                      "others": -0.0108,
                      "total": 0.377,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.768709
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.063969
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.034014
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.02888
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": -0.026313
                        }
                      ],
                      "others_margin": -0.028009
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.7530003786087036,
                    "model_output": 0.753,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.3151
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2129
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1493
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0531
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0401
                        }
                      ],
                      "others": 0.0021,
                      "total": 0.753,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -1.117075
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.209575
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.178534
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.072041
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.054925
                        }
                      ],
                      "others_margin": 0.002801
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.454868346452713,
                    "model_output": 0.4549,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8183
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1575
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0412
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0316
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0282
                        }
                      ],
                      "others": 0.0145,
                      "total": 0.4549,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.900472
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.330102
                        },
                        {
                          "name": "rating",
                          "margin": 0.097418
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.073806
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.066203
                        }
                      ],
                      "others_margin": 0.032085
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.13258780539035797,
                    "model_output": 0.1326,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1854
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0684
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0238
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0137
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0128
                        }
                      ],
                      "others": -0.0356,
                      "total": 0.1326,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.185441
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.068354
                        },
                        {
                          "name": "rating",
                          "margin": -0.023756
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.013738
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.012832
                        }
                      ],
                      "others_margin": -0.035611
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.495759963989258,
                    "model_output": 6.4958,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0793
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0344
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0319
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0303
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0207
                        }
                      ],
                      "others": -0.0936,
                      "total": 6.4958,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.079278
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.034415
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.031938
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.030293
                        },
                        {
                          "name": "touches",
                          "margin": -0.020675
                        }
                      ],
                      "others_margin": -0.093609
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "role_matches": 1,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9873, quality 0.437)",
              "stats": {
                "interceptions": 0.3201,
                "tackles": 0.6748,
                "tackles_won": 0.3723,
                "clearances": 0.7434,
                "aerial_won": 0.4491,
                "total_shots": 0.1309,
                "rating": 6.4958,
                "minutes": 12.33,
                "total_pass": 5.7636,
                "accurate_pass": 4.7187,
                "duels_won": 0.7676,
                "total_long_balls": 0.3262,
                "accurate_long_balls": 0.3262,
                "total_own_half_passes": 4.6697,
                "accurate_own_half_passes": 4.3924,
                "total_opp_half_passes": 1.0938,
                "accurate_opp_half_passes": 0.3262,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.5398,
                "possession_lost": 1.706,
                "dispossessed": 0.0,
                "duels_lost": 1.9189,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.71,
                "challenges_lost": 0.7676,
                "fouls": 1.1514,
                "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.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.4159,
                "total_progression": 4.6232,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1309
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9873,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 12.3 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.3523,
                "tackles": 0.7428,
                "tackles_won": 0.4098,
                "clearances": 0.8183,
                "aerial_won": 0.4943,
                "total_shots": 0.1441,
                "rating": 6.4958,
                "minutes": 13.57,
                "total_pass": 6.3443,
                "accurate_pass": 5.1941,
                "duels_won": 0.8449,
                "total_long_balls": 0.3591,
                "accurate_long_balls": 0.3591,
                "total_own_half_passes": 5.1402,
                "accurate_own_half_passes": 4.8349,
                "total_opp_half_passes": 1.204,
                "accurate_opp_half_passes": 0.3591,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.6017,
                "possession_lost": 1.8779,
                "dispossessed": 0.0,
                "duels_lost": 2.1122,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7815,
                "challenges_lost": 0.7676,
                "fouls": 1.2674,
                "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.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6593,
                "total_progression": 5.089,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1441,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "projection_minutes": 12.33,
                "minutes_scale": 1.1007,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3523,
                "tackles": 0.7428,
                "tackles_won": 0.4098,
                "clearances": 0.8183,
                "aerial_won": 0.4943,
                "total_shots": 0.1441,
                "rating": 6.4958,
                "minutes": 13.57,
                "total_pass": 6.3443,
                "accurate_pass": 5.1941,
                "duels_won": 0.8449,
                "total_long_balls": 0.3591,
                "accurate_long_balls": 0.3591,
                "total_own_half_passes": 5.1402,
                "accurate_own_half_passes": 4.8349,
                "total_opp_half_passes": 1.204,
                "accurate_opp_half_passes": 0.3591,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.6017,
                "possession_lost": 1.8779,
                "dispossessed": 0.0,
                "duels_lost": 2.1122,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7815,
                "challenges_lost": 0.7676,
                "fouls": 1.2674,
                "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.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6593,
                "total_progression": 5.089,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1441,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.3523,
                "tackles": 0.7428,
                "tackles_won": 0.4098,
                "clearances": 0.8183,
                "aerial_won": 0.4943,
                "total_shots": 0.1441,
                "rating": 6.4958,
                "minutes": 13.57,
                "total_pass": 6.3443,
                "accurate_pass": 5.1941,
                "duels_won": 0.8449,
                "total_long_balls": 0.3591,
                "accurate_long_balls": 0.3591,
                "total_own_half_passes": 5.1402,
                "accurate_own_half_passes": 4.8349,
                "total_opp_half_passes": 1.204,
                "accurate_opp_half_passes": 0.3591,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.6017,
                "possession_lost": 1.8779,
                "dispossessed": 0.0,
                "duels_lost": 2.1122,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7815,
                "challenges_lost": 0.7676,
                "fouls": 1.2674,
                "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.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6593,
                "total_progression": 5.089,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1441,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.299,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "interceptions": 0.3523,
                "tackles": 0.7428,
                "tackles_won": 0.4098,
                "clearances": 0.8183,
                "aerial_won": 0.4943,
                "total_shots": 0.1441,
                "rating": 6.4958,
                "minutes": 13.57,
                "total_pass": 6.3443,
                "accurate_pass": 5.1941,
                "duels_won": 0.8449,
                "total_long_balls": 0.3591,
                "accurate_long_balls": 0.3591,
                "total_own_half_passes": 5.1402,
                "accurate_own_half_passes": 4.8349,
                "total_opp_half_passes": 1.204,
                "accurate_opp_half_passes": 0.3591,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.6017,
                "possession_lost": 1.8779,
                "dispossessed": 0.0,
                "duels_lost": 2.1122,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7815,
                "challenges_lost": 0.7676,
                "fouls": 1.2674,
                "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.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6593,
                "total_progression": 5.089,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1441,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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": 1780,
                "fifa_rank": 1231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Gustavo Puerta": {
          "player_id": 1174889,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 171,
          "market_value": 19200000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.035,
            "assist_rate": 0.049,
            "assists": 0,
            "expected_goals": 0.029,
            "goal_rate": 0.0645,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 7.0459,
            "minutes": 23,
            "total_pass": 72,
            "accurate_pass": 66,
            "duels_won": 8,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 34,
            "accurate_own_half_passes": 31,
            "total_opp_half_passes": 38,
            "accurate_opp_half_passes": 35,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 99,
            "possession_lost": 14.4497,
            "dispossessed": 1.4194,
            "duels_lost": 11,
            "aerial_won": 0,
            "aerial_lost": 2,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 3,
            "clearances": 1,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 4,
            "fouls_drawn": 4,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 26,
            "total_progression": 55,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.322,
            "bench_expected_minutes": 22.71,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "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": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2809,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 53,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 9,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 88,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0288,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 49,
                "tackles": 3,
                "duels_won": 8,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0527,
                "expected_assists": 0.0891,
                "total_shots": 2,
                "total_pass": 63,
                "accurate_pass": 61,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3575,
            "combined_rank_score": 1536.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2915.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0459,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gustavo Puerta",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Philip Zinckernagel",
                  "ranking": 3570
                },
                {
                  "player_name": "Cristian Roldan",
                  "ranking": 3571
                },
                {
                  "player_name": "Joaquín Pereyra",
                  "ranking": 3572
                },
                {
                  "player_name": "Moise Bombito",
                  "ranking": 3573
                },
                {
                  "player_name": "Germán Berterame",
                  "ranking": 3574
                }
              ],
              "lower": [
                {
                  "player_name": "Martín Ojeda",
                  "ranking": 3576
                },
                {
                  "player_name": "Maximiliano Gómez",
                  "ranking": 3577
                },
                {
                  "player_name": "David Douděra",
                  "ranking": 3578
                },
                {
                  "player_name": "Daniel Peretz",
                  "ranking": 3579
                },
                {
                  "player_name": "Callum McGregor",
                  "ranking": 3580
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.467,
          "history_matches": 3,
          "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": 3,
            "data_confidence": 0.467,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.707562348292583,
            "bench_appearance_prob": 0.322,
            "market_value_adjustment": 1.0221,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "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 M_service (3 historical appearances) to 22.7 expected mins (appearance prob 0.32); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5333,
                "expected_assists": 0.0287,
                "assists": 0.0437,
                "assist_rate": 0.0437,
                "expected_goals": 0.0238,
                "goals": 0.0576,
                "goal_rate": 0.0576,
                "shots_on_target": 0.1109,
                "total_shots": 0.3126,
                "rating": 7.0459,
                "minutes": 19.0,
                "total_pass": 58.6463,
                "accurate_pass": 53.9252,
                "duels_won": 6.4227,
                "total_long_balls": 1.3392,
                "accurate_long_balls": 1.3392,
                "total_own_half_passes": 27.8212,
                "accurate_own_half_passes": 25.5967,
                "total_opp_half_passes": 30.8251,
                "accurate_opp_half_passes": 28.3285,
                "crosses_total": 0.3304,
                "crosses_accurate": 0.0,
                "touches": 80.8639,
                "possession_lost": 11.829,
                "dispossessed": 1.3887,
                "duels_lost": 8.6433,
                "aerial_won": 0.0,
                "aerial_lost": 1.9417,
                "interceptions": 0.5617,
                "tackles_won": 1.0583,
                "tackles": 2.4383,
                "clearances": 0.6696,
                "total_contest": 1.7687,
                "won_contest": 0.7191,
                "challenges_lost": 1.2721,
                "fouls": 3.38,
                "fouls_drawn": 3.2653,
                "blocks": 0.3887,
                "big_chances_created": 0.2809,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 21.2886,
                "total_progression": 44.6451,
                "progressive_carries": 0.5617,
                "shots_off_target": 0.2017
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.5617,
                  "creative_index": 0.5787,
                  "expectedGoals": 0.0148,
                  "expectedAssists": 0.1437,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5333101749420166,
                    "model_output": 0.5333,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3907
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0538
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.052
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0494
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0209
                        }
                      ],
                      "others": -0.039,
                      "total": 0.5333,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.581942
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.103159
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.090619
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.085785
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.037259
                        }
                      ],
                      "others_margin": -0.070529
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.028660500422120094,
                    "model_output": 0.0287,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.044
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0047
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0035
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0023,
                      "total": 0.0287,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.722644
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.18824
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.148317
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.110872
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.068599
                        }
                      ],
                      "others_margin": -0.076377
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.04367482662200928,
                    "model_output": 0.0437,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0204
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0091
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.007
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0043
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0035
                        }
                      ],
                      "others": -0.0048,
                      "total": 0.0437,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.272264
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.149585
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.133914
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.091268
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.074862
                        }
                      ],
                      "others_margin": -0.102497
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.023769715800881386,
                    "model_output": 0.0238,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0394
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0159
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0051
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0038
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0039,
                      "total": 0.0238,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.545546
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.34589
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.141663
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.119422
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.058456
                        }
                      ],
                      "others_margin": -0.159925
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.057575445622205734,
                    "model_output": 0.0576,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0214
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.012
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0093
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0078
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0055
                        }
                      ],
                      "others": 0.0014,
                      "total": 0.0576,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.250172
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.173648
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.158653
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.134773
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.093955
                        }
                      ],
                      "others_margin": 0.024103
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.11085489392280579,
                    "model_output": 0.1109,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.138
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0325
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0236
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0125
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0108
                        }
                      ],
                      "others": -0.0173,
                      "total": 0.1109,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.554785
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.192172
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.167064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.101343
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.087815
                        }
                      ],
                      "others_margin": -0.145112
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.31251034140586853,
                    "model_output": 0.3125,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3193
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1606
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0626
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0352
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0351
                        }
                      ],
                      "others": -0.2603,
                      "total": 0.3125,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.319323
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.16056
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.062596
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.035195
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.035102
                        }
                      ],
                      "others_margin": -0.260277
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.045903205871582,
                    "model_output": 7.0459,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1198
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1067
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1029
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0575
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0313
                        }
                      ],
                      "others": 0.0457,
                      "total": 7.0459,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.119766
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.10672
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.102947
                        },
                        {
                          "name": "touches",
                          "margin": 0.057533
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.031266
                        }
                      ],
                      "others_margin": 0.045741
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "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 1.0221, quality 0.623)",
              "stats": {
                "key_pass": 0.5451,
                "expected_assists": 0.0293,
                "assists": 0.0446,
                "assist_rate": 0.0446,
                "expected_goals": 0.0243,
                "goals": 0.0588,
                "goal_rate": 0.0588,
                "shots_on_target": 0.1133,
                "total_shots": 0.3195,
                "rating": 7.0459,
                "minutes": 19.0,
                "total_pass": 59.9424,
                "accurate_pass": 55.1169,
                "duels_won": 6.5646,
                "total_long_balls": 1.3688,
                "accurate_long_balls": 1.3688,
                "total_own_half_passes": 28.436,
                "accurate_own_half_passes": 26.1624,
                "total_opp_half_passes": 31.5063,
                "accurate_opp_half_passes": 28.9546,
                "crosses_total": 0.3377,
                "crosses_accurate": 0.0,
                "touches": 82.651,
                "possession_lost": 12.0904,
                "dispossessed": 1.4194,
                "duels_lost": 8.8343,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.5741,
                "tackles_won": 1.0817,
                "tackles": 2.4922,
                "clearances": 0.6844,
                "total_contest": 1.8078,
                "won_contest": 0.735,
                "challenges_lost": 1.3002,
                "fouls": 3.4547,
                "fouls_drawn": 3.3375,
                "blocks": 0.3973,
                "big_chances_created": 0.2871,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 21.7591,
                "total_progression": 45.6318,
                "progressive_carries": 0.5741,
                "shots_off_target": 0.2062
              },
              "params": {
                "market_value_eur": 19200000,
                "quality_factor": 0.6231,
                "boost_factor": 1.0221,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0813)",
              "stats": {
                "key_pass": 0.5451,
                "expected_assists": 0.0293,
                "assists": 0.041,
                "assist_rate": 0.041,
                "expected_goals": 0.0243,
                "goals": 0.054,
                "goal_rate": 0.054,
                "shots_on_target": 0.1041,
                "total_shots": 0.305,
                "rating": 7.0459,
                "minutes": 19.0,
                "total_pass": 59.9424,
                "accurate_pass": 55.1169,
                "duels_won": 6.5646,
                "total_long_balls": 1.3688,
                "accurate_long_balls": 1.3688,
                "total_own_half_passes": 28.436,
                "accurate_own_half_passes": 26.1624,
                "total_opp_half_passes": 31.5063,
                "accurate_opp_half_passes": 28.9546,
                "crosses_total": 0.316,
                "crosses_accurate": 0.0,
                "touches": 82.651,
                "possession_lost": 12.0904,
                "dispossessed": 1.4194,
                "duels_lost": 8.8343,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.5389,
                "tackles_won": 1.011,
                "tackles": 2.4922,
                "clearances": 0.6844,
                "total_contest": 1.8078,
                "won_contest": 0.735,
                "challenges_lost": 1.3002,
                "fouls": 3.2312,
                "fouls_drawn": 3.1178,
                "blocks": 0.3973,
                "big_chances_created": 0.2871,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 21.7591,
                "total_progression": 45.6318,
                "progressive_carries": 0.5741,
                "shots_off_target": 0.2062
              },
              "params": {
                "blend_weight": 0.0813,
                "history_matches": 3,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2111,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 3.4547,
                  "after": 3.2312
                },
                {
                  "stat": "wasFouled",
                  "before": 3.3375,
                  "after": 3.1178
                },
                {
                  "stat": "wonTackle",
                  "before": 1.0817,
                  "after": 1.011
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5741,
                  "after": 0.5389
                },
                {
                  "stat": "totalCross",
                  "before": 0.3377,
                  "after": 0.316
                },
                {
                  "stat": "totalShots",
                  "before": 0.3195,
                  "after": 0.305
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1133,
                  "after": 0.1041
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.0 to 22.7 expected minutes (appearance prob 0.32)",
              "stats": {
                "key_pass": 0.6515,
                "expected_assists": 0.035,
                "assists": 0.049,
                "assist_rate": 0.049,
                "expected_goals": 0.029,
                "goals": 0.0645,
                "goal_rate": 0.0645,
                "shots_on_target": 0.1244,
                "total_shots": 0.3709,
                "rating": 7.0459,
                "minutes": 22.71,
                "total_pass": 71.6393,
                "accurate_pass": 65.8721,
                "duels_won": 7.8456,
                "total_long_balls": 1.6359,
                "accurate_long_balls": 1.6359,
                "total_own_half_passes": 33.9849,
                "accurate_own_half_passes": 31.2676,
                "total_opp_half_passes": 37.6543,
                "accurate_opp_half_passes": 34.6047,
                "crosses_total": 0.3777,
                "crosses_accurate": 0.0,
                "touches": 98.7791,
                "possession_lost": 14.4497,
                "dispossessed": 1.4194,
                "duels_lost": 10.5582,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.6441,
                "tackles_won": 1.2083,
                "tackles": 2.9785,
                "clearances": 0.818,
                "total_contest": 2.1606,
                "won_contest": 0.8784,
                "challenges_lost": 1.3002,
                "fouls": 3.8617,
                "fouls_drawn": 3.7262,
                "blocks": 0.4748,
                "big_chances_created": 0.3431,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 26.0051,
                "total_progression": 54.5362,
                "progressive_carries": 0.6861,
                "shots_off_target": 0.2464,
                "bench_appearance_probability": 0.322,
                "bench_expected_minutes": 22.71
              },
              "params": {
                "expected_minutes": 22.71,
                "projection_minutes": 19.0,
                "minutes_scale": 1.1951,
                "appearance_probability": 0.322
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6515,
                "expected_assists": 0.035,
                "assists": 0.049,
                "assist_rate": 0.049,
                "expected_goals": 0.029,
                "goals": 0.0645,
                "goal_rate": 0.0645,
                "shots_on_target": 0.1244,
                "total_shots": 0.3709,
                "rating": 7.0459,
                "minutes": 22.71,
                "total_pass": 71.6393,
                "accurate_pass": 65.8721,
                "duels_won": 7.8456,
                "total_long_balls": 1.6359,
                "accurate_long_balls": 1.6359,
                "total_own_half_passes": 33.9849,
                "accurate_own_half_passes": 31.2676,
                "total_opp_half_passes": 37.6543,
                "accurate_opp_half_passes": 34.6047,
                "crosses_total": 0.3777,
                "crosses_accurate": 0.0,
                "touches": 98.7791,
                "possession_lost": 14.4497,
                "dispossessed": 1.4194,
                "duels_lost": 10.5582,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.6441,
                "tackles_won": 1.2083,
                "tackles": 2.9785,
                "clearances": 0.818,
                "total_contest": 2.1606,
                "won_contest": 0.8784,
                "challenges_lost": 1.3002,
                "fouls": 3.8617,
                "fouls_drawn": 3.7262,
                "blocks": 0.4748,
                "big_chances_created": 0.3431,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 26.0051,
                "total_progression": 54.5362,
                "progressive_carries": 0.6861,
                "shots_off_target": 0.2464,
                "bench_appearance_probability": 0.322,
                "bench_expected_minutes": 22.71
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "key_pass": 0.6515,
                "expected_assists": 0.035,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.029,
                "goal_rate": 0.0645,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3709,
                "rating": 7.0459,
                "minutes": 22.71,
                "total_pass": 71.6393,
                "accurate_pass": 65.8721,
                "duels_won": 7.8456,
                "total_long_balls": 1.6359,
                "accurate_long_balls": 1.6359,
                "total_own_half_passes": 33.9849,
                "accurate_own_half_passes": 31.2676,
                "total_opp_half_passes": 37.6543,
                "accurate_opp_half_passes": 34.6047,
                "crosses_total": 0.3777,
                "crosses_accurate": 0.0,
                "touches": 98.7791,
                "possession_lost": 14.4497,
                "dispossessed": 1.4194,
                "duels_lost": 10.5582,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.6441,
                "tackles_won": 1.2083,
                "tackles": 2.9785,
                "clearances": 0.818,
                "total_contest": 2.1606,
                "won_contest": 0.8784,
                "challenges_lost": 1.3002,
                "fouls": 3.8617,
                "fouls_drawn": 3.7262,
                "blocks": 0.4748,
                "big_chances_created": 0.3431,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 26.0051,
                "total_progression": 54.5362,
                "progressive_carries": 0.6861,
                "shots_off_target": 0.2464,
                "bench_appearance_probability": 0.322,
                "bench_expected_minutes": 22.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.322,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "key_pass": 0.6515,
                "expected_assists": 0.035,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.029,
                "goal_rate": 0.0645,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3709,
                "rating": 7.0459,
                "minutes": 22.71,
                "total_pass": 71.6393,
                "accurate_pass": 65.8721,
                "duels_won": 7.8456,
                "total_long_balls": 1.6359,
                "accurate_long_balls": 1.6359,
                "total_own_half_passes": 33.9849,
                "accurate_own_half_passes": 31.2676,
                "total_opp_half_passes": 37.6543,
                "accurate_opp_half_passes": 34.6047,
                "crosses_total": 0.3777,
                "crosses_accurate": 0.0,
                "touches": 98.7791,
                "possession_lost": 14.4497,
                "dispossessed": 1.4194,
                "duels_lost": 10.5582,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.6441,
                "tackles_won": 1.2083,
                "tackles": 2.9785,
                "clearances": 0.818,
                "total_contest": 2.1606,
                "won_contest": 0.8784,
                "challenges_lost": 1.3002,
                "fouls": 3.8617,
                "fouls_drawn": 3.7262,
                "blocks": 0.4748,
                "big_chances_created": 0.3431,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 26.0051,
                "total_progression": 54.5362,
                "progressive_carries": 0.6861,
                "shots_off_target": 0.2464,
                "bench_appearance_probability": 0.322,
                "bench_expected_minutes": 22.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3575,
                "fifa_rank": 2915.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "André Almeida": {
          "player_id": 845693,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 176,
          "market_value": 6200000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0591,
            "assist_rate": 0.0768,
            "assists": 0,
            "expected_goals": 0.0252,
            "goal_rate": 0.0336,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7564,
            "minutes": 22,
            "total_pass": 17,
            "accurate_pass": 15,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 10,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 4.6122,
            "dispossessed": 0.3622,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.002,
            "ball_carries": 8,
            "total_progression": 35,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.506,
            "bench_expected_minutes": 22.13,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "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": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 63,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0418,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 59,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 24,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 13,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 35,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.449,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 30,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 17,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0447,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "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": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0105,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "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": 63,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0394,
                "expected_assists": 0.0182,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 25,
                "accurate_pass": 22,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 2
              },
              "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": 80,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1739,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 22,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "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": 34,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0764,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "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": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3764,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3700,
            "combined_rank_score": 1656.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 418.0,
            "sofascore_rating": 6.925,
            "sofascore_appearances": 22.0,
            "fifa_rank": 2894.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7564,
            "source_file": "data/player_rankings.csv",
            "player_name": "André Almeida",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Samuel Dahl",
                  "ranking": 3695
                },
                {
                  "player_name": "Alan Lescano",
                  "ranking": 3696
                },
                {
                  "player_name": "Dénes Dibusz",
                  "ranking": 3697
                },
                {
                  "player_name": "Luciano Juba",
                  "ranking": 3698
                },
                {
                  "player_name": "Jean Lucas",
                  "ranking": 3699
                }
              ],
              "lower": [
                {
                  "player_name": "Jean-Ricner Bellegarde",
                  "ranking": 3701
                },
                {
                  "player_name": "Kervin Arriaga",
                  "ranking": 3702
                },
                {
                  "player_name": "Bryan Gil",
                  "ranking": 3703
                },
                {
                  "player_name": "Taiwo Awoniyi",
                  "ranking": 3704
                },
                {
                  "player_name": "Ismail Jakobs",
                  "ranking": 3705
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 25,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 25,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.128465634082904,
            "bench_appearance_prob": 0.5058393470037683,
            "market_value_adjustment": 0.9986,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (25 historical appearances) to 22.1 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.6633,
                "expected_assists": 0.0532,
                "assists": 0.0691,
                "assist_rate": 0.0691,
                "expected_goals": 0.0226,
                "goals": 0.0303,
                "goal_rate": 0.0303,
                "shots_on_target": 0.0748,
                "total_shots": 0.3006,
                "rating": 6.7564,
                "minutes": 19.88,
                "total_pass": 15.636,
                "accurate_pass": 13.4639,
                "duels_won": 1.9104,
                "total_long_balls": 1.0128,
                "accurate_long_balls": 0.6774,
                "total_own_half_passes": 5.3975,
                "accurate_own_half_passes": 4.7077,
                "total_opp_half_passes": 10.2385,
                "accurate_opp_half_passes": 8.7562,
                "crosses_total": 1.0221,
                "crosses_accurate": 0.3092,
                "touches": 20.8808,
                "possession_lost": 4.1494,
                "dispossessed": 0.3627,
                "duels_lost": 1.1744,
                "aerial_won": 0.1438,
                "aerial_lost": 0.0,
                "interceptions": 0.2094,
                "tackles_won": 0.463,
                "tackles": 0.9783,
                "clearances": 0.0,
                "total_contest": 0.7759,
                "won_contest": 0.3945,
                "challenges_lost": 0.0,
                "fouls": 0.4303,
                "fouls_drawn": 0.3939,
                "blocks": 0.0,
                "big_chances_created": 0.0644,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "ball_carries": 7.3119,
                "total_progression": 31.1245,
                "progressive_carries": 0.5803,
                "shots_off_target": 0.2258
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.1526,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1297,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1103,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0937,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0797,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Girona FC",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0677,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Celta Vigo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0576,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Sevilla",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0489,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Real Oviedo",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.0416,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Deportivo Alavés",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0354,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.1594,
                  "creative_index": 0.4392,
                  "expectedGoals": 0.0114,
                  "expectedAssists": 0.1008,
                  "onTargetScoringAttempt": 0.0819
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6632842421531677,
                    "model_output": 0.6633,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4025
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0337
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0295
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0196
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0199
                        }
                      ],
                      "others": 0.0774,
                      "total": 0.6633,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.605907
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.06733
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.055553
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.035249
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.034531
                        }
                      ],
                      "others_margin": 0.124124
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05315130949020386,
                    "model_output": 0.0532,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0377
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0032
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0021
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0022
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0019
                        }
                      ],
                      "others": 0.0024,
                      "total": 0.0532,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.581672
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.07022
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.046367
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.046074
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.038469
                        }
                      ],
                      "others_margin": 0.045299
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06910712271928787,
                    "model_output": 0.0691,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0203
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0063
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.005
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.005
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0048
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.0691,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.269483
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.101001
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.081151
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.074889
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.067417
                        }
                      ],
                      "others_margin": -0.068753
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.02260315604507923,
                    "model_output": 0.0226,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0387
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0196
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0017
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0044,
                      "total": 0.0226,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.53367
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.442369
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.274568
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.062973
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.053545
                        }
                      ],
                      "others_margin": -0.180046
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.030266275629401207,
                    "model_output": 0.0303,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0334
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0149
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0082
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0041
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0022
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.0303,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.424722
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.269564
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.18667
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.109378
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.058286
                        }
                      ],
                      "others_margin": -0.22857
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.07482735812664032,
                    "model_output": 0.0748,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1482
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0504
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0248
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0142
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0054
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.0748,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.611298
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.337837
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.219976
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.151705
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.063992
                        }
                      ],
                      "others_margin": -0.08089
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.30059751868247986,
                    "model_output": 0.3006,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3648
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2736
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0373
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0335
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0219
                        }
                      ],
                      "others": -0.0329,
                      "total": 0.3006,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.364759
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.273564
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.037329
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.033541
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.021854
                        }
                      ],
                      "others_margin": -0.032996
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.756392478942871,
                    "model_output": 6.7564,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1143
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0408
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0232
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0094
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0077
                        }
                      ],
                      "others": 0.0198,
                      "total": 6.7564,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.1143
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.040801
                        },
                        {
                          "name": "rating",
                          "margin": -0.023243
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.009389
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.007695
                        }
                      ],
                      "others_margin": 0.019863
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 25,
                  "role_matches": 13,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9986, quality 0.477)",
              "stats": {
                "key_pass": 0.6624,
                "expected_assists": 0.0531,
                "assists": 0.069,
                "assist_rate": 0.069,
                "expected_goals": 0.0226,
                "goals": 0.0302,
                "goal_rate": 0.0302,
                "shots_on_target": 0.0747,
                "total_shots": 0.3002,
                "rating": 6.7564,
                "minutes": 19.88,
                "total_pass": 15.6141,
                "accurate_pass": 13.4451,
                "duels_won": 1.9077,
                "total_long_balls": 1.0114,
                "accurate_long_balls": 0.6765,
                "total_own_half_passes": 5.3899,
                "accurate_own_half_passes": 4.7011,
                "total_opp_half_passes": 10.2242,
                "accurate_opp_half_passes": 8.7439,
                "crosses_total": 1.0207,
                "crosses_accurate": 0.3088,
                "touches": 20.8516,
                "possession_lost": 4.1436,
                "dispossessed": 0.3622,
                "duels_lost": 1.1728,
                "aerial_won": 0.1436,
                "aerial_lost": 0.0,
                "interceptions": 0.2091,
                "tackles_won": 0.4624,
                "tackles": 0.9769,
                "clearances": 0.0,
                "total_contest": 0.7748,
                "won_contest": 0.3939,
                "challenges_lost": 0.0,
                "fouls": 0.4297,
                "fouls_drawn": 0.3933,
                "blocks": 0.0,
                "big_chances_created": 0.0643,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "ball_carries": 7.3017,
                "total_progression": 31.0809,
                "progressive_carries": 0.5795,
                "shots_off_target": 0.2255
              },
              "params": {
                "market_value_eur": 6200000,
                "quality_factor": 0.4769,
                "boost_factor": 0.9986,
                "reference_quality": 0.505,
                "history_matches": 25,
                "history_shrink": 0.1667,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.9 to 22.1 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0.7373,
                "expected_assists": 0.0591,
                "assists": 0.0768,
                "assist_rate": 0.0768,
                "expected_goals": 0.0252,
                "goals": 0.0336,
                "goal_rate": 0.0336,
                "shots_on_target": 0.0831,
                "total_shots": 0.3342,
                "rating": 6.7564,
                "minutes": 22.13,
                "total_pass": 17.3801,
                "accurate_pass": 14.9658,
                "duels_won": 2.1235,
                "total_long_balls": 1.1258,
                "accurate_long_balls": 0.753,
                "total_own_half_passes": 5.9995,
                "accurate_own_half_passes": 5.2328,
                "total_opp_half_passes": 11.3806,
                "accurate_opp_half_passes": 9.7329,
                "crosses_total": 1.1361,
                "crosses_accurate": 0.3437,
                "touches": 23.21,
                "possession_lost": 4.6122,
                "dispossessed": 0.3622,
                "duels_lost": 1.3054,
                "aerial_won": 0.1598,
                "aerial_lost": 0.0,
                "interceptions": 0.2327,
                "tackles_won": 0.5147,
                "tackles": 1.0874,
                "clearances": 0.0,
                "total_contest": 0.8624,
                "won_contest": 0.4385,
                "challenges_lost": 0.0,
                "fouls": 0.4783,
                "fouls_drawn": 0.4378,
                "blocks": 0.0,
                "big_chances_created": 0.0716,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 8.1275,
                "total_progression": 34.5962,
                "progressive_carries": 0.645,
                "shots_off_target": 0.251,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.13
              },
              "params": {
                "expected_minutes": 22.13,
                "projection_minutes": 19.88,
                "minutes_scale": 1.1131,
                "appearance_probability": 0.506
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.7373,
                "expected_assists": 0.0591,
                "assists": 0.0768,
                "assist_rate": 0.0768,
                "expected_goals": 0.0252,
                "goals": 0.0336,
                "goal_rate": 0.0336,
                "shots_on_target": 0.0831,
                "total_shots": 0.3342,
                "rating": 6.7564,
                "minutes": 22.13,
                "total_pass": 17.3801,
                "accurate_pass": 14.9658,
                "duels_won": 2.1235,
                "total_long_balls": 1.1258,
                "accurate_long_balls": 0.753,
                "total_own_half_passes": 5.9995,
                "accurate_own_half_passes": 5.2328,
                "total_opp_half_passes": 11.3806,
                "accurate_opp_half_passes": 9.7329,
                "crosses_total": 1.1361,
                "crosses_accurate": 0.3437,
                "touches": 23.21,
                "possession_lost": 4.6122,
                "dispossessed": 0.3622,
                "duels_lost": 1.3054,
                "aerial_won": 0.1598,
                "aerial_lost": 0.0,
                "interceptions": 0.2327,
                "tackles_won": 0.5147,
                "tackles": 1.0874,
                "clearances": 0.0,
                "total_contest": 0.8624,
                "won_contest": 0.4385,
                "challenges_lost": 0.0,
                "fouls": 0.4783,
                "fouls_drawn": 0.4378,
                "blocks": 0.0,
                "big_chances_created": 0.0716,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 8.1275,
                "total_progression": 34.5962,
                "progressive_carries": 0.645,
                "shots_off_target": 0.251,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.13
              },
              "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.7373,
                "expected_assists": 0.0591,
                "assist_rate": 0.0768,
                "assists": 0,
                "expected_goals": 0.0252,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.0831,
                "total_shots": 0.3342,
                "rating": 6.7564,
                "minutes": 22.13,
                "total_pass": 17.3801,
                "accurate_pass": 14.9658,
                "duels_won": 2.1235,
                "total_long_balls": 1.1258,
                "accurate_long_balls": 0.753,
                "total_own_half_passes": 5.9995,
                "accurate_own_half_passes": 5.2328,
                "total_opp_half_passes": 11.3806,
                "accurate_opp_half_passes": 9.7329,
                "crosses_total": 1.1361,
                "crosses_accurate": 0.3437,
                "touches": 23.21,
                "possession_lost": 4.6122,
                "dispossessed": 0.3622,
                "duels_lost": 1.3054,
                "aerial_won": 0.1598,
                "aerial_lost": 0.0,
                "interceptions": 0.2327,
                "tackles_won": 0.5147,
                "tackles": 1.0874,
                "clearances": 0.0,
                "total_contest": 0.8624,
                "won_contest": 0.4385,
                "challenges_lost": 0.0,
                "fouls": 0.4783,
                "fouls_drawn": 0.4378,
                "blocks": 0.0,
                "big_chances_created": 0.0716,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 8.1275,
                "total_progression": 34.5962,
                "progressive_carries": 0.645,
                "shots_off_target": 0.251,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.13,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.506,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "key_pass": 0.7373,
                "expected_assists": 0.0591,
                "assist_rate": 0.0768,
                "assists": 0,
                "expected_goals": 0.0252,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.0831,
                "total_shots": 0.3342,
                "rating": 6.7564,
                "minutes": 22.13,
                "total_pass": 17.3801,
                "accurate_pass": 14.9658,
                "duels_won": 2.1235,
                "total_long_balls": 1.1258,
                "accurate_long_balls": 0.753,
                "total_own_half_passes": 5.9995,
                "accurate_own_half_passes": 5.2328,
                "total_opp_half_passes": 11.3806,
                "accurate_opp_half_passes": 9.7329,
                "crosses_total": 1.1361,
                "crosses_accurate": 0.3437,
                "touches": 23.21,
                "possession_lost": 4.6122,
                "dispossessed": 0.3622,
                "duels_lost": 1.3054,
                "aerial_won": 0.1598,
                "aerial_lost": 0.0,
                "interceptions": 0.2327,
                "tackles_won": 0.5147,
                "tackles": 1.0874,
                "clearances": 0.0,
                "total_contest": 0.8624,
                "won_contest": 0.4385,
                "challenges_lost": 0.0,
                "fouls": 0.4783,
                "fouls_drawn": 0.4378,
                "blocks": 0.0,
                "big_chances_created": 0.0716,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 8.1275,
                "total_progression": 34.5962,
                "progressive_carries": 0.645,
                "shots_off_target": 0.251,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.13,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3700,
                "fifa_rank": 2894.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Andrés Martín": {
          "player_id": 922939,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 178,
          "market_value": 8199999,
          "stats": {
            "expected_goals": 0.2611,
            "goal_rate": 0.1147,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 1,
            "expected_assists": 0.1257,
            "key_pass": 1,
            "rating": 6.8656,
            "minutes": 26,
            "total_pass": 33,
            "accurate_pass": 26,
            "duels_won": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 17,
            "crosses_total": 5,
            "crosses_accurate": 0,
            "touches": 62,
            "possession_lost": 18.4453,
            "dispossessed": 0.5613,
            "duels_lost": 6,
            "aerial_lost": 0,
            "total_contest": 5,
            "won_contest": 2,
            "ball_recovery": 6,
            "challenges_lost": 2,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 2,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 1.0534,
            "offsides": 1,
            "ball_carries": 19,
            "total_progression": 55,
            "progressive_carries": 3,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.57,
            "bench_expected_minutes": 25.54,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.131,
            "projected_assists": 0,
            "assist_probability": 0.0673,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 59,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1443,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 14,
                "key_pass": 3,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 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": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2234,
                "expected_assists": 0.0423,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 27,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1338,
                "expected_assists": 0.3458,
                "total_shots": 6,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 29,
                "accurate_pass": 20,
                "key_pass": 3,
                "tackles": 3,
                "interceptions": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 2264,
            "combined_rank_score": 827.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1564.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8656,
            "source_file": "data/player_rankings.csv",
            "player_name": "Andrés Martín",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mikel Vesga",
                  "ranking": 2259
                },
                {
                  "player_name": "Malo Gusto",
                  "ranking": 2260
                },
                {
                  "player_name": "Aldrix Jara",
                  "ranking": 2261
                },
                {
                  "player_name": "Yehor Yarmoliuk",
                  "ranking": 2262
                },
                {
                  "player_name": "Chimy Ávila",
                  "ranking": 2263
                }
              ],
              "lower": [
                {
                  "player_name": "Brais Méndez",
                  "ranking": 2265
                },
                {
                  "player_name": "Bafodé Diakité",
                  "ranking": 2266
                },
                {
                  "player_name": "Kwasi Sibo",
                  "ranking": 2267
                },
                {
                  "player_name": "Jordan Henderson",
                  "ranking": 2268
                },
                {
                  "player_name": "Andoni Gorosabel",
                  "ranking": 2269
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.544307952762857,
            "bench_appearance_prob": 0.5701958160346754,
            "market_value_adjustment": 0.9993,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (3 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.1577,
                "goals": 0.0899,
                "goal_rate": 0.0899,
                "shots_on_target": 0.4432,
                "total_shots": 0.8333,
                "expected_assists": 0.0759,
                "key_pass": 0.6808,
                "rating": 6.8656,
                "minutes": 20.0,
                "total_pass": 25.9874,
                "accurate_pass": 19.9806,
                "duels_won": 5.0175,
                "total_long_balls": 0.2809,
                "accurate_long_balls": 0.2809,
                "total_opp_half_passes": 18.6161,
                "accurate_opp_half_passes": 13.6093,
                "crosses_total": 3.8251,
                "crosses_accurate": 0.2809,
                "touches": 48.481,
                "possession_lost": 14.4519,
                "dispossessed": 0.5617,
                "duels_lost": 4.8581,
                "aerial_lost": 0.0,
                "total_contest": 3.7279,
                "won_contest": 1.8358,
                "ball_recovery": 4.553,
                "challenges_lost": 1.5121,
                "fouls": 0.8921,
                "fouls_drawn": 1.62,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.9504,
                "tackles_won": 0.3304,
                "tackles": 1.5617,
                "clearances": 0.3887,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6608,
                "xgot": 0.6362,
                "offsides": 0.7191,
                "ball_carries": 14.8746,
                "total_progression": 43.3071,
                "progressive_carries": 2.2313,
                "shots_off_target": 0.3901
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.7227,
                  "totalOppositionHalfPasses": 18.6161,
                  "accurateOppositionHalfPasses": 13.6093,
                  "accuratePass": 19.9806,
                  "totalShots": 2.6764
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.15768146514892578,
                    "model_output": 0.1577,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0764
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.037
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0126
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0099
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0089
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.1577,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.488313
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.266277
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.076733
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.059299
                        },
                        {
                          "name": "goals",
                          "margin": 0.054009
                        }
                      ],
                      "others_margin": -0.076316
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0898757353425026,
                    "model_output": 0.0899,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0935
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0221
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0184
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0057
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0056
                        }
                      ],
                      "others": -0.016,
                      "total": 0.0899,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.616343
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.225132
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.1906
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.05509
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.054487
                        }
                      ],
                      "others_margin": -0.164153
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4432124197483063,
                    "model_output": 0.4432,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2025
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0385
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0281
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0267
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0154
                        }
                      ],
                      "others": 0.0537,
                      "total": 0.4432,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.473737
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.109157
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.072735
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.068856
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.040295
                        }
                      ],
                      "others_margin": 0.128983
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8332708477973938,
                    "model_output": 0.8333,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5982
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1815
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.1112
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0682
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0554
                        }
                      ],
                      "others": -0.1352,
                      "total": 0.8333,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.598206
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.181466
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.11121
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.068169
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.055379
                        }
                      ],
                      "others_margin": -0.135133
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07594503462314606,
                    "model_output": 0.0759,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0225
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0075
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0063
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0045
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0033
                        }
                      ],
                      "others": 0.0129,
                      "total": 0.0759,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.434849
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.167174
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.122001
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.077656
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.053054
                        }
                      ],
                      "others_margin": 0.188416
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6807868480682373,
                    "model_output": 0.6808,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2977
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0706
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0476
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.027
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0267
                        }
                      ],
                      "others": 0.1338,
                      "total": 0.6808,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.584236
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.172439
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.101442
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.053271
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.050006
                        }
                      ],
                      "others_margin": 0.218949
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.865608215332031,
                    "model_output": 6.8656,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0919
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0719
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0308
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0264
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0255
                        }
                      ],
                      "others": 0.0903,
                      "total": 6.8656,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.091893
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.071898
                        },
                        {
                          "name": "touches",
                          "margin": 0.030801
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.026439
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.02553
                        }
                      ],
                      "others_margin": 0.090287
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "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.9993, quality 0.501)",
              "stats": {
                "expected_goals": 0.1576,
                "goals": 0.0898,
                "goal_rate": 0.0898,
                "shots_on_target": 0.4429,
                "total_shots": 0.8327,
                "expected_assists": 0.0759,
                "key_pass": 0.6803,
                "rating": 6.8656,
                "minutes": 20.0,
                "total_pass": 25.9692,
                "accurate_pass": 19.9666,
                "duels_won": 5.014,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6031,
                "accurate_opp_half_passes": 13.5998,
                "crosses_total": 3.8224,
                "crosses_accurate": 0.2807,
                "touches": 48.4471,
                "possession_lost": 14.4418,
                "dispossessed": 0.5613,
                "duels_lost": 4.8547,
                "aerial_lost": 0.0,
                "total_contest": 3.7253,
                "won_contest": 1.8345,
                "ball_recovery": 4.5498,
                "challenges_lost": 1.511,
                "fouls": 0.8915,
                "fouls_drawn": 1.6189,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.9497,
                "tackles_won": 0.3302,
                "tackles": 1.5606,
                "clearances": 0.3884,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6603,
                "xgot": 0.6358,
                "offsides": 0.7186,
                "ball_carries": 14.8642,
                "total_progression": 43.2768,
                "progressive_carries": 2.2297,
                "shots_off_target": 0.3898
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 0.9993,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.0 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.2013,
                "goals": 0.1147,
                "goal_rate": 0.1147,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.0969,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 0.8121,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54
              },
              "params": {
                "expected_minutes": 25.54,
                "projection_minutes": 20.0,
                "minutes_scale": 1.2772,
                "appearance_probability": 0.57
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2013,
                "goals": 0.1147,
                "goal_rate": 0.1147,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.0969,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 0.8121,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.2611,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.1257,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 1.0534,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 0.57
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2013,
                  "after": 0.2611
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0969,
                  "after": 0.1257
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.2611,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.1257,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 1.0534,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.8,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2264,
                "fifa_rank": 1564.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2611,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.1257,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 1.0534,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.131,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.131,
                "scorer_weight": 0.1191,
                "squad_weight_total": 1.5453,
                "weight_share": 0.077,
                "finishing_factor": 0.8,
                "appearance_weight": 0.57,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.2611,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.1257,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 1.0534,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.131,
                "projected_assists": 0,
                "assist_probability": 0.0673,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0673,
                "provider_weight": 0.0573,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0553,
                "creation_factor": 0.8,
                "appearance_weight": 0.57,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Giorgi Guliashvili": {
          "player_id": 965257,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 179,
          "market_value": 3400000,
          "stats": {
            "expected_goals": 0.1956,
            "goal_rate": 0.1084,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0188,
            "key_pass": 0,
            "rating": 6.6134,
            "minutes": 25,
            "total_pass": 4,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 1.3725,
            "dispossessed": 0.5012,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "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": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.56,
            "bench_expected_minutes": 25.31,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0995,
            "projected_assists": 0,
            "assist_probability": 0.0104,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3663,
                "expected_assists": 0.0036,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 12,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 21,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5690,
            "combined_rank_score": 3969.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 976.0,
            "sofascore_rating": 6.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6962.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6134,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giorgi Guliashvili",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "James McConnell",
                  "ranking": 5685
                },
                {
                  "player_name": "Bryan Rabello",
                  "ranking": 5686
                },
                {
                  "player_name": "Jherson Mosquera",
                  "ranking": 5687
                },
                {
                  "player_name": "Luka Ilić",
                  "ranking": 5688
                },
                {
                  "player_name": "Dominic Hyam",
                  "ranking": 5689
                }
              ],
              "lower": [
                {
                  "player_name": "Joao Grimaldo",
                  "ranking": 5691
                },
                {
                  "player_name": "Ben Whiteman",
                  "ranking": 5692
                },
                {
                  "player_name": "Emiliano Ancheta",
                  "ranking": 5693
                },
                {
                  "player_name": "Marc Bola",
                  "ranking": 5694
                },
                {
                  "player_name": "Dael Fry",
                  "ranking": 5695
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.31189584546643,
            "bench_appearance_prob": 0.5596316293393832,
            "market_value_adjustment": 0.9896,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1018,
                "goals": 0.0732,
                "goal_rate": 0.0732,
                "shots_on_target": 0.2516,
                "total_shots": 0.559,
                "expected_assists": 0.0098,
                "key_pass": 0.172,
                "rating": 6.6134,
                "minutes": 16.9,
                "total_pass": 2.8073,
                "accurate_pass": 2.6146,
                "duels_won": 1.0871,
                "total_long_balls": 0.2267,
                "accurate_long_balls": 0.2267,
                "total_opp_half_passes": 1.3609,
                "accurate_opp_half_passes": 1.1682,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.5196,
                "possession_lost": 0.926,
                "dispossessed": 0.5065,
                "duels_lost": 1.3985,
                "aerial_lost": 0.6993,
                "total_contest": 0.5806,
                "won_contest": 0.5806,
                "ball_recovery": 0.7602,
                "challenges_lost": 0.0,
                "fouls": 0.1927,
                "fouls_drawn": 0.5065,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1927,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3138,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.6276,
                "total_progression": 2.0065,
                "progressive_carries": 0.3138,
                "shots_off_target": 0.3074
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1149,
                  "totalOppositionHalfPasses": 1.3609,
                  "accurateOppositionHalfPasses": 1.1682,
                  "accuratePass": 2.6146,
                  "totalShots": 0.3138
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10176774114370346,
                    "model_output": 0.1018,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0834
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0113
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0099
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0091
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.004
                        }
                      ],
                      "others": -0.0045,
                      "total": 0.1018,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.547626
                        },
                        {
                          "name": "goals",
                          "margin": -0.1041
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.100449
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.093432
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.038314
                        }
                      ],
                      "others_margin": -0.044363
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07317113876342773,
                    "model_output": 0.0732,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.088
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0212
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0106
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0053
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.005
                        }
                      ],
                      "others": -0.0099,
                      "total": 0.0732,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.567358
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.203448
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.119903
                        },
                        {
                          "name": "goals",
                          "margin": -0.065427
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.062058
                        }
                      ],
                      "others_margin": -0.127179
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.25156980752944946,
                    "model_output": 0.2516,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2079
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0282
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0139
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0123
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0116
                        }
                      ],
                      "others": -0.0344,
                      "total": 0.2516,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.489989
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.089617
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.047402
                        },
                        {
                          "name": "goals",
                          "margin": -0.04382
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.041542
                        }
                      ],
                      "others_margin": -0.128467
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5590007305145264,
                    "model_output": 0.559,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4504
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.115
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0671
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0597
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0388
                        }
                      ],
                      "others": -0.2022,
                      "total": 0.559,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.450394
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.114953
                        },
                        {
                          "name": "goals",
                          "margin": -0.06713
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.059693
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.038797
                        }
                      ],
                      "others_margin": -0.202226
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.009839735925197601,
                    "model_output": 0.0098,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0221
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0115
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0066
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0026
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.0098,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.425042
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.323022
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.246743
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.115606
                        },
                        {
                          "name": "rating",
                          "margin": -0.102579
                        }
                      ],
                      "others_margin": -0.657136
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.17197422683238983,
                    "model_output": 0.172,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3039
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0457
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.029
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.025
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0198
                        }
                      ],
                      "others": -0.0774,
                      "total": 0.172,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.600946
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.132291
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.093931
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.088937
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.076435
                        }
                      ],
                      "others_margin": -0.371495
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.613399505615234,
                    "model_output": 6.6134,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0452
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0186
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.013
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.013
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0483,
                      "total": 6.6134,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.045157
                        },
                        {
                          "name": "rating",
                          "margin": -0.018628
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.012982
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.012981
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012065
                        }
                      ],
                      "others_margin": -0.048395
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "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.9896, quality 0.442)",
              "stats": {
                "expected_goals": 0.1007,
                "goals": 0.0724,
                "goal_rate": 0.0724,
                "shots_on_target": 0.249,
                "total_shots": 0.5532,
                "expected_assists": 0.0097,
                "key_pass": 0.1702,
                "rating": 6.6134,
                "minutes": 16.9,
                "total_pass": 2.7781,
                "accurate_pass": 2.5874,
                "duels_won": 1.0758,
                "total_long_balls": 0.2243,
                "accurate_long_balls": 0.2243,
                "total_opp_half_passes": 1.3467,
                "accurate_opp_half_passes": 1.1561,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.4622,
                "possession_lost": 0.9164,
                "dispossessed": 0.5012,
                "duels_lost": 1.384,
                "aerial_lost": 0.692,
                "total_contest": 0.5746,
                "won_contest": 0.5746,
                "ball_recovery": 0.7523,
                "challenges_lost": 0.0,
                "fouls": 0.1907,
                "fouls_drawn": 0.5012,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1907,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3105,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.6107,
                "total_progression": 1.9856,
                "progressive_carries": 0.3105,
                "shots_off_target": 0.3042
              },
              "params": {
                "market_value_eur": 3400000,
                "quality_factor": 0.4424,
                "boost_factor": 0.9896,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 16.9 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.1508,
                "goals": 0.1084,
                "goal_rate": 0.1084,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0145,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31
              },
              "params": {
                "expected_minutes": 25.31,
                "projection_minutes": 16.9,
                "minutes_scale": 1.4977,
                "appearance_probability": 0.56
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1508,
                "goals": 0.1084,
                "goal_rate": 0.1084,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0145,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.1956,
                "goal_rate": 0.1084,
                "goals": 0,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0188,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 0.56
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1508,
                  "after": 0.1956
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 69.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1956,
                "goal_rate": 0.1084,
                "goals": 0,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0188,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.8,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5690,
                "fifa_rank": 6962.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1956,
                "goal_rate": 0.1084,
                "goals": 0,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0188,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0995,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0995,
                "scorer_weight": 0.0876,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0567,
                "finishing_factor": 0.8,
                "appearance_weight": 0.56,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1956,
                "goal_rate": 0.1084,
                "goals": 0,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0188,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0995,
                "projected_assists": 0,
                "assist_probability": 0.0104,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0104,
                "provider_weight": 0.0084,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0081,
                "creation_factor": 0.8,
                "appearance_weight": 0.56,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Andrés Martín": {
          "player_id": 922939,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 178,
          "market_value": 8199999,
          "stats": {
            "expected_goals": 0.2611,
            "goal_rate": 0.1147,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 1,
            "expected_assists": 0.1257,
            "key_pass": 1,
            "rating": 6.8656,
            "minutes": 26,
            "total_pass": 33,
            "accurate_pass": 26,
            "duels_won": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 17,
            "crosses_total": 5,
            "crosses_accurate": 0,
            "touches": 62,
            "possession_lost": 18.4453,
            "dispossessed": 0.5613,
            "duels_lost": 6,
            "aerial_lost": 0,
            "total_contest": 5,
            "won_contest": 2,
            "ball_recovery": 6,
            "challenges_lost": 2,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 2,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 1.0534,
            "offsides": 1,
            "ball_carries": 19,
            "total_progression": 55,
            "progressive_carries": 3,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.57,
            "bench_expected_minutes": 25.54,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.131,
            "projected_assists": 0,
            "assist_probability": 0.0673,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 59,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1443,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 14,
                "key_pass": 3,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 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": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2234,
                "expected_assists": 0.0423,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 27,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1338,
                "expected_assists": 0.3458,
                "total_shots": 6,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 29,
                "accurate_pass": 20,
                "key_pass": 3,
                "tackles": 3,
                "interceptions": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 2264,
            "combined_rank_score": 827.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1564.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8656,
            "source_file": "data/player_rankings.csv",
            "player_name": "Andrés Martín",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mikel Vesga",
                  "ranking": 2259
                },
                {
                  "player_name": "Malo Gusto",
                  "ranking": 2260
                },
                {
                  "player_name": "Aldrix Jara",
                  "ranking": 2261
                },
                {
                  "player_name": "Yehor Yarmoliuk",
                  "ranking": 2262
                },
                {
                  "player_name": "Chimy Ávila",
                  "ranking": 2263
                }
              ],
              "lower": [
                {
                  "player_name": "Brais Méndez",
                  "ranking": 2265
                },
                {
                  "player_name": "Bafodé Diakité",
                  "ranking": 2266
                },
                {
                  "player_name": "Kwasi Sibo",
                  "ranking": 2267
                },
                {
                  "player_name": "Jordan Henderson",
                  "ranking": 2268
                },
                {
                  "player_name": "Andoni Gorosabel",
                  "ranking": 2269
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.544307952762857,
            "bench_appearance_prob": 0.5701958160346754,
            "market_value_adjustment": 0.9993,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (3 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.1577,
                "goals": 0.0899,
                "goal_rate": 0.0899,
                "shots_on_target": 0.4432,
                "total_shots": 0.8333,
                "expected_assists": 0.0759,
                "key_pass": 0.6808,
                "rating": 6.8656,
                "minutes": 20.0,
                "total_pass": 25.9874,
                "accurate_pass": 19.9806,
                "duels_won": 5.0175,
                "total_long_balls": 0.2809,
                "accurate_long_balls": 0.2809,
                "total_opp_half_passes": 18.6161,
                "accurate_opp_half_passes": 13.6093,
                "crosses_total": 3.8251,
                "crosses_accurate": 0.2809,
                "touches": 48.481,
                "possession_lost": 14.4519,
                "dispossessed": 0.5617,
                "duels_lost": 4.8581,
                "aerial_lost": 0.0,
                "total_contest": 3.7279,
                "won_contest": 1.8358,
                "ball_recovery": 4.553,
                "challenges_lost": 1.5121,
                "fouls": 0.8921,
                "fouls_drawn": 1.62,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.9504,
                "tackles_won": 0.3304,
                "tackles": 1.5617,
                "clearances": 0.3887,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6608,
                "xgot": 0.6362,
                "offsides": 0.7191,
                "ball_carries": 14.8746,
                "total_progression": 43.3071,
                "progressive_carries": 2.2313,
                "shots_off_target": 0.3901
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.7227,
                  "totalOppositionHalfPasses": 18.6161,
                  "accurateOppositionHalfPasses": 13.6093,
                  "accuratePass": 19.9806,
                  "totalShots": 2.6764
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.15768146514892578,
                    "model_output": 0.1577,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0764
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.037
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0126
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0099
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0089
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.1577,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.488313
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.266277
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.076733
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.059299
                        },
                        {
                          "name": "goals",
                          "margin": 0.054009
                        }
                      ],
                      "others_margin": -0.076316
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0898757353425026,
                    "model_output": 0.0899,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0935
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0221
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0184
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0057
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0056
                        }
                      ],
                      "others": -0.016,
                      "total": 0.0899,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.616343
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.225132
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.1906
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.05509
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.054487
                        }
                      ],
                      "others_margin": -0.164153
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4432124197483063,
                    "model_output": 0.4432,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2025
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0385
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0281
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0267
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0154
                        }
                      ],
                      "others": 0.0537,
                      "total": 0.4432,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.473737
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.109157
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.072735
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.068856
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.040295
                        }
                      ],
                      "others_margin": 0.128983
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8332708477973938,
                    "model_output": 0.8333,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5982
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1815
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.1112
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0682
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0554
                        }
                      ],
                      "others": -0.1352,
                      "total": 0.8333,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.598206
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.181466
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.11121
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.068169
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.055379
                        }
                      ],
                      "others_margin": -0.135133
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07594503462314606,
                    "model_output": 0.0759,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0225
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0075
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0063
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0045
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0033
                        }
                      ],
                      "others": 0.0129,
                      "total": 0.0759,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.434849
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.167174
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.122001
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.077656
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.053054
                        }
                      ],
                      "others_margin": 0.188416
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6807868480682373,
                    "model_output": 0.6808,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2977
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0706
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0476
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.027
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0267
                        }
                      ],
                      "others": 0.1338,
                      "total": 0.6808,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.584236
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.172439
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.101442
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.053271
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.050006
                        }
                      ],
                      "others_margin": 0.218949
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.865608215332031,
                    "model_output": 6.8656,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0919
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0719
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0308
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0264
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0255
                        }
                      ],
                      "others": 0.0903,
                      "total": 6.8656,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.091893
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.071898
                        },
                        {
                          "name": "touches",
                          "margin": 0.030801
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.026439
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.02553
                        }
                      ],
                      "others_margin": 0.090287
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "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.9993, quality 0.501)",
              "stats": {
                "expected_goals": 0.1576,
                "goals": 0.0898,
                "goal_rate": 0.0898,
                "shots_on_target": 0.4429,
                "total_shots": 0.8327,
                "expected_assists": 0.0759,
                "key_pass": 0.6803,
                "rating": 6.8656,
                "minutes": 20.0,
                "total_pass": 25.9692,
                "accurate_pass": 19.9666,
                "duels_won": 5.014,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6031,
                "accurate_opp_half_passes": 13.5998,
                "crosses_total": 3.8224,
                "crosses_accurate": 0.2807,
                "touches": 48.4471,
                "possession_lost": 14.4418,
                "dispossessed": 0.5613,
                "duels_lost": 4.8547,
                "aerial_lost": 0.0,
                "total_contest": 3.7253,
                "won_contest": 1.8345,
                "ball_recovery": 4.5498,
                "challenges_lost": 1.511,
                "fouls": 0.8915,
                "fouls_drawn": 1.6189,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.9497,
                "tackles_won": 0.3302,
                "tackles": 1.5606,
                "clearances": 0.3884,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6603,
                "xgot": 0.6358,
                "offsides": 0.7186,
                "ball_carries": 14.8642,
                "total_progression": 43.2768,
                "progressive_carries": 2.2297,
                "shots_off_target": 0.3898
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 0.9993,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.0 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.2013,
                "goals": 0.1147,
                "goal_rate": 0.1147,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.0969,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 0.8121,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54
              },
              "params": {
                "expected_minutes": 25.54,
                "projection_minutes": 20.0,
                "minutes_scale": 1.2772,
                "appearance_probability": 0.57
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2013,
                "goals": 0.1147,
                "goal_rate": 0.1147,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.0969,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 0.8121,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.2611,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.1257,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 1.0534,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 0.57
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2013,
                  "after": 0.2611
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0969,
                  "after": 0.1257
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.2611,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.1257,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 1.0534,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.8,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2264,
                "fifa_rank": 1564.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2611,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.1257,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 1.0534,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.131,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.131,
                "scorer_weight": 0.1191,
                "squad_weight_total": 1.5453,
                "weight_share": 0.077,
                "finishing_factor": 0.8,
                "appearance_weight": 0.57,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.2611,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.5657,
                "total_shots": 1.0636,
                "expected_assists": 0.1257,
                "key_pass": 0.8689,
                "rating": 6.8656,
                "minutes": 25.54,
                "total_pass": 33.1683,
                "accurate_pass": 25.5016,
                "duels_won": 6.404,
                "total_long_balls": 0.3585,
                "accurate_long_balls": 0.3585,
                "total_opp_half_passes": 23.7602,
                "accurate_opp_half_passes": 17.3699,
                "crosses_total": 4.882,
                "crosses_accurate": 0.3585,
                "touches": 61.8774,
                "possession_lost": 18.4453,
                "dispossessed": 0.5613,
                "duels_lost": 6.2005,
                "aerial_lost": 0.0,
                "total_contest": 4.758,
                "won_contest": 2.3431,
                "ball_recovery": 5.8111,
                "challenges_lost": 1.511,
                "fouls": 1.1386,
                "fouls_drawn": 2.0677,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 1.213,
                "tackles_won": 0.4217,
                "tackles": 1.9932,
                "clearances": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8433,
                "xgot": 1.0534,
                "offsides": 0.7186,
                "ball_carries": 18.9848,
                "total_progression": 55.2738,
                "progressive_carries": 2.8478,
                "shots_off_target": 0.4979,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.131,
                "projected_assists": 0,
                "assist_probability": 0.0673,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0673,
                "provider_weight": 0.0573,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0553,
                "creation_factor": 0.8,
                "appearance_weight": 0.57,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Giorgi Guliashvili": {
          "player_id": 965257,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 179,
          "market_value": 3400000,
          "stats": {
            "expected_goals": 0.1956,
            "goal_rate": 0.1084,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0188,
            "key_pass": 0,
            "rating": 6.6134,
            "minutes": 25,
            "total_pass": 4,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 1.3725,
            "dispossessed": 0.5012,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "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": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.56,
            "bench_expected_minutes": 25.31,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0995,
            "projected_assists": 0,
            "assist_probability": 0.0104,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3663,
                "expected_assists": 0.0036,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 12,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 21,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5690,
            "combined_rank_score": 3969.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 976.0,
            "sofascore_rating": 6.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6962.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6134,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giorgi Guliashvili",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "James McConnell",
                  "ranking": 5685
                },
                {
                  "player_name": "Bryan Rabello",
                  "ranking": 5686
                },
                {
                  "player_name": "Jherson Mosquera",
                  "ranking": 5687
                },
                {
                  "player_name": "Luka Ilić",
                  "ranking": 5688
                },
                {
                  "player_name": "Dominic Hyam",
                  "ranking": 5689
                }
              ],
              "lower": [
                {
                  "player_name": "Joao Grimaldo",
                  "ranking": 5691
                },
                {
                  "player_name": "Ben Whiteman",
                  "ranking": 5692
                },
                {
                  "player_name": "Emiliano Ancheta",
                  "ranking": 5693
                },
                {
                  "player_name": "Marc Bola",
                  "ranking": 5694
                },
                {
                  "player_name": "Dael Fry",
                  "ranking": 5695
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.31189584546643,
            "bench_appearance_prob": 0.5596316293393832,
            "market_value_adjustment": 0.9896,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1018,
                "goals": 0.0732,
                "goal_rate": 0.0732,
                "shots_on_target": 0.2516,
                "total_shots": 0.559,
                "expected_assists": 0.0098,
                "key_pass": 0.172,
                "rating": 6.6134,
                "minutes": 16.9,
                "total_pass": 2.8073,
                "accurate_pass": 2.6146,
                "duels_won": 1.0871,
                "total_long_balls": 0.2267,
                "accurate_long_balls": 0.2267,
                "total_opp_half_passes": 1.3609,
                "accurate_opp_half_passes": 1.1682,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.5196,
                "possession_lost": 0.926,
                "dispossessed": 0.5065,
                "duels_lost": 1.3985,
                "aerial_lost": 0.6993,
                "total_contest": 0.5806,
                "won_contest": 0.5806,
                "ball_recovery": 0.7602,
                "challenges_lost": 0.0,
                "fouls": 0.1927,
                "fouls_drawn": 0.5065,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1927,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3138,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.6276,
                "total_progression": 2.0065,
                "progressive_carries": 0.3138,
                "shots_off_target": 0.3074
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1149,
                  "totalOppositionHalfPasses": 1.3609,
                  "accurateOppositionHalfPasses": 1.1682,
                  "accuratePass": 2.6146,
                  "totalShots": 0.3138
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10176774114370346,
                    "model_output": 0.1018,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0834
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0113
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0099
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0091
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.004
                        }
                      ],
                      "others": -0.0045,
                      "total": 0.1018,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.547626
                        },
                        {
                          "name": "goals",
                          "margin": -0.1041
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.100449
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.093432
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.038314
                        }
                      ],
                      "others_margin": -0.044363
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07317113876342773,
                    "model_output": 0.0732,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.088
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0212
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0106
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0053
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.005
                        }
                      ],
                      "others": -0.0099,
                      "total": 0.0732,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.567358
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.203448
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.119903
                        },
                        {
                          "name": "goals",
                          "margin": -0.065427
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.062058
                        }
                      ],
                      "others_margin": -0.127179
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.25156980752944946,
                    "model_output": 0.2516,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2079
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0282
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0139
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0123
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0116
                        }
                      ],
                      "others": -0.0344,
                      "total": 0.2516,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.489989
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.089617
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.047402
                        },
                        {
                          "name": "goals",
                          "margin": -0.04382
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.041542
                        }
                      ],
                      "others_margin": -0.128467
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5590007305145264,
                    "model_output": 0.559,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4504
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.115
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0671
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0597
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0388
                        }
                      ],
                      "others": -0.2022,
                      "total": 0.559,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.450394
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.114953
                        },
                        {
                          "name": "goals",
                          "margin": -0.06713
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.059693
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.038797
                        }
                      ],
                      "others_margin": -0.202226
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.009839735925197601,
                    "model_output": 0.0098,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0221
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0115
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0066
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0026
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.0098,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.425042
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.323022
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.246743
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.115606
                        },
                        {
                          "name": "rating",
                          "margin": -0.102579
                        }
                      ],
                      "others_margin": -0.657136
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.17197422683238983,
                    "model_output": 0.172,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3039
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0457
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.029
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.025
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0198
                        }
                      ],
                      "others": -0.0774,
                      "total": 0.172,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.600946
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.132291
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.093931
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.088937
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.076435
                        }
                      ],
                      "others_margin": -0.371495
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.613399505615234,
                    "model_output": 6.6134,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0452
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0186
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.013
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.013
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0483,
                      "total": 6.6134,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.045157
                        },
                        {
                          "name": "rating",
                          "margin": -0.018628
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.012982
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.012981
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012065
                        }
                      ],
                      "others_margin": -0.048395
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "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.9896, quality 0.442)",
              "stats": {
                "expected_goals": 0.1007,
                "goals": 0.0724,
                "goal_rate": 0.0724,
                "shots_on_target": 0.249,
                "total_shots": 0.5532,
                "expected_assists": 0.0097,
                "key_pass": 0.1702,
                "rating": 6.6134,
                "minutes": 16.9,
                "total_pass": 2.7781,
                "accurate_pass": 2.5874,
                "duels_won": 1.0758,
                "total_long_balls": 0.2243,
                "accurate_long_balls": 0.2243,
                "total_opp_half_passes": 1.3467,
                "accurate_opp_half_passes": 1.1561,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.4622,
                "possession_lost": 0.9164,
                "dispossessed": 0.5012,
                "duels_lost": 1.384,
                "aerial_lost": 0.692,
                "total_contest": 0.5746,
                "won_contest": 0.5746,
                "ball_recovery": 0.7523,
                "challenges_lost": 0.0,
                "fouls": 0.1907,
                "fouls_drawn": 0.5012,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1907,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3105,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.6107,
                "total_progression": 1.9856,
                "progressive_carries": 0.3105,
                "shots_off_target": 0.3042
              },
              "params": {
                "market_value_eur": 3400000,
                "quality_factor": 0.4424,
                "boost_factor": 0.9896,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 16.9 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.1508,
                "goals": 0.1084,
                "goal_rate": 0.1084,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0145,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31
              },
              "params": {
                "expected_minutes": 25.31,
                "projection_minutes": 16.9,
                "minutes_scale": 1.4977,
                "appearance_probability": 0.56
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1508,
                "goals": 0.1084,
                "goal_rate": 0.1084,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0145,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.42 (squad xG sum 1.0963, xG scale 1.2971, xA scale 1.2971, team xA 1.01 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.1956,
                "goal_rate": 0.1084,
                "goals": 0,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0188,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.422,
                "squad_xg_sum": 1.0963,
                "squad_xa_sum": 0.7803,
                "team_expected_assists": 1.0121,
                "team_xa_to_xg_ratio": 0.7117,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2971,
                "xa_scale": 1.2971,
                "opponent_lambda": 1.151,
                "scoreline_reset": true,
                "appearance_weight": 0.56
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1508,
                  "after": 0.1956
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 69.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1956,
                "goal_rate": 0.1084,
                "goals": 0,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0188,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "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.8,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5690,
                "fifa_rank": 6962.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1956,
                "goal_rate": 0.1084,
                "goals": 0,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0188,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0995,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0995,
                "scorer_weight": 0.0876,
                "squad_weight_total": 1.5453,
                "weight_share": 0.0567,
                "finishing_factor": 0.8,
                "appearance_weight": 0.56,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.644,
                    "already": 0,
                    "effective_weight": 0.644,
                    "runner_up": "Pablo García",
                    "runner_up_effective_weight": 0.255
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1956,
                "goal_rate": 0.1084,
                "goals": 0,
                "shots_on_target": 0.3729,
                "total_shots": 0.8286,
                "expected_assists": 0.0188,
                "key_pass": 0.2549,
                "rating": 6.6134,
                "minutes": 25.31,
                "total_pass": 4.1609,
                "accurate_pass": 3.8753,
                "duels_won": 1.6113,
                "total_long_balls": 0.3359,
                "accurate_long_balls": 0.3359,
                "total_opp_half_passes": 2.017,
                "accurate_opp_half_passes": 1.7315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.181,
                "possession_lost": 1.3725,
                "dispossessed": 0.5012,
                "duels_lost": 2.0729,
                "aerial_lost": 0.692,
                "total_contest": 0.8606,
                "won_contest": 0.8606,
                "ball_recovery": 1.1268,
                "challenges_lost": 0.0,
                "fouls": 0.2856,
                "fouls_drawn": 0.7507,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2856,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.465,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.4124,
                "total_progression": 2.9739,
                "progressive_carries": 0.465,
                "shots_off_target": 0.4556,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0995,
                "projected_assists": 0,
                "assist_probability": 0.0104,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0104,
                "provider_weight": 0.0084,
                "squad_weight_total": 1.0367,
                "weight_share": 0.0081,
                "creation_factor": 0.8,
                "appearance_weight": 0.56,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.2894,
                    "already": 0,
                    "effective_weight": 0.2894,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.2471,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.42,
        "expected_assists": 1.01,
        "total_shots": 10,
        "shots_on_target": 3,
        "total_passes": 462,
        "interceptions": 6,
        "tackles": 16,
        "avg_rating": 6.83,
        "possession_estimated_pct": 48.5,
        "pressing_actions_per_90": 6.1
      }
    },
    "Valencia": {
      "formation": "4-4-2",
      "players": {
        "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.0493,
            "assist_rate": 0.056,
            "assists": 0,
            "expected_goals": 0.0452,
            "goal_rate": 0.0428,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8708,
            "minutes": 82,
            "total_pass": 50,
            "accurate_pass": 43,
            "duels_won": 3,
            "total_long_balls": 7,
            "accurate_long_balls": 3,
            "total_own_half_passes": 30,
            "accurate_own_half_passes": 27,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 61,
            "possession_lost": 7.916,
            "dispossessed": 0.4101,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 4,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.031,
            "ball_carries": 15,
            "total_progression": 37,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.0628,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.493,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iván Martín",
            "opponent_faced": "Iván Martín",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0442,
            "projected_assists": 0,
            "assist_probability": 0.0481,
            "finishing_factor": 1.0879,
            "creation_factor": 1.1977,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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": 61,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0445,
                "expected_assists": 0.012,
                "total_shots": 1,
                "total_pass": 40,
                "accurate_pass": 37,
                "key_pass": 1,
                "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": "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": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8708,
            "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": 38,
          "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": 38,
            "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 38 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.5168,
                "expected_assists": 0.0385,
                "assists": 0.056,
                "assist_rate": 0.056,
                "expected_goals": 0.0333,
                "goals": 0.0404,
                "goal_rate": 0.0404,
                "shots_on_target": 0.1173,
                "total_shots": 0.5389,
                "rating": 6.8708,
                "minutes": 81.74,
                "total_pass": 49.544,
                "accurate_pass": 43.3079,
                "duels_won": 2.6814,
                "total_long_balls": 6.7446,
                "accurate_long_balls": 3.0645,
                "total_own_half_passes": 29.6996,
                "accurate_own_half_passes": 27.3578,
                "total_opp_half_passes": 19.8444,
                "accurate_opp_half_passes": 15.9501,
                "crosses_total": 0.3406,
                "crosses_accurate": 0.0344,
                "touches": 60.8571,
                "possession_lost": 7.92,
                "dispossessed": 0.4103,
                "duels_lost": 2.6547,
                "aerial_won": 0.5728,
                "aerial_lost": 0.9079,
                "interceptions": 1.0802,
                "tackles_won": 0.8029,
                "tackles": 1.8467,
                "clearances": 4.01,
                "total_contest": 0.0773,
                "won_contest": 0.0732,
                "challenges_lost": 0.6907,
                "fouls": 0.6417,
                "fouls_drawn": 0.2976,
                "blocks": 0.5434,
                "big_chances_created": 0.005,
                "big_chances_missed": 0.0227,
                "xgot": 0.0228,
                "ball_carries": 15.0738,
                "total_progression": 37.3627,
                "progressive_carries": 0.5811,
                "shots_off_target": 0.4216
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.3375,
                  "creative_index": 0.0855,
                  "expectedGoals": 0.0258,
                  "expectedAssists": 0.0238,
                  "onTargetScoringAttempt": 0.0172
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5167709589004517,
                    "model_output": 0.5168,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1342
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.1173
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.098
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0767
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0373
                        }
                      ],
                      "others": -0.1738,
                      "total": 0.5168,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.141128
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.122128
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.114878
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.100138
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.052624
                        }
                      ],
                      "others_margin": -0.290083
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0385301299393177,
                    "model_output": 0.0385,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.018
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0115
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0083
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0076
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0136,
                      "total": 0.0385,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.236331
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.187299
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.160626
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.148566
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.060071
                        }
                      ],
                      "others_margin": -0.301625
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05600538104772568,
                    "model_output": 0.056,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0106
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0068
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0044
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.056,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.131902
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.093096
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.085685
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.059579
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.058194
                        }
                      ],
                      "others_margin": -0.183725
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03326541185379028,
                    "model_output": 0.0333,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0299
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0108
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.007
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0154,
                      "total": 0.0333,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.384444
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.184991
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128456
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.122764
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.08772
                        }
                      ],
                      "others_margin": -0.383334
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.040367890149354935,
                    "model_output": 0.0404,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0178
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0118
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0075
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0055
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0052
                        }
                      ],
                      "others": -0.0194,
                      "total": 0.0404,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.203961
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.162198
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.119211
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.088571
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.083696
                        }
                      ],
                      "others_margin": -0.392121
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.11726478487253189,
                    "model_output": 0.1173,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0811
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0453
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0361
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0203
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0173
                        }
                      ],
                      "others": -0.0472,
                      "total": 0.1173,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.288059
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.206297
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.201886
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118465
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.099984
                        }
                      ],
                      "others_margin": -0.338688
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5388410687446594,
                    "model_output": 0.5388,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2337
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1191
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.052
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0492
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0416
                        }
                      ],
                      "others": -0.1938,
                      "total": 0.5388,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.233727
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.119137
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.052005
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.049152
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.041633
                        }
                      ],
                      "others_margin": -0.19376
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.870832920074463,
                    "model_output": 6.8708,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0695
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.033
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0327
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0211
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0125
                        }
                      ],
                      "others": -0.0408,
                      "total": 6.8708,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.069453
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.032977
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.032746
                        },
                        {
                          "name": "rating",
                          "margin": -0.021111
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.012542
                        }
                      ],
                      "others_margin": -0.040637
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "role_matches": 33,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9995, quality 0.490)",
              "stats": {
                "key_pass": 0.5165,
                "expected_assists": 0.0385,
                "assists": 0.056,
                "assist_rate": 0.056,
                "expected_goals": 0.0332,
                "goals": 0.0403,
                "goal_rate": 0.0403,
                "shots_on_target": 0.1172,
                "total_shots": 0.5386,
                "rating": 6.8708,
                "minutes": 81.74,
                "total_pass": 49.5192,
                "accurate_pass": 43.2862,
                "duels_won": 2.6801,
                "total_long_balls": 6.7412,
                "accurate_long_balls": 3.063,
                "total_own_half_passes": 29.6848,
                "accurate_own_half_passes": 27.3441,
                "total_opp_half_passes": 19.8345,
                "accurate_opp_half_passes": 15.9421,
                "crosses_total": 0.3404,
                "crosses_accurate": 0.0344,
                "touches": 60.8267,
                "possession_lost": 7.916,
                "dispossessed": 0.4101,
                "duels_lost": 2.6534,
                "aerial_won": 0.5725,
                "aerial_lost": 0.9074,
                "interceptions": 1.0797,
                "tackles_won": 0.8025,
                "tackles": 1.8458,
                "clearances": 4.008,
                "total_contest": 0.0773,
                "won_contest": 0.0732,
                "challenges_lost": 0.6904,
                "fouls": 0.6414,
                "fouls_drawn": 0.2975,
                "blocks": 0.5431,
                "big_chances_created": 0.005,
                "big_chances_missed": 0.0227,
                "xgot": 0.0228,
                "ball_carries": 15.0663,
                "total_progression": 37.344,
                "progressive_carries": 0.5808,
                "shots_off_target": 0.4214
              },
              "params": {
                "market_value_eur": 7300000,
                "quality_factor": 0.4903,
                "boost_factor": 0.9995,
                "reference_quality": 0.505,
                "history_matches": 38,
                "history_shrink": 0.1163,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5165,
                "expected_assists": 0.0385,
                "assists": 0.056,
                "assist_rate": 0.056,
                "expected_goals": 0.0332,
                "goals": 0.0403,
                "goal_rate": 0.0403,
                "shots_on_target": 0.1172,
                "total_shots": 0.5386,
                "rating": 6.8708,
                "minutes": 81.74,
                "total_pass": 49.5192,
                "accurate_pass": 43.2862,
                "duels_won": 2.6801,
                "total_long_balls": 6.7412,
                "accurate_long_balls": 3.063,
                "total_own_half_passes": 29.6848,
                "accurate_own_half_passes": 27.3441,
                "total_opp_half_passes": 19.8345,
                "accurate_opp_half_passes": 15.9421,
                "crosses_total": 0.3404,
                "crosses_accurate": 0.0344,
                "touches": 60.8267,
                "possession_lost": 7.916,
                "dispossessed": 0.4101,
                "duels_lost": 2.6534,
                "aerial_won": 0.5725,
                "aerial_lost": 0.9074,
                "interceptions": 1.0797,
                "tackles_won": 0.8025,
                "tackles": 1.8458,
                "clearances": 4.008,
                "total_contest": 0.0773,
                "won_contest": 0.0732,
                "challenges_lost": 0.6904,
                "fouls": 0.6414,
                "fouls_drawn": 0.2975,
                "blocks": 0.5431,
                "big_chances_created": 0.005,
                "big_chances_missed": 0.0227,
                "xgot": 0.0228,
                "ball_carries": 15.0663,
                "total_progression": 37.344,
                "progressive_carries": 0.5808,
                "shots_off_target": 0.4214
              },
              "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.5165,
                "expected_assists": 0.0385,
                "assists": 0.056,
                "assist_rate": 0.056,
                "expected_goals": 0.0353,
                "goals": 0.0428,
                "goal_rate": 0.0428,
                "shots_on_target": 0.1246,
                "total_shots": 0.5725,
                "rating": 6.8708,
                "minutes": 81.74,
                "total_pass": 49.5192,
                "accurate_pass": 43.2862,
                "duels_won": 2.6801,
                "total_long_balls": 6.7412,
                "accurate_long_balls": 3.063,
                "total_own_half_passes": 29.6848,
                "accurate_own_half_passes": 27.3441,
                "total_opp_half_passes": 19.8345,
                "accurate_opp_half_passes": 15.9421,
                "crosses_total": 0.3404,
                "crosses_accurate": 0.0344,
                "touches": 60.8267,
                "possession_lost": 7.916,
                "dispossessed": 0.4101,
                "duels_lost": 2.6534,
                "aerial_won": 1.2,
                "aerial_lost": 0.9074,
                "interceptions": 1.0797,
                "tackles_won": 0.8025,
                "tackles": 1.8458,
                "clearances": 4.008,
                "total_contest": 0.0773,
                "won_contest": 0.0732,
                "challenges_lost": 0.6904,
                "fouls": 0.6414,
                "fouls_drawn": 0.2975,
                "blocks": 0.5431,
                "big_chances_created": 0.005,
                "big_chances_missed": 0.0241,
                "xgot": 0.0242,
                "ball_carries": 15.0663,
                "total_progression": 37.344,
                "progressive_carries": 0.5808,
                "shots_off_target": 0.4479,
                "duel_xg_multiplier": 1.0628,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.493,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iván Martín",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.493,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0628,
                  "skill_edge": 0.0148,
                  "height_edge": 0.028,
                  "attacker_skill": 0.5,
                  "defender_skill": 0.4672,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iván Martín",
                      "market_value": 4600000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4672
                    }
                  ],
                  "xg_override": 0.0353
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.5725,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.5386,
                  "after": 0.5725
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4214,
                  "after": 0.4479
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1172,
                  "after": 0.1246
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "key_pass": 0.5165,
                "expected_assists": 0.0493,
                "assist_rate": 0.056,
                "assists": 0,
                "expected_goals": 0.0452,
                "goal_rate": 0.0428,
                "goals": 0,
                "shots_on_target": 0.1246,
                "total_shots": 0.5725,
                "rating": 6.8708,
                "minutes": 81.74,
                "total_pass": 49.5192,
                "accurate_pass": 43.2862,
                "duels_won": 2.6801,
                "total_long_balls": 6.7412,
                "accurate_long_balls": 3.063,
                "total_own_half_passes": 29.6848,
                "accurate_own_half_passes": 27.3441,
                "total_opp_half_passes": 19.8345,
                "accurate_opp_half_passes": 15.9421,
                "crosses_total": 0.3404,
                "crosses_accurate": 0.0344,
                "touches": 60.8267,
                "possession_lost": 7.916,
                "dispossessed": 0.4101,
                "duels_lost": 2.6534,
                "aerial_won": 1.2,
                "aerial_lost": 0.9074,
                "interceptions": 1.0797,
                "tackles_won": 0.8025,
                "tackles": 1.8458,
                "clearances": 4.008,
                "total_contest": 0.0773,
                "won_contest": 0.0732,
                "challenges_lost": 0.6904,
                "fouls": 0.6414,
                "fouls_drawn": 0.2975,
                "blocks": 0.5431,
                "big_chances_created": 0.005,
                "big_chances_missed": 0.0241,
                "xgot": 0.031,
                "ball_carries": 15.0663,
                "total_progression": 37.344,
                "progressive_carries": 0.5808,
                "shots_off_target": 0.4479,
                "duel_xg_multiplier": 1.0628,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.493,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0879,
                "creation_factor": 1.1977
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0353,
                  "after": 0.0452
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0385,
                  "after": 0.0493
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 0.5165,
                "expected_assists": 0.0493,
                "assist_rate": 0.056,
                "assists": 0,
                "expected_goals": 0.0452,
                "goal_rate": 0.0428,
                "goals": 0,
                "shots_on_target": 0.1246,
                "total_shots": 0.5725,
                "rating": 6.8708,
                "minutes": 81.74,
                "total_pass": 49.5192,
                "accurate_pass": 43.2862,
                "duels_won": 2.6801,
                "total_long_balls": 6.7412,
                "accurate_long_balls": 3.063,
                "total_own_half_passes": 29.6848,
                "accurate_own_half_passes": 27.3441,
                "total_opp_half_passes": 19.8345,
                "accurate_opp_half_passes": 15.9421,
                "crosses_total": 0.3404,
                "crosses_accurate": 0.0344,
                "touches": 60.8267,
                "possession_lost": 7.916,
                "dispossessed": 0.4101,
                "duels_lost": 2.6534,
                "aerial_won": 1.2,
                "aerial_lost": 0.9074,
                "interceptions": 1.0797,
                "tackles_won": 0.8025,
                "tackles": 1.8458,
                "clearances": 4.008,
                "total_contest": 0.0773,
                "won_contest": 0.0732,
                "challenges_lost": 0.6904,
                "fouls": 0.6414,
                "fouls_drawn": 0.2975,
                "blocks": 0.5431,
                "big_chances_created": 0.005,
                "big_chances_missed": 0.0241,
                "xgot": 0.031,
                "ball_carries": 15.0663,
                "total_progression": 37.344,
                "progressive_carries": 0.5808,
                "shots_off_target": 0.4479,
                "duel_xg_multiplier": 1.0628,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.493,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0879,
                "creation_factor": 1.1977,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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.5165,
                "expected_assists": 0.0493,
                "assist_rate": 0.056,
                "assists": 0,
                "expected_goals": 0.0452,
                "goal_rate": 0.0428,
                "goals": 0,
                "shots_on_target": 0.1246,
                "total_shots": 0.5725,
                "rating": 6.8708,
                "minutes": 81.74,
                "total_pass": 49.5192,
                "accurate_pass": 43.2862,
                "duels_won": 2.6801,
                "total_long_balls": 6.7412,
                "accurate_long_balls": 3.063,
                "total_own_half_passes": 29.6848,
                "accurate_own_half_passes": 27.3441,
                "total_opp_half_passes": 19.8345,
                "accurate_opp_half_passes": 15.9421,
                "crosses_total": 0.3404,
                "crosses_accurate": 0.0344,
                "touches": 60.8267,
                "possession_lost": 7.916,
                "dispossessed": 0.4101,
                "duels_lost": 2.6534,
                "aerial_won": 1.2,
                "aerial_lost": 0.9074,
                "interceptions": 1.0797,
                "tackles_won": 0.8025,
                "tackles": 1.8458,
                "clearances": 4.008,
                "total_contest": 0.0773,
                "won_contest": 0.0732,
                "challenges_lost": 0.6904,
                "fouls": 0.6414,
                "fouls_drawn": 0.2975,
                "blocks": 0.5431,
                "big_chances_created": 0.005,
                "big_chances_missed": 0.0241,
                "xgot": 0.031,
                "ball_carries": 15.0663,
                "total_progression": 37.344,
                "progressive_carries": 0.5808,
                "shots_off_target": 0.4479,
                "duel_xg_multiplier": 1.0628,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.493,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0442,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0879,
                "creation_factor": 1.1977,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0442,
                "scorer_weight": 0.0492,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0448,
                "finishing_factor": 1.0879,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.5165,
                "expected_assists": 0.0493,
                "assist_rate": 0.056,
                "assists": 0,
                "expected_goals": 0.0452,
                "goal_rate": 0.0428,
                "goals": 0,
                "shots_on_target": 0.1246,
                "total_shots": 0.5725,
                "rating": 6.8708,
                "minutes": 81.74,
                "total_pass": 49.5192,
                "accurate_pass": 43.2862,
                "duels_won": 2.6801,
                "total_long_balls": 6.7412,
                "accurate_long_balls": 3.063,
                "total_own_half_passes": 29.6848,
                "accurate_own_half_passes": 27.3441,
                "total_opp_half_passes": 19.8345,
                "accurate_opp_half_passes": 15.9421,
                "crosses_total": 0.3404,
                "crosses_accurate": 0.0344,
                "touches": 60.8267,
                "possession_lost": 7.916,
                "dispossessed": 0.4101,
                "duels_lost": 2.6534,
                "aerial_won": 1.2,
                "aerial_lost": 0.9074,
                "interceptions": 1.0797,
                "tackles_won": 0.8025,
                "tackles": 1.8458,
                "clearances": 4.008,
                "total_contest": 0.0773,
                "won_contest": 0.0732,
                "challenges_lost": 0.6904,
                "fouls": 0.6414,
                "fouls_drawn": 0.2975,
                "blocks": 0.5431,
                "big_chances_created": 0.005,
                "big_chances_missed": 0.0241,
                "xgot": 0.031,
                "ball_carries": 15.0663,
                "total_progression": 37.344,
                "progressive_carries": 0.5808,
                "shots_off_target": 0.4479,
                "duel_xg_multiplier": 1.0628,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.493,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0442,
                "projected_assists": 0,
                "assist_probability": 0.0481,
                "finishing_factor": 1.0879,
                "creation_factor": 1.1977,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0481,
                "provider_weight": 0.059,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0689,
                "creation_factor": 1.1977,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            }
          ]
        },
        "Aaron Mayol": {
          "player_id": 2468733,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 33,
          "height": 183,
          "market_value": 47000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1049,
            "assist_rate": 0.0962,
            "assists": 0,
            "expected_goals": 0.0696,
            "goal_rate": 0.1162,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8224,
            "minutes": 88,
            "total_pass": 40,
            "accurate_pass": 35,
            "duels_won": 3,
            "total_long_balls": 4,
            "accurate_long_balls": 3,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 20,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 58,
            "possession_lost": 11.826,
            "dispossessed": 2.4238,
            "duels_lost": 6,
            "aerial_won": 1,
            "aerial_lost": 2,
            "interceptions": 2,
            "tackles_won": 0,
            "tackles": 2,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0623,
            "ball_carries": 13,
            "total_progression": 45,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0097,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.457,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iván Martín",
            "opponent_faced": "Iván Martín",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0672,
            "projected_assists": 0,
            "assist_probability": 0.0996,
            "finishing_factor": 1.25,
            "creation_factor": 1.1084,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "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.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0885,
                "expected_assists": 0.0343,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 36,
                "key_pass": 1,
                "tackles": 3,
                "interceptions": 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": "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.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0178,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 36,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 550,
            "combined_rank_score": 342.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 381.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8224,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aaron Mayol",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Akmal Muzaffarov",
                  "ranking": 545
                },
                {
                  "player_name": "Raniele",
                  "ranking": 546
                },
                {
                  "player_name": "David Button",
                  "ranking": 547
                },
                {
                  "player_name": "Demethryus",
                  "ranking": 548
                },
                {
                  "player_name": "Pil-su Choi",
                  "ranking": 549
                }
              ],
              "lower": [
                {
                  "player_name": "Senne Lammens",
                  "ranking": 551
                },
                {
                  "player_name": "Agustín Arce",
                  "ranking": 552
                },
                {
                  "player_name": "Alejandro Panach Olmo",
                  "ranking": 553
                },
                {
                  "player_name": "Edu Altozano",
                  "ranking": 554
                },
                {
                  "player_name": "Joseph Otunenche",
                  "ranking": 555
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9855,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 2 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.8963,
                "expected_assists": 0.0831,
                "assists": 0.0976,
                "assist_rate": 0.0976,
                "expected_goals": 0.0546,
                "goals": 0.1168,
                "goal_rate": 0.1168,
                "shots_on_target": 0.2477,
                "total_shots": 0.9777,
                "rating": 6.8224,
                "minutes": 88.0,
                "total_pass": 40.9189,
                "accurate_pass": 36.0,
                "duels_won": 3.0811,
                "total_long_balls": 3.8378,
                "accurate_long_balls": 2.8378,
                "total_own_half_passes": 18.9189,
                "accurate_own_half_passes": 15.9189,
                "total_opp_half_passes": 22.0,
                "accurate_opp_half_passes": 20.0811,
                "crosses_total": 1.0811,
                "crosses_accurate": 0.0,
                "touches": 58.5405,
                "possession_lost": 12.0,
                "dispossessed": 2.4595,
                "duels_lost": 6.4595,
                "aerial_won": 0.0,
                "aerial_lost": 1.5405,
                "interceptions": 2.4595,
                "tackles_won": 0.4595,
                "tackles": 2.0811,
                "clearances": 0.4595,
                "total_contest": 1.0,
                "won_contest": 0.4595,
                "challenges_lost": 0.0,
                "fouls": 1.9189,
                "fouls_drawn": 0.5405,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0488,
                "ball_carries": 13.5946,
                "total_progression": 45.2307,
                "progressive_carries": 0.4595,
                "shots_off_target": 0.73
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.0811,
                  "creative_index": 0.2322,
                  "expectedGoals": 0.0478,
                  "expectedAssists": 0.0267,
                  "onTargetScoringAttempt": 0.5405
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.896320104598999,
                    "model_output": 0.8963,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1375
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.085
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0731
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0375
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0256
                        }
                      ],
                      "others": 0.0431,
                      "total": 0.8963,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.144306
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.086689
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.081082
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.044352
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.030457
                        }
                      ],
                      "others_margin": 0.049334
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08310936391353607,
                    "model_output": 0.0831,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0143
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0135
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0045
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.001,
                      "total": 0.0831,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.154436
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.144803
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.074019
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.04953
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.049314
                        }
                      ],
                      "others_margin": -0.01348
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09762845933437347,
                    "model_output": 0.0976,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0082
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0088
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0083
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0077
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0062
                        }
                      ],
                      "others": 0.0004,
                      "total": 0.0976,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.090887
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.089425
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.077928
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.071932
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.061598
                        }
                      ],
                      "others_margin": 0.005024
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05458580702543259,
                    "model_output": 0.0546,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0153
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0124
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0093
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0059
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0027
                        }
                      ],
                      "others": -0.0106,
                      "total": 0.0546,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.179049
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.17266
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.153027
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.099023
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.042928
                        }
                      ],
                      "others_margin": -0.176756
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1167617216706276,
                    "model_output": 0.1168,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0217
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0136
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0132
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0112
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.01
                        }
                      ],
                      "others": -0.0007,
                      "total": 0.1168,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": 0.202916
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.10887
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.105448
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.098677
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.089075
                        }
                      ],
                      "others_margin": -0.007249
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2476750910282135,
                    "model_output": 0.2477,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0411
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0409
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0293
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0204
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0181
                        }
                      ],
                      "others": -0.0449,
                      "total": 0.2477,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119394
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.118887
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.094725
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.071556
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.06373
                        }
                      ],
                      "others_margin": -0.16672
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.977682888507843,
                    "model_output": 0.9777,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1342
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0699
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0488
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0432
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0387
                        }
                      ],
                      "others": -0.2073,
                      "total": 0.9777,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134178
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.069886
                        },
                        {
                          "name": "goals",
                          "margin": 0.048819
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.043155
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.038658
                        }
                      ],
                      "others_margin": -0.207221
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.822388648986816,
                    "model_output": 6.8224,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0942
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0682
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0383
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0335
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0264
                        }
                      ],
                      "others": -0.0922,
                      "total": 6.8224,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.094206
                        },
                        {
                          "name": "rating",
                          "margin": 0.068244
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.038299
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.033453
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.02639
                        }
                      ],
                      "others_margin": -0.092273
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 2,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9855, quality 0.437)",
              "stats": {
                "key_pass": 0.8833,
                "expected_assists": 0.0819,
                "assists": 0.0962,
                "assist_rate": 0.0962,
                "expected_goals": 0.0538,
                "goals": 0.1151,
                "goal_rate": 0.1151,
                "shots_on_target": 0.2441,
                "total_shots": 0.9635,
                "rating": 6.8224,
                "minutes": 88.0,
                "total_pass": 40.3256,
                "accurate_pass": 35.478,
                "duels_won": 3.0364,
                "total_long_balls": 3.7822,
                "accurate_long_balls": 2.7967,
                "total_own_half_passes": 18.6446,
                "accurate_own_half_passes": 15.6881,
                "total_opp_half_passes": 21.681,
                "accurate_opp_half_passes": 19.7899,
                "crosses_total": 1.0654,
                "crosses_accurate": 0.0,
                "touches": 57.6917,
                "possession_lost": 11.826,
                "dispossessed": 2.4238,
                "duels_lost": 6.3658,
                "aerial_won": 0.0,
                "aerial_lost": 1.5182,
                "interceptions": 2.4238,
                "tackles_won": 0.4528,
                "tackles": 2.0509,
                "clearances": 0.4528,
                "total_contest": 0.9855,
                "won_contest": 0.4528,
                "challenges_lost": 0.0,
                "fouls": 1.8911,
                "fouls_drawn": 0.5327,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0481,
                "ball_carries": 13.3975,
                "total_progression": 44.5749,
                "progressive_carries": 0.4528,
                "shots_off_target": 0.7194
              },
              "params": {
                "market_value_eur": 47000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9855,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8833,
                "expected_assists": 0.0819,
                "assists": 0.0962,
                "assist_rate": 0.0962,
                "expected_goals": 0.0538,
                "goals": 0.1151,
                "goal_rate": 0.1151,
                "shots_on_target": 0.2441,
                "total_shots": 0.9635,
                "rating": 6.8224,
                "minutes": 88.0,
                "total_pass": 40.3256,
                "accurate_pass": 35.478,
                "duels_won": 3.0364,
                "total_long_balls": 3.7822,
                "accurate_long_balls": 2.7967,
                "total_own_half_passes": 18.6446,
                "accurate_own_half_passes": 15.6881,
                "total_opp_half_passes": 21.681,
                "accurate_opp_half_passes": 19.7899,
                "crosses_total": 1.0654,
                "crosses_accurate": 0.0,
                "touches": 57.6917,
                "possession_lost": 11.826,
                "dispossessed": 2.4238,
                "duels_lost": 6.3658,
                "aerial_won": 0.0,
                "aerial_lost": 1.5182,
                "interceptions": 2.4238,
                "tackles_won": 0.4528,
                "tackles": 2.0509,
                "clearances": 0.4528,
                "total_contest": 0.9855,
                "won_contest": 0.4528,
                "challenges_lost": 0.0,
                "fouls": 1.8911,
                "fouls_drawn": 0.5327,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0481,
                "ball_carries": 13.3975,
                "total_progression": 44.5749,
                "progressive_carries": 0.4528,
                "shots_off_target": 0.7194
              },
              "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.8833,
                "expected_assists": 0.0819,
                "assists": 0.0962,
                "assist_rate": 0.0962,
                "expected_goals": 0.0543,
                "goals": 0.1162,
                "goal_rate": 0.1162,
                "shots_on_target": 0.2465,
                "total_shots": 0.9729,
                "rating": 6.8224,
                "minutes": 88.0,
                "total_pass": 40.3256,
                "accurate_pass": 35.478,
                "duels_won": 3.0364,
                "total_long_balls": 3.7822,
                "accurate_long_balls": 2.7967,
                "total_own_half_passes": 18.6446,
                "accurate_own_half_passes": 15.6881,
                "total_opp_half_passes": 21.681,
                "accurate_opp_half_passes": 19.7899,
                "crosses_total": 1.0654,
                "crosses_accurate": 0.0,
                "touches": 57.6917,
                "possession_lost": 11.826,
                "dispossessed": 2.4238,
                "duels_lost": 6.3658,
                "aerial_won": 1.1,
                "aerial_lost": 1.5182,
                "interceptions": 2.4238,
                "tackles_won": 0.4528,
                "tackles": 2.0509,
                "clearances": 0.4528,
                "total_contest": 0.9855,
                "won_contest": 0.4528,
                "challenges_lost": 0.0,
                "fouls": 1.8911,
                "fouls_drawn": 0.5327,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0486,
                "ball_carries": 13.3975,
                "total_progression": 44.5749,
                "progressive_carries": 0.4528,
                "shots_off_target": 0.7264,
                "duel_xg_multiplier": 1.0097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.457,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iván Martín",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.457,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0097,
                  "skill_edge": -0.0134,
                  "height_edge": 0.02,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4672,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iván Martín",
                      "market_value": 4600000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4672
                    }
                  ],
                  "xg_override": 0.0543
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.9635,
                  "after": 0.9729
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7194,
                  "after": 0.7264
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "key_pass": 0.8833,
                "expected_assists": 0.1049,
                "assist_rate": 0.0962,
                "assists": 0,
                "expected_goals": 0.0696,
                "goal_rate": 0.1162,
                "goals": 0,
                "shots_on_target": 0.2465,
                "total_shots": 0.9729,
                "rating": 6.8224,
                "minutes": 88.0,
                "total_pass": 40.3256,
                "accurate_pass": 35.478,
                "duels_won": 3.0364,
                "total_long_balls": 3.7822,
                "accurate_long_balls": 2.7967,
                "total_own_half_passes": 18.6446,
                "accurate_own_half_passes": 15.6881,
                "total_opp_half_passes": 21.681,
                "accurate_opp_half_passes": 19.7899,
                "crosses_total": 1.0654,
                "crosses_accurate": 0.0,
                "touches": 57.6917,
                "possession_lost": 11.826,
                "dispossessed": 2.4238,
                "duels_lost": 6.3658,
                "aerial_won": 1.1,
                "aerial_lost": 1.5182,
                "interceptions": 2.4238,
                "tackles_won": 0.4528,
                "tackles": 2.0509,
                "clearances": 0.4528,
                "total_contest": 0.9855,
                "won_contest": 0.4528,
                "challenges_lost": 0.0,
                "fouls": 1.8911,
                "fouls_drawn": 0.5327,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0623,
                "ball_carries": 13.3975,
                "total_progression": 44.5749,
                "progressive_carries": 0.4528,
                "shots_off_target": 0.7264,
                "duel_xg_multiplier": 1.0097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.457,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.1084
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0543,
                  "after": 0.0696
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0819,
                  "after": 0.1049
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "key_pass": 0.8833,
                "expected_assists": 0.1049,
                "assist_rate": 0.0962,
                "assists": 0,
                "expected_goals": 0.0696,
                "goal_rate": 0.1162,
                "goals": 0,
                "shots_on_target": 0.2465,
                "total_shots": 0.9729,
                "rating": 6.8224,
                "minutes": 88.0,
                "total_pass": 40.3256,
                "accurate_pass": 35.478,
                "duels_won": 3.0364,
                "total_long_balls": 3.7822,
                "accurate_long_balls": 2.7967,
                "total_own_half_passes": 18.6446,
                "accurate_own_half_passes": 15.6881,
                "total_opp_half_passes": 21.681,
                "accurate_opp_half_passes": 19.7899,
                "crosses_total": 1.0654,
                "crosses_accurate": 0.0,
                "touches": 57.6917,
                "possession_lost": 11.826,
                "dispossessed": 2.4238,
                "duels_lost": 6.3658,
                "aerial_won": 1.1,
                "aerial_lost": 1.5182,
                "interceptions": 2.4238,
                "tackles_won": 0.4528,
                "tackles": 2.0509,
                "clearances": 0.4528,
                "total_contest": 0.9855,
                "won_contest": 0.4528,
                "challenges_lost": 0.0,
                "fouls": 1.8911,
                "fouls_drawn": 0.5327,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0623,
                "ball_carries": 13.3975,
                "total_progression": 44.5749,
                "progressive_carries": 0.4528,
                "shots_off_target": 0.7264,
                "duel_xg_multiplier": 1.0097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.457,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.1084,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 550,
                "fifa_rank": 381.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": 0.8833,
                "expected_assists": 0.1049,
                "assist_rate": 0.0962,
                "assists": 0,
                "expected_goals": 0.0696,
                "goal_rate": 0.1162,
                "goals": 0,
                "shots_on_target": 0.2465,
                "total_shots": 0.9729,
                "rating": 6.8224,
                "minutes": 88.0,
                "total_pass": 40.3256,
                "accurate_pass": 35.478,
                "duels_won": 3.0364,
                "total_long_balls": 3.7822,
                "accurate_long_balls": 2.7967,
                "total_own_half_passes": 18.6446,
                "accurate_own_half_passes": 15.6881,
                "total_opp_half_passes": 21.681,
                "accurate_opp_half_passes": 19.7899,
                "crosses_total": 1.0654,
                "crosses_accurate": 0.0,
                "touches": 57.6917,
                "possession_lost": 11.826,
                "dispossessed": 2.4238,
                "duels_lost": 6.3658,
                "aerial_won": 1.1,
                "aerial_lost": 1.5182,
                "interceptions": 2.4238,
                "tackles_won": 0.4528,
                "tackles": 2.0509,
                "clearances": 0.4528,
                "total_contest": 0.9855,
                "won_contest": 0.4528,
                "challenges_lost": 0.0,
                "fouls": 1.8911,
                "fouls_drawn": 0.5327,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0623,
                "ball_carries": 13.3975,
                "total_progression": 44.5749,
                "progressive_carries": 0.4528,
                "shots_off_target": 0.7264,
                "duel_xg_multiplier": 1.0097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.457,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0672,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.1084,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0672,
                "scorer_weight": 0.087,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0793,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.8833,
                "expected_assists": 0.1049,
                "assist_rate": 0.0962,
                "assists": 0,
                "expected_goals": 0.0696,
                "goal_rate": 0.1162,
                "goals": 0,
                "shots_on_target": 0.2465,
                "total_shots": 0.9729,
                "rating": 6.8224,
                "minutes": 88.0,
                "total_pass": 40.3256,
                "accurate_pass": 35.478,
                "duels_won": 3.0364,
                "total_long_balls": 3.7822,
                "accurate_long_balls": 2.7967,
                "total_own_half_passes": 18.6446,
                "accurate_own_half_passes": 15.6881,
                "total_opp_half_passes": 21.681,
                "accurate_opp_half_passes": 19.7899,
                "crosses_total": 1.0654,
                "crosses_accurate": 0.0,
                "touches": 57.6917,
                "possession_lost": 11.826,
                "dispossessed": 2.4238,
                "duels_lost": 6.3658,
                "aerial_won": 1.1,
                "aerial_lost": 1.5182,
                "interceptions": 2.4238,
                "tackles_won": 0.4528,
                "tackles": 2.0509,
                "clearances": 0.4528,
                "total_contest": 0.9855,
                "won_contest": 0.4528,
                "challenges_lost": 0.0,
                "fouls": 1.8911,
                "fouls_drawn": 0.5327,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0623,
                "ball_carries": 13.3975,
                "total_progression": 44.5749,
                "progressive_carries": 0.4528,
                "shots_off_target": 0.7264,
                "duel_xg_multiplier": 1.0097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.457,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0672,
                "projected_assists": 0,
                "assist_probability": 0.0996,
                "finishing_factor": 1.25,
                "creation_factor": 1.1084,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0996,
                "provider_weight": 0.1163,
                "squad_weight_total": 0.8566,
                "weight_share": 0.1357,
                "creation_factor": 1.1084,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            }
          ]
        },
        "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": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7285,
            "minutes": 80,
            "total_pass": 31,
            "accurate_pass": 27,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 11,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 51,
            "possession_lost": 6.6456,
            "dispossessed": 0.1798,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0076,
            "goals": 0,
            "assist_rate": 0.051,
            "assists": 0,
            "expected_goals": 0.0146,
            "expected_assists": 0.0683,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0103,
            "ball_carries": 10,
            "total_progression": 37,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "Iñigo Vicente",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0145,
            "projected_assists": 0,
            "assist_probability": 0.066,
            "finishing_factor": 0.9381,
            "creation_factor": 0.9777,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "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
            },
            {
              "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": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2891,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 4,
                "duels_won": 3
              },
              "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": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7285,
            "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": 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.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 37 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.8658,
                "tackles": 2.2665,
                "tackles_won": 1.4127,
                "clearances": 2.4195,
                "aerial_won": 0.7487,
                "total_shots": 0.4453,
                "rating": 6.7285,
                "minutes": 80.27,
                "total_pass": 30.5921,
                "accurate_pass": 27.5467,
                "duels_won": 4.4872,
                "total_long_balls": 1.7063,
                "accurate_long_balls": 0.8895,
                "total_own_half_passes": 17.9495,
                "accurate_own_half_passes": 16.6918,
                "total_opp_half_passes": 12.6426,
                "accurate_opp_half_passes": 10.8549,
                "crosses_total": 2.3866,
                "crosses_accurate": 0.6061,
                "touches": 51.4599,
                "possession_lost": 6.6576,
                "dispossessed": 0.1801,
                "duels_lost": 3.3735,
                "aerial_lost": 0.7645,
                "total_contest": 0.6357,
                "won_contest": 0.4896,
                "ball_recovery": 3.7353,
                "challenges_lost": 1.0067,
                "fouls": 1.2811,
                "fouls_drawn": 0.8548,
                "blocks": 0.2959,
                "goals": 0.0076,
                "goal_rate": 0.0076,
                "assists": 0.0513,
                "assist_rate": 0.0513,
                "expected_goals": 0.0114,
                "expected_assists": 0.0534,
                "shots_on_target": 0.0631,
                "big_chances_created": 0.0551,
                "xgot": 0.008,
                "ball_carries": 10.4502,
                "total_progression": 37.4883,
                "progressive_carries": 0.7458,
                "key_pass": 0.692,
                "shots_off_target": 0.3822
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Atlético Madrid",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.644,
                  "aerialWon": 0.3611,
                  "totalClearance_p90": 3.0835,
                  "totalTackle": 2.8225,
                  "totalPass": 29.4879
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8657810091972351,
                    "model_output": 0.8658,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1111
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1034
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0236
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0142
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0125
                        }
                      ],
                      "others": -0.004,
                      "total": 0.8658,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121629
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.112669
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.027647
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.016685
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.014476
                        }
                      ],
                      "others_margin": -0.004565
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.2665019035339355,
                    "model_output": 2.2665,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2004
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1656
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1481
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.1092
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.1059
                        }
                      ],
                      "others": 0.1416,
                      "total": 2.2665,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134151
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.0987
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.080694
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.055604
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.051105
                        }
                      ],
                      "others_margin": 0.064567
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.4126876592636108,
                    "model_output": 1.4127,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1243
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0859
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0804
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0792
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0707
                        }
                      ],
                      "others": 0.1144,
                      "total": 1.4127,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.135334
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.083816
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.072548
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.066683
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.055962
                        }
                      ],
                      "others_margin": 0.084573
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.4194889068603516,
                    "model_output": 2.4195,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.4373
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3967
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.3451
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2622
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2066
                        }
                      ],
                      "others": -0.1672,
                      "total": 2.4195,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.135905
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124055
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.107001
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.08972
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.076825
                        }
                      ],
                      "others_margin": -0.066856
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7487202882766724,
                    "model_output": 0.7487,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.5093
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1093
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0642
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0578
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.045
                        }
                      ],
                      "others": -0.0627,
                      "total": 0.7487,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.461239
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118451
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.06782
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.065261
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.054022
                        }
                      ],
                      "others_margin": -0.080426
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4453161656856537,
                    "model_output": 0.4453,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0607
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0502
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0146
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0107
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0083
                        }
                      ],
                      "others": -0.0205,
                      "total": 0.4453,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.060731
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.050189
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.014624
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.010683
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.008305
                        }
                      ],
                      "others_margin": -0.020543
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.728452682495117,
                    "model_output": 6.7285,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": -0.013
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0121
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0115
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0081
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0075
                        }
                      ],
                      "others": -0.0203,
                      "total": 6.7285,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": -0.012998
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.012051
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011455
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.008077
                        },
                        {
                          "name": "rating",
                          "margin": 0.007545
                        }
                      ],
                      "others_margin": -0.02048
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "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.9982, quality 0.454)",
              "stats": {
                "interceptions": 0.8642,
                "tackles": 2.2624,
                "tackles_won": 1.4101,
                "clearances": 2.4151,
                "aerial_won": 0.7474,
                "total_shots": 0.4445,
                "rating": 6.7285,
                "minutes": 80.27,
                "total_pass": 30.537,
                "accurate_pass": 27.4971,
                "duels_won": 4.4791,
                "total_long_balls": 1.7032,
                "accurate_long_balls": 0.8879,
                "total_own_half_passes": 17.9172,
                "accurate_own_half_passes": 16.6618,
                "total_opp_half_passes": 12.6198,
                "accurate_opp_half_passes": 10.8354,
                "crosses_total": 2.3823,
                "crosses_accurate": 0.605,
                "touches": 51.3673,
                "possession_lost": 6.6456,
                "dispossessed": 0.1798,
                "duels_lost": 3.3674,
                "aerial_lost": 0.7631,
                "total_contest": 0.6346,
                "won_contest": 0.4887,
                "ball_recovery": 3.7286,
                "challenges_lost": 1.0049,
                "fouls": 1.2788,
                "fouls_drawn": 0.8533,
                "blocks": 0.2954,
                "goals": 0.0076,
                "goal_rate": 0.0076,
                "assists": 0.0512,
                "assist_rate": 0.0512,
                "expected_goals": 0.0114,
                "expected_assists": 0.0533,
                "shots_on_target": 0.063,
                "big_chances_created": 0.055,
                "xgot": 0.008,
                "ball_carries": 10.4314,
                "total_progression": 37.4208,
                "progressive_carries": 0.7445,
                "key_pass": 0.6908,
                "shots_off_target": 0.3815
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.9982,
                "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.0041)",
              "stats": {
                "interceptions": 0.8606,
                "tackles": 2.2624,
                "tackles_won": 1.4043,
                "clearances": 2.4151,
                "aerial_won": 0.7474,
                "total_shots": 0.4427,
                "rating": 6.7285,
                "minutes": 80.27,
                "total_pass": 30.537,
                "accurate_pass": 27.4971,
                "duels_won": 4.4791,
                "total_long_balls": 1.7032,
                "accurate_long_balls": 0.8879,
                "total_own_half_passes": 17.9172,
                "accurate_own_half_passes": 16.6618,
                "total_opp_half_passes": 12.6198,
                "accurate_opp_half_passes": 10.8354,
                "crosses_total": 2.3771,
                "crosses_accurate": 0.605,
                "touches": 51.3673,
                "possession_lost": 6.6456,
                "dispossessed": 0.1798,
                "duels_lost": 3.3674,
                "aerial_lost": 0.7631,
                "total_contest": 0.6346,
                "won_contest": 0.4887,
                "ball_recovery": 3.7286,
                "challenges_lost": 1.0049,
                "fouls": 1.2781,
                "fouls_drawn": 0.859,
                "blocks": 0.2954,
                "goals": 0.0076,
                "goal_rate": 0.0076,
                "assists": 0.051,
                "assist_rate": 0.051,
                "expected_goals": 0.0114,
                "expected_assists": 0.0533,
                "shots_on_target": 0.0627,
                "big_chances_created": 0.055,
                "xgot": 0.008,
                "ball_carries": 10.4314,
                "total_progression": 37.4208,
                "progressive_carries": 0.7445,
                "key_pass": 0.6908,
                "shots_off_target": 0.3815
              },
              "params": {
                "blend_weight": 0.0041,
                "history_matches": 37,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8919,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.4101,
                  "after": 1.4043
                },
                {
                  "stat": "wasFouled",
                  "before": 0.8533,
                  "after": 0.859
                },
                {
                  "stat": "totalCross",
                  "before": 2.3823,
                  "after": 2.3771
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8606,
                "tackles": 2.2624,
                "tackles_won": 1.4043,
                "clearances": 2.4151,
                "aerial_won": 0.7474,
                "total_shots": 0.4442,
                "rating": 6.7285,
                "minutes": 80.27,
                "total_pass": 30.537,
                "accurate_pass": 27.4971,
                "duels_won": 4.4791,
                "total_long_balls": 1.7032,
                "accurate_long_balls": 0.8879,
                "total_own_half_passes": 17.9172,
                "accurate_own_half_passes": 16.6618,
                "total_opp_half_passes": 12.6198,
                "accurate_opp_half_passes": 10.8354,
                "crosses_total": 2.3771,
                "crosses_accurate": 0.605,
                "touches": 51.3673,
                "possession_lost": 6.6456,
                "dispossessed": 0.1798,
                "duels_lost": 3.3674,
                "aerial_lost": 0.7631,
                "total_contest": 0.6346,
                "won_contest": 0.4887,
                "ball_recovery": 3.7286,
                "challenges_lost": 1.0049,
                "fouls": 1.2781,
                "fouls_drawn": 0.859,
                "blocks": 0.2954,
                "goals": 0.0076,
                "goal_rate": 0.0076,
                "assists": 0.051,
                "assist_rate": 0.051,
                "expected_goals": 0.0114,
                "expected_assists": 0.0533,
                "shots_on_target": 0.0627,
                "big_chances_created": 0.055,
                "xgot": 0.008,
                "ball_carries": 10.4314,
                "total_progression": 37.4208,
                "progressive_carries": 0.7445,
                "key_pass": 0.6908,
                "shots_off_target": 0.3815
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 0.8606,
                "tackles": 2.2624,
                "tackles_won": 1.4043,
                "clearances": 2.4151,
                "aerial_won": 0.7474,
                "total_shots": 0.4442,
                "rating": 6.7285,
                "minutes": 80.27,
                "total_pass": 30.537,
                "accurate_pass": 27.4971,
                "duels_won": 4.4791,
                "total_long_balls": 1.7032,
                "accurate_long_balls": 0.8879,
                "total_own_half_passes": 17.9172,
                "accurate_own_half_passes": 16.6618,
                "total_opp_half_passes": 12.6198,
                "accurate_opp_half_passes": 10.8354,
                "crosses_total": 2.3771,
                "crosses_accurate": 0.605,
                "touches": 51.3673,
                "possession_lost": 6.6456,
                "dispossessed": 0.1798,
                "duels_lost": 3.3674,
                "aerial_lost": 0.7631,
                "total_contest": 0.6346,
                "won_contest": 0.4887,
                "ball_recovery": 3.7286,
                "challenges_lost": 1.0049,
                "fouls": 1.2781,
                "fouls_drawn": 0.859,
                "blocks": 0.2954,
                "goals": 0.0076,
                "goal_rate": 0.0076,
                "assists": 0.051,
                "assist_rate": 0.051,
                "expected_goals": 0.0114,
                "expected_assists": 0.0533,
                "shots_on_target": 0.0627,
                "big_chances_created": 0.055,
                "xgot": 0.008,
                "ball_carries": 10.4314,
                "total_progression": 37.4208,
                "progressive_carries": 0.7445,
                "key_pass": 0.6908,
                "shots_off_target": 0.3815,
                "opponent_faced": "Iñigo Vicente",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñigo Vicente",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "interceptions": 0.8606,
                "tackles": 2.2624,
                "tackles_won": 1.4043,
                "clearances": 2.4151,
                "aerial_won": 0.7474,
                "total_shots": 0.4442,
                "rating": 6.7285,
                "minutes": 80.27,
                "total_pass": 30.537,
                "accurate_pass": 27.4971,
                "duels_won": 4.4791,
                "total_long_balls": 1.7032,
                "accurate_long_balls": 0.8879,
                "total_own_half_passes": 17.9172,
                "accurate_own_half_passes": 16.6618,
                "total_opp_half_passes": 12.6198,
                "accurate_opp_half_passes": 10.8354,
                "crosses_total": 2.3771,
                "crosses_accurate": 0.605,
                "touches": 51.3673,
                "possession_lost": 6.6456,
                "dispossessed": 0.1798,
                "duels_lost": 3.3674,
                "aerial_lost": 0.7631,
                "total_contest": 0.6346,
                "won_contest": 0.4887,
                "ball_recovery": 3.7286,
                "challenges_lost": 1.0049,
                "fouls": 1.2781,
                "fouls_drawn": 0.859,
                "blocks": 0.2954,
                "goal_rate": 0.0076,
                "goals": 0,
                "assist_rate": 0.051,
                "assists": 0,
                "expected_goals": 0.0146,
                "expected_assists": 0.0683,
                "shots_on_target": 0.0627,
                "big_chances_created": 0.055,
                "xgot": 0.0103,
                "ball_carries": 10.4314,
                "total_progression": 37.4208,
                "progressive_carries": 0.7445,
                "key_pass": 0.6908,
                "shots_off_target": 0.3815,
                "opponent_faced": "Iñigo Vicente",
                "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.9381,
                "creation_factor": 0.9777
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0533,
                  "after": 0.0683
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "interceptions": 0.8606,
                "tackles": 2.2624,
                "tackles_won": 1.4043,
                "clearances": 2.4151,
                "aerial_won": 0.7474,
                "total_shots": 0.4442,
                "rating": 6.7285,
                "minutes": 80.27,
                "total_pass": 30.537,
                "accurate_pass": 27.4971,
                "duels_won": 4.4791,
                "total_long_balls": 1.7032,
                "accurate_long_balls": 0.8879,
                "total_own_half_passes": 17.9172,
                "accurate_own_half_passes": 16.6618,
                "total_opp_half_passes": 12.6198,
                "accurate_opp_half_passes": 10.8354,
                "crosses_total": 2.3771,
                "crosses_accurate": 0.605,
                "touches": 51.3673,
                "possession_lost": 6.6456,
                "dispossessed": 0.1798,
                "duels_lost": 3.3674,
                "aerial_lost": 0.7631,
                "total_contest": 0.6346,
                "won_contest": 0.4887,
                "ball_recovery": 3.7286,
                "challenges_lost": 1.0049,
                "fouls": 1.2781,
                "fouls_drawn": 0.859,
                "blocks": 0.2954,
                "goal_rate": 0.0076,
                "goals": 0,
                "assist_rate": 0.051,
                "assists": 0,
                "expected_goals": 0.0146,
                "expected_assists": 0.0683,
                "shots_on_target": 0.0627,
                "big_chances_created": 0.055,
                "xgot": 0.0103,
                "ball_carries": 10.4314,
                "total_progression": 37.4208,
                "progressive_carries": 0.7445,
                "key_pass": 0.6908,
                "shots_off_target": 0.3815,
                "opponent_faced": "Iñigo Vicente",
                "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.9381,
                "creation_factor": 0.9777,
                "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_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.8606,
                "tackles": 2.2624,
                "tackles_won": 1.4043,
                "clearances": 2.4151,
                "aerial_won": 0.7474,
                "total_shots": 0.4442,
                "rating": 6.7285,
                "minutes": 80.27,
                "total_pass": 30.537,
                "accurate_pass": 27.4971,
                "duels_won": 4.4791,
                "total_long_balls": 1.7032,
                "accurate_long_balls": 0.8879,
                "total_own_half_passes": 17.9172,
                "accurate_own_half_passes": 16.6618,
                "total_opp_half_passes": 12.6198,
                "accurate_opp_half_passes": 10.8354,
                "crosses_total": 2.3771,
                "crosses_accurate": 0.605,
                "touches": 51.3673,
                "possession_lost": 6.6456,
                "dispossessed": 0.1798,
                "duels_lost": 3.3674,
                "aerial_lost": 0.7631,
                "total_contest": 0.6346,
                "won_contest": 0.4887,
                "ball_recovery": 3.7286,
                "challenges_lost": 1.0049,
                "fouls": 1.2781,
                "fouls_drawn": 0.859,
                "blocks": 0.2954,
                "goal_rate": 0.0076,
                "goals": 0,
                "assist_rate": 0.051,
                "assists": 0,
                "expected_goals": 0.0146,
                "expected_assists": 0.0683,
                "shots_on_target": 0.0627,
                "big_chances_created": 0.055,
                "xgot": 0.0103,
                "ball_carries": 10.4314,
                "total_progression": 37.4208,
                "progressive_carries": 0.7445,
                "key_pass": 0.6908,
                "shots_off_target": 0.3815,
                "opponent_faced": "Iñigo Vicente",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0145,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9381,
                "creation_factor": 0.9777,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0145,
                "scorer_weight": 0.0137,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0125,
                "finishing_factor": 0.9381,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.8606,
                "tackles": 2.2624,
                "tackles_won": 1.4043,
                "clearances": 2.4151,
                "aerial_won": 0.7474,
                "total_shots": 0.4442,
                "rating": 6.7285,
                "minutes": 80.27,
                "total_pass": 30.537,
                "accurate_pass": 27.4971,
                "duels_won": 4.4791,
                "total_long_balls": 1.7032,
                "accurate_long_balls": 0.8879,
                "total_own_half_passes": 17.9172,
                "accurate_own_half_passes": 16.6618,
                "total_opp_half_passes": 12.6198,
                "accurate_opp_half_passes": 10.8354,
                "crosses_total": 2.3771,
                "crosses_accurate": 0.605,
                "touches": 51.3673,
                "possession_lost": 6.6456,
                "dispossessed": 0.1798,
                "duels_lost": 3.3674,
                "aerial_lost": 0.7631,
                "total_contest": 0.6346,
                "won_contest": 0.4887,
                "ball_recovery": 3.7286,
                "challenges_lost": 1.0049,
                "fouls": 1.2781,
                "fouls_drawn": 0.859,
                "blocks": 0.2954,
                "goal_rate": 0.0076,
                "goals": 0,
                "assist_rate": 0.051,
                "assists": 0,
                "expected_goals": 0.0146,
                "expected_assists": 0.0683,
                "shots_on_target": 0.0627,
                "big_chances_created": 0.055,
                "xgot": 0.0103,
                "ball_carries": 10.4314,
                "total_progression": 37.4208,
                "progressive_carries": 0.7445,
                "key_pass": 0.6908,
                "shots_off_target": 0.3815,
                "opponent_faced": "Iñigo Vicente",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0145,
                "projected_assists": 0,
                "assist_probability": 0.066,
                "finishing_factor": 0.9381,
                "creation_factor": 0.9777,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.066,
                "provider_weight": 0.0668,
                "squad_weight_total": 0.8566,
                "weight_share": 0.078,
                "creation_factor": 0.9777,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            }
          ]
        },
        "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": 6,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.8211,
            "minutes": 81,
            "total_pass": 53,
            "accurate_pass": 47,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "total_own_half_passes": 40,
            "accurate_own_half_passes": 38,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 66,
            "possession_lost": 6.2447,
            "dispossessed": 0.3298,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0087,
            "expected_assists": 0.0233,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 14,
            "total_progression": 47,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 1,
            "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.82,
            "opponent_faced": "Yassir Zabiri",
            "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.0087,
            "projected_assists": 0,
            "assist_probability": 0.023,
            "finishing_factor": 0.8803,
            "creation_factor": 0.8,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "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": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8211,
            "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.442,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.442,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9981,
            "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 3 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": 1.143,
                "tackles": 1.2456,
                "tackles_won": 0.7408,
                "clearances": 5.6125,
                "aerial_won": 2.1533,
                "total_shots": 0.5543,
                "rating": 6.8211,
                "minutes": 80.83,
                "total_pass": 53.24,
                "accurate_pass": 47.3139,
                "duels_won": 4.1594,
                "total_long_balls": 4.0408,
                "accurate_long_balls": 1.0496,
                "total_own_half_passes": 40.4626,
                "accurate_own_half_passes": 38.2469,
                "total_opp_half_passes": 12.7775,
                "accurate_opp_half_passes": 9.0671,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.9883,
                "possession_lost": 6.2566,
                "dispossessed": 0.3304,
                "duels_lost": 3.2157,
                "aerial_lost": 1.8853,
                "total_contest": 0.7775,
                "won_contest": 0.7775,
                "ball_recovery": 2.7775,
                "challenges_lost": 0.0,
                "fouls": 1.0,
                "fouls_drawn": 0.3887,
                "blocks": 1.4966,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0068,
                "expected_assists": 0.0182,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.0748,
                "total_progression": 47.4339,
                "progressive_carries": 0.7775,
                "key_pass": 0.7775,
                "shots_off_target": 0.5543
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.6045,
                  "aerialWon": 1.8853,
                  "totalClearance_p90": 5.2951,
                  "totalTackle": 1.1079,
                  "totalPass": 53.24
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1429715156555176,
                    "model_output": 1.143,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1106
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0894
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0331
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0281
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0188
                        }
                      ],
                      "others": 0.004,
                      "total": 1.143,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121129
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.088165
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.030812
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.02541
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.016685
                        }
                      ],
                      "others_margin": 0.003462
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2455543279647827,
                    "model_output": 1.2456,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1728
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0844
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0577
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0346
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0311
                        }
                      ],
                      "others": -0.1151,
                      "total": 1.2456,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.116717
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.055285
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.039645
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.024571
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.022631
                        }
                      ],
                      "others_margin": -0.088421
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7408479452133179,
                    "model_output": 0.7408,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1011
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0458
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0338
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0287
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0181
                        }
                      ],
                      "others": -0.0917,
                      "total": 0.7408,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111417
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.048904
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.037706
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.033196
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.02146
                        }
                      ],
                      "others_margin": -0.11669
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.612519264221191,
                    "model_output": 5.6125,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4621
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.5153
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3915
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2805
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1251
                        }
                      ],
                      "others": 0.3968,
                      "total": 5.6125,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126002
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.12401
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.084897
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.056684
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.02428
                        }
                      ],
                      "others_margin": 0.073318
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.1533291339874268,
                    "model_output": 2.1533,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.1903
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1779
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.1162
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1075
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0861
                        }
                      ],
                      "others": 0.0969,
                      "total": 2.1533,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.129338
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.107416
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.064435
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.056112
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.042787
                        }
                      ],
                      "others_margin": 0.046001
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5542576909065247,
                    "model_output": 0.5543,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0563
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0318
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0256
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0121
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0332,
                      "total": 0.5543,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.05633
                        },
                        {
                          "name": "rating",
                          "margin": 0.031808
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.025619
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.012127
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.010649
                        }
                      ],
                      "others_margin": -0.033297
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.821054935455322,
                    "model_output": 6.8211,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0224
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0202
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0147
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0088
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0084
                        }
                      ],
                      "others": 0.0068,
                      "total": 6.8211,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.022365
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.020182
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014655
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.008779
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.008394
                        }
                      ],
                      "others_margin": 0.006809
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 3,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9981, quality 0.495)",
              "stats": {
                "interceptions": 1.1408,
                "tackles": 1.2432,
                "tackles_won": 0.7394,
                "clearances": 5.6019,
                "aerial_won": 2.1492,
                "total_shots": 0.5532,
                "rating": 6.8211,
                "minutes": 80.83,
                "total_pass": 53.1388,
                "accurate_pass": 47.224,
                "duels_won": 4.1515,
                "total_long_balls": 4.0331,
                "accurate_long_balls": 1.0476,
                "total_own_half_passes": 40.3857,
                "accurate_own_half_passes": 38.1742,
                "total_opp_half_passes": 12.7532,
                "accurate_opp_half_passes": 9.0499,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.8629,
                "possession_lost": 6.2447,
                "dispossessed": 0.3298,
                "duels_lost": 3.2096,
                "aerial_lost": 1.8817,
                "total_contest": 0.776,
                "won_contest": 0.776,
                "ball_recovery": 2.7722,
                "challenges_lost": 0.0,
                "fouls": 0.9981,
                "fouls_drawn": 0.388,
                "blocks": 1.4938,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0068,
                "expected_assists": 0.0182,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.0481,
                "total_progression": 47.3438,
                "progressive_carries": 0.776,
                "key_pass": 0.776,
                "shots_off_target": 0.5532
              },
              "params": {
                "market_value_eur": 7700000,
                "quality_factor": 0.4951,
                "boost_factor": 0.9981,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0135)",
              "stats": {
                "interceptions": 1.1254,
                "tackles": 1.2432,
                "tackles_won": 0.7294,
                "clearances": 5.6019,
                "aerial_won": 2.1492,
                "total_shots": 0.5457,
                "rating": 6.8211,
                "minutes": 80.83,
                "total_pass": 53.1388,
                "accurate_pass": 47.224,
                "duels_won": 4.1515,
                "total_long_balls": 4.0331,
                "accurate_long_balls": 1.0476,
                "total_own_half_passes": 40.3857,
                "accurate_own_half_passes": 38.1742,
                "total_opp_half_passes": 12.7532,
                "accurate_opp_half_passes": 9.0499,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.8629,
                "possession_lost": 6.2447,
                "dispossessed": 0.3298,
                "duels_lost": 3.2096,
                "aerial_lost": 1.8817,
                "total_contest": 0.776,
                "won_contest": 0.776,
                "ball_recovery": 2.7722,
                "challenges_lost": 0.0,
                "fouls": 1.0089,
                "fouls_drawn": 0.3828,
                "blocks": 1.4938,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0068,
                "expected_assists": 0.0182,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.0481,
                "total_progression": 47.3438,
                "progressive_carries": 0.776,
                "key_pass": 0.776,
                "shots_off_target": 0.5532
              },
              "params": {
                "blend_weight": 0.0135,
                "history_matches": 3,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8981,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.1408,
                  "after": 1.1254
                },
                {
                  "stat": "fouls",
                  "before": 0.9981,
                  "after": 1.0089
                },
                {
                  "stat": "wonTackle",
                  "before": 0.7394,
                  "after": 0.7294
                },
                {
                  "stat": "totalShots",
                  "before": 0.5532,
                  "after": 0.5457
                },
                {
                  "stat": "wasFouled",
                  "before": 0.388,
                  "after": 0.3828
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1254,
                "tackles": 1.2432,
                "tackles_won": 0.7294,
                "clearances": 5.6019,
                "aerial_won": 2.1492,
                "total_shots": 0.5532,
                "rating": 6.8211,
                "minutes": 80.83,
                "total_pass": 53.1388,
                "accurate_pass": 47.224,
                "duels_won": 4.1515,
                "total_long_balls": 4.0331,
                "accurate_long_balls": 1.0476,
                "total_own_half_passes": 40.3857,
                "accurate_own_half_passes": 38.1742,
                "total_opp_half_passes": 12.7532,
                "accurate_opp_half_passes": 9.0499,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.8629,
                "possession_lost": 6.2447,
                "dispossessed": 0.3298,
                "duels_lost": 3.2096,
                "aerial_lost": 1.8817,
                "total_contest": 0.776,
                "won_contest": 0.776,
                "ball_recovery": 2.7722,
                "challenges_lost": 0.0,
                "fouls": 1.0089,
                "fouls_drawn": 0.3828,
                "blocks": 1.4938,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0068,
                "expected_assists": 0.0182,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.0481,
                "total_progression": 47.3438,
                "progressive_carries": 0.776,
                "key_pass": 0.776,
                "shots_off_target": 0.5532
              },
              "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.1254,
                "tackles": 1.2432,
                "tackles_won": 0.7294,
                "clearances": 5.6019,
                "aerial_won": 2.1492,
                "total_shots": 0.5532,
                "rating": 6.8211,
                "minutes": 80.83,
                "total_pass": 53.1388,
                "accurate_pass": 47.224,
                "duels_won": 4.1515,
                "total_long_balls": 4.0331,
                "accurate_long_balls": 1.0476,
                "total_own_half_passes": 40.3857,
                "accurate_own_half_passes": 38.1742,
                "total_opp_half_passes": 12.7532,
                "accurate_opp_half_passes": 9.0499,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.8629,
                "possession_lost": 6.2447,
                "dispossessed": 0.3298,
                "duels_lost": 3.2096,
                "aerial_lost": 1.8817,
                "total_contest": 0.776,
                "won_contest": 0.776,
                "ball_recovery": 2.7722,
                "challenges_lost": 0.0,
                "fouls": 1.0089,
                "fouls_drawn": 0.3828,
                "blocks": 1.4938,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0068,
                "expected_assists": 0.0182,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.0481,
                "total_progression": 47.3438,
                "progressive_carries": 0.776,
                "key_pass": 0.776,
                "shots_off_target": 0.5532,
                "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.82,
                "opponent_faced": "Yassir Zabiri",
                "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": "Yassir Zabiri",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "interceptions": 1.1254,
                "tackles": 1.2432,
                "tackles_won": 0.7294,
                "clearances": 5.6019,
                "aerial_won": 2.1492,
                "total_shots": 0.5532,
                "rating": 6.8211,
                "minutes": 80.83,
                "total_pass": 53.1388,
                "accurate_pass": 47.224,
                "duels_won": 4.1515,
                "total_long_balls": 4.0331,
                "accurate_long_balls": 1.0476,
                "total_own_half_passes": 40.3857,
                "accurate_own_half_passes": 38.1742,
                "total_opp_half_passes": 12.7532,
                "accurate_opp_half_passes": 9.0499,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.8629,
                "possession_lost": 6.2447,
                "dispossessed": 0.3298,
                "duels_lost": 3.2096,
                "aerial_lost": 1.8817,
                "total_contest": 0.776,
                "won_contest": 0.776,
                "ball_recovery": 2.7722,
                "challenges_lost": 0.0,
                "fouls": 1.0089,
                "fouls_drawn": 0.3828,
                "blocks": 1.4938,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0087,
                "expected_assists": 0.0233,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.0481,
                "total_progression": 47.3438,
                "progressive_carries": 0.776,
                "key_pass": 0.776,
                "shots_off_target": 0.5532,
                "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.82,
                "opponent_faced": "Yassir Zabiri",
                "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.8803,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0182,
                  "after": 0.0233
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "interceptions": 1.1254,
                "tackles": 1.2432,
                "tackles_won": 0.7294,
                "clearances": 5.6019,
                "aerial_won": 2.1492,
                "total_shots": 0.5532,
                "rating": 6.8211,
                "minutes": 80.83,
                "total_pass": 53.1388,
                "accurate_pass": 47.224,
                "duels_won": 4.1515,
                "total_long_balls": 4.0331,
                "accurate_long_balls": 1.0476,
                "total_own_half_passes": 40.3857,
                "accurate_own_half_passes": 38.1742,
                "total_opp_half_passes": 12.7532,
                "accurate_opp_half_passes": 9.0499,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.8629,
                "possession_lost": 6.2447,
                "dispossessed": 0.3298,
                "duels_lost": 3.2096,
                "aerial_lost": 1.8817,
                "total_contest": 0.776,
                "won_contest": 0.776,
                "ball_recovery": 2.7722,
                "challenges_lost": 0.0,
                "fouls": 1.0089,
                "fouls_drawn": 0.3828,
                "blocks": 1.4938,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0087,
                "expected_assists": 0.0233,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.0481,
                "total_progression": 47.3438,
                "progressive_carries": 0.776,
                "key_pass": 0.776,
                "shots_off_target": 0.5532,
                "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.82,
                "opponent_faced": "Yassir Zabiri",
                "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.8803,
                "creation_factor": 0.8,
                "fifa_overall": 76.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": 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": 1.1254,
                "tackles": 1.2432,
                "tackles_won": 0.7294,
                "clearances": 5.6019,
                "aerial_won": 2.1492,
                "total_shots": 0.5532,
                "rating": 6.8211,
                "minutes": 80.83,
                "total_pass": 53.1388,
                "accurate_pass": 47.224,
                "duels_won": 4.1515,
                "total_long_balls": 4.0331,
                "accurate_long_balls": 1.0476,
                "total_own_half_passes": 40.3857,
                "accurate_own_half_passes": 38.1742,
                "total_opp_half_passes": 12.7532,
                "accurate_opp_half_passes": 9.0499,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.8629,
                "possession_lost": 6.2447,
                "dispossessed": 0.3298,
                "duels_lost": 3.2096,
                "aerial_lost": 1.8817,
                "total_contest": 0.776,
                "won_contest": 0.776,
                "ball_recovery": 2.7722,
                "challenges_lost": 0.0,
                "fouls": 1.0089,
                "fouls_drawn": 0.3828,
                "blocks": 1.4938,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0087,
                "expected_assists": 0.0233,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.0481,
                "total_progression": 47.3438,
                "progressive_carries": 0.776,
                "key_pass": 0.776,
                "shots_off_target": 0.5532,
                "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.82,
                "opponent_faced": "Yassir Zabiri",
                "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.0087,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8803,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0087,
                "scorer_weight": 0.0077,
                "squad_weight_total": 1.0966,
                "weight_share": 0.007,
                "finishing_factor": 0.8803,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.1254,
                "tackles": 1.2432,
                "tackles_won": 0.7294,
                "clearances": 5.6019,
                "aerial_won": 2.1492,
                "total_shots": 0.5532,
                "rating": 6.8211,
                "minutes": 80.83,
                "total_pass": 53.1388,
                "accurate_pass": 47.224,
                "duels_won": 4.1515,
                "total_long_balls": 4.0331,
                "accurate_long_balls": 1.0476,
                "total_own_half_passes": 40.3857,
                "accurate_own_half_passes": 38.1742,
                "total_opp_half_passes": 12.7532,
                "accurate_opp_half_passes": 9.0499,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.8629,
                "possession_lost": 6.2447,
                "dispossessed": 0.3298,
                "duels_lost": 3.2096,
                "aerial_lost": 1.8817,
                "total_contest": 0.776,
                "won_contest": 0.776,
                "ball_recovery": 2.7722,
                "challenges_lost": 0.0,
                "fouls": 1.0089,
                "fouls_drawn": 0.3828,
                "blocks": 1.4938,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0087,
                "expected_assists": 0.0233,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.0481,
                "total_progression": 47.3438,
                "progressive_carries": 0.776,
                "key_pass": 0.776,
                "shots_off_target": 0.5532,
                "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.82,
                "opponent_faced": "Yassir Zabiri",
                "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.0087,
                "projected_assists": 0,
                "assist_probability": 0.023,
                "finishing_factor": 0.8803,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.023,
                "provider_weight": 0.0186,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0218,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13
              }
            }
          ]
        },
        "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.734,
            "minutes": 78,
            "total_pass": 40,
            "accurate_pass": 34,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 25,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 53,
            "possession_lost": 6.9723,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0416,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0516,
            "expected_assists": 0.0106,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0559,
            "ball_carries": 14,
            "total_progression": 35,
            "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.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Yassir Zabiri",
            "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.0503,
            "projected_assists": 0,
            "assist_probability": 0.0105,
            "finishing_factor": 1.0144,
            "creation_factor": 0.8576,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "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
            },
            {
              "match_id": 14083216,
              "match_date": "2025-09-14",
              "home_team": "FC Barcelona",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 65,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 9,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 3,
                "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": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.734,
            "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": 12,
          "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": 12,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.994,
            "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 12 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.1393,
                "tackles": 1.0768,
                "tackles_won": 0.6197,
                "clearances": 5.3909,
                "aerial_won": 2.0925,
                "total_shots": 0.4404,
                "rating": 6.734,
                "minutes": 77.76,
                "total_pass": 40.4243,
                "accurate_pass": 34.6849,
                "duels_won": 3.3453,
                "total_long_balls": 2.9726,
                "accurate_long_balls": 0.8454,
                "total_own_half_passes": 26.9045,
                "accurate_own_half_passes": 24.9487,
                "total_opp_half_passes": 13.5198,
                "accurate_opp_half_passes": 9.7362,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 53.0298,
                "possession_lost": 7.0144,
                "dispossessed": 0.0,
                "duels_lost": 1.6233,
                "aerial_lost": 0.6355,
                "total_contest": 0.5693,
                "won_contest": 0.2697,
                "ball_recovery": 3.5676,
                "challenges_lost": 0.1588,
                "fouls": 0.5727,
                "fouls_drawn": 0.3448,
                "blocks": 0.2605,
                "goals": 0.0433,
                "goal_rate": 0.0433,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0405,
                "expected_assists": 0.0083,
                "shots_on_target": 0.186,
                "big_chances_created": 0.0,
                "xgot": 0.0439,
                "ball_carries": 14.2299,
                "total_progression": 34.9528,
                "progressive_carries": 0.0,
                "key_pass": 0.0829,
                "shots_off_target": 0.2544
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1749,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1486,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1263,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1074,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0913,
                    "rating": 5.1
                  },
                  {
                    "match_date": "2025-10-04",
                    "opponent": "Girona FC",
                    "minutes": 6.0,
                    "is_starting": true,
                    "weight": 0.0776,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2025-09-30",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.066,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0561,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2025-09-20",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0477,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2025-09-14",
                    "opponent": "FC Barcelona",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0405,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 12.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.9602,
                  "aerialWon": 1.8044,
                  "totalClearance_p90": 6.9489,
                  "totalTackle": 0.6846,
                  "totalPass": 38.631
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1393120288848877,
                    "model_output": 1.1393,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0899
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.095
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0392
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0376
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0226
                        }
                      ],
                      "others": -0.004,
                      "total": 1.1393,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.099565
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.095375
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.036891
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.034121
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.020008
                        }
                      ],
                      "others_margin": -0.003504
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.0768014192581177,
                    "model_output": 1.0768,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1691
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.143
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1088
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0719
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0568
                        }
                      ],
                      "others": -0.1075,
                      "total": 1.0768,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114363
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.095862
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.079625
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.056331
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.046846
                        }
                      ],
                      "others_margin": -0.095121
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6196824908256531,
                    "model_output": 0.6197,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1017
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0879
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0685
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0401
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0353
                        }
                      ],
                      "others": -0.108,
                      "total": 0.6197,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112043
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.096052
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.081881
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.051176
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.047333
                        }
                      ],
                      "others_margin": -0.160727
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.39089822769165,
                    "model_output": 5.3909,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.462
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5179
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3525
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3383
                        },
                        {
                          "name": "rating",
                          "contribution": 0.1335
                        }
                      ],
                      "others": 0.1455,
                      "total": 5.3909,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.12597
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124584
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.076718
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.068475
                        },
                        {
                          "name": "rating",
                          "margin": 0.025773
                        }
                      ],
                      "others_margin": 0.027384
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.0925137996673584,
                    "model_output": 2.0925,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.2075
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1721
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1228
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.1191
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1026
                        }
                      ],
                      "others": 0.2282,
                      "total": 2.0925,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.14025
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.103022
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.067537
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.065415
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.056608
                        }
                      ],
                      "others_margin": 0.115437
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.44039300084114075,
                    "model_output": 0.4404,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0562
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0437
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0166
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0111
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0092
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.4404,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.056181
                        },
                        {
                          "name": "rating",
                          "margin": -0.043749
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.016645
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.01115
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.009192
                        }
                      ],
                      "others_margin": -0.007371
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.734018802642822,
                    "model_output": 6.734,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0203
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0168
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0108
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0085
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0084
                        }
                      ],
                      "others": -0.021,
                      "total": 6.734,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.020303
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.016769
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.010788
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.008515
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.008361
                        }
                      ],
                      "others_margin": -0.020966
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 12,
                  "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.9940, quality 0.437)",
              "stats": {
                "interceptions": 1.1325,
                "tackles": 1.0703,
                "tackles_won": 0.616,
                "clearances": 5.3586,
                "aerial_won": 2.08,
                "total_shots": 0.4378,
                "rating": 6.734,
                "minutes": 77.76,
                "total_pass": 40.1818,
                "accurate_pass": 34.4768,
                "duels_won": 3.3252,
                "total_long_balls": 2.9548,
                "accurate_long_balls": 0.8403,
                "total_own_half_passes": 26.7431,
                "accurate_own_half_passes": 24.799,
                "total_opp_half_passes": 13.4387,
                "accurate_opp_half_passes": 9.6778,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 52.7116,
                "possession_lost": 6.9723,
                "dispossessed": 0.0,
                "duels_lost": 1.6136,
                "aerial_lost": 0.6317,
                "total_contest": 0.5659,
                "won_contest": 0.2681,
                "ball_recovery": 3.5462,
                "challenges_lost": 0.1578,
                "fouls": 0.5693,
                "fouls_drawn": 0.3427,
                "blocks": 0.2589,
                "goals": 0.043,
                "goal_rate": 0.043,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0403,
                "expected_assists": 0.0083,
                "shots_on_target": 0.1849,
                "big_chances_created": 0.0,
                "xgot": 0.0436,
                "ball_carries": 14.1445,
                "total_progression": 34.7431,
                "progressive_carries": 0.0,
                "key_pass": 0.0824,
                "shots_off_target": 0.2529
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.994,
                "reference_quality": 0.505,
                "history_matches": 12,
                "history_shrink": 0.2941,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0319)",
              "stats": {
                "interceptions": 1.1515,
                "tackles": 1.0703,
                "tackles_won": 0.6074,
                "clearances": 5.3586,
                "aerial_won": 2.08,
                "total_shots": 0.4459,
                "rating": 6.734,
                "minutes": 77.76,
                "total_pass": 40.1818,
                "accurate_pass": 34.4768,
                "duels_won": 3.3252,
                "total_long_balls": 2.9548,
                "accurate_long_balls": 0.8403,
                "total_own_half_passes": 26.7431,
                "accurate_own_half_passes": 24.799,
                "total_opp_half_passes": 13.4387,
                "accurate_opp_half_passes": 9.6778,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 52.7116,
                "possession_lost": 6.9723,
                "dispossessed": 0.0,
                "duels_lost": 1.6136,
                "aerial_lost": 0.6317,
                "total_contest": 0.5659,
                "won_contest": 0.2681,
                "ball_recovery": 3.5462,
                "challenges_lost": 0.1578,
                "fouls": 0.5622,
                "fouls_drawn": 0.3428,
                "blocks": 0.2589,
                "goals": 0.0416,
                "goal_rate": 0.0416,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0403,
                "expected_assists": 0.0083,
                "shots_on_target": 0.179,
                "big_chances_created": 0.0,
                "xgot": 0.0436,
                "ball_carries": 14.1445,
                "total_progression": 34.7431,
                "progressive_carries": 0.0,
                "key_pass": 0.0824,
                "shots_off_target": 0.2529
              },
              "params": {
                "blend_weight": 0.0319,
                "history_matches": 12,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.864,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.1325,
                  "after": 1.1515
                },
                {
                  "stat": "wonTackle",
                  "before": 0.616,
                  "after": 0.6074
                },
                {
                  "stat": "totalShots",
                  "before": 0.4378,
                  "after": 0.4459
                },
                {
                  "stat": "fouls",
                  "before": 0.5693,
                  "after": 0.5622
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1849,
                  "after": 0.179
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1515,
                "tackles": 1.0703,
                "tackles_won": 0.6074,
                "clearances": 5.3586,
                "aerial_won": 2.08,
                "total_shots": 0.4459,
                "rating": 6.734,
                "minutes": 77.76,
                "total_pass": 40.1818,
                "accurate_pass": 34.4768,
                "duels_won": 3.3252,
                "total_long_balls": 2.9548,
                "accurate_long_balls": 0.8403,
                "total_own_half_passes": 26.7431,
                "accurate_own_half_passes": 24.799,
                "total_opp_half_passes": 13.4387,
                "accurate_opp_half_passes": 9.6778,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 52.7116,
                "possession_lost": 6.9723,
                "dispossessed": 0.0,
                "duels_lost": 1.6136,
                "aerial_lost": 0.6317,
                "total_contest": 0.5659,
                "won_contest": 0.2681,
                "ball_recovery": 3.5462,
                "challenges_lost": 0.1578,
                "fouls": 0.5622,
                "fouls_drawn": 0.3428,
                "blocks": 0.2589,
                "goals": 0.0416,
                "goal_rate": 0.0416,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0403,
                "expected_assists": 0.0083,
                "shots_on_target": 0.179,
                "big_chances_created": 0.0,
                "xgot": 0.0436,
                "ball_carries": 14.1445,
                "total_progression": 34.7431,
                "progressive_carries": 0.0,
                "key_pass": 0.0824,
                "shots_off_target": 0.2529
              },
              "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.1515,
                "tackles": 1.0703,
                "tackles_won": 0.6074,
                "clearances": 5.3586,
                "aerial_won": 2.08,
                "total_shots": 0.4459,
                "rating": 6.734,
                "minutes": 77.76,
                "total_pass": 40.1818,
                "accurate_pass": 34.4768,
                "duels_won": 3.3252,
                "total_long_balls": 2.9548,
                "accurate_long_balls": 0.8403,
                "total_own_half_passes": 26.7431,
                "accurate_own_half_passes": 24.799,
                "total_opp_half_passes": 13.4387,
                "accurate_opp_half_passes": 9.6778,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 52.7116,
                "possession_lost": 6.9723,
                "dispossessed": 0.0,
                "duels_lost": 1.6136,
                "aerial_lost": 0.6317,
                "total_contest": 0.5659,
                "won_contest": 0.2681,
                "ball_recovery": 3.5462,
                "challenges_lost": 0.1578,
                "fouls": 0.5622,
                "fouls_drawn": 0.3428,
                "blocks": 0.2589,
                "goals": 0.0416,
                "goal_rate": 0.0416,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0403,
                "expected_assists": 0.0083,
                "shots_on_target": 0.179,
                "big_chances_created": 0.0,
                "xgot": 0.0436,
                "ball_carries": 14.1445,
                "total_progression": 34.7431,
                "progressive_carries": 0.0,
                "key_pass": 0.0824,
                "shots_off_target": 0.2529,
                "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.82,
                "opponent_faced": "Yassir Zabiri",
                "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": "Yassir Zabiri",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "interceptions": 1.1515,
                "tackles": 1.0703,
                "tackles_won": 0.6074,
                "clearances": 5.3586,
                "aerial_won": 2.08,
                "total_shots": 0.4459,
                "rating": 6.734,
                "minutes": 77.76,
                "total_pass": 40.1818,
                "accurate_pass": 34.4768,
                "duels_won": 3.3252,
                "total_long_balls": 2.9548,
                "accurate_long_balls": 0.8403,
                "total_own_half_passes": 26.7431,
                "accurate_own_half_passes": 24.799,
                "total_opp_half_passes": 13.4387,
                "accurate_opp_half_passes": 9.6778,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 52.7116,
                "possession_lost": 6.9723,
                "dispossessed": 0.0,
                "duels_lost": 1.6136,
                "aerial_lost": 0.6317,
                "total_contest": 0.5659,
                "won_contest": 0.2681,
                "ball_recovery": 3.5462,
                "challenges_lost": 0.1578,
                "fouls": 0.5622,
                "fouls_drawn": 0.3428,
                "blocks": 0.2589,
                "goal_rate": 0.0416,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0516,
                "expected_assists": 0.0106,
                "shots_on_target": 0.179,
                "big_chances_created": 0.0,
                "xgot": 0.0559,
                "ball_carries": 14.1445,
                "total_progression": 34.7431,
                "progressive_carries": 0.0,
                "key_pass": 0.0824,
                "shots_off_target": 0.2529,
                "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.82,
                "opponent_faced": "Yassir Zabiri",
                "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.0144,
                "creation_factor": 0.8576
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0403,
                  "after": 0.0516
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "interceptions": 1.1515,
                "tackles": 1.0703,
                "tackles_won": 0.6074,
                "clearances": 5.3586,
                "aerial_won": 2.08,
                "total_shots": 0.4459,
                "rating": 6.734,
                "minutes": 77.76,
                "total_pass": 40.1818,
                "accurate_pass": 34.4768,
                "duels_won": 3.3252,
                "total_long_balls": 2.9548,
                "accurate_long_balls": 0.8403,
                "total_own_half_passes": 26.7431,
                "accurate_own_half_passes": 24.799,
                "total_opp_half_passes": 13.4387,
                "accurate_opp_half_passes": 9.6778,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 52.7116,
                "possession_lost": 6.9723,
                "dispossessed": 0.0,
                "duels_lost": 1.6136,
                "aerial_lost": 0.6317,
                "total_contest": 0.5659,
                "won_contest": 0.2681,
                "ball_recovery": 3.5462,
                "challenges_lost": 0.1578,
                "fouls": 0.5622,
                "fouls_drawn": 0.3428,
                "blocks": 0.2589,
                "goal_rate": 0.0416,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0516,
                "expected_assists": 0.0106,
                "shots_on_target": 0.179,
                "big_chances_created": 0.0,
                "xgot": 0.0559,
                "ball_carries": 14.1445,
                "total_progression": 34.7431,
                "progressive_carries": 0.0,
                "key_pass": 0.0824,
                "shots_off_target": 0.2529,
                "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.82,
                "opponent_faced": "Yassir Zabiri",
                "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.0144,
                "creation_factor": 0.8576,
                "fifa_overall": 76.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": 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.1515,
                "tackles": 1.0703,
                "tackles_won": 0.6074,
                "clearances": 5.3586,
                "aerial_won": 2.08,
                "total_shots": 0.4459,
                "rating": 6.734,
                "minutes": 77.76,
                "total_pass": 40.1818,
                "accurate_pass": 34.4768,
                "duels_won": 3.3252,
                "total_long_balls": 2.9548,
                "accurate_long_balls": 0.8403,
                "total_own_half_passes": 26.7431,
                "accurate_own_half_passes": 24.799,
                "total_opp_half_passes": 13.4387,
                "accurate_opp_half_passes": 9.6778,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 52.7116,
                "possession_lost": 6.9723,
                "dispossessed": 0.0,
                "duels_lost": 1.6136,
                "aerial_lost": 0.6317,
                "total_contest": 0.5659,
                "won_contest": 0.2681,
                "ball_recovery": 3.5462,
                "challenges_lost": 0.1578,
                "fouls": 0.5622,
                "fouls_drawn": 0.3428,
                "blocks": 0.2589,
                "goal_rate": 0.0416,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0516,
                "expected_assists": 0.0106,
                "shots_on_target": 0.179,
                "big_chances_created": 0.0,
                "xgot": 0.0559,
                "ball_carries": 14.1445,
                "total_progression": 34.7431,
                "progressive_carries": 0.0,
                "key_pass": 0.0824,
                "shots_off_target": 0.2529,
                "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.82,
                "opponent_faced": "Yassir Zabiri",
                "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.0503,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0144,
                "creation_factor": 0.8576,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0503,
                "scorer_weight": 0.0523,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0477,
                "finishing_factor": 1.0144,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.1515,
                "tackles": 1.0703,
                "tackles_won": 0.6074,
                "clearances": 5.3586,
                "aerial_won": 2.08,
                "total_shots": 0.4459,
                "rating": 6.734,
                "minutes": 77.76,
                "total_pass": 40.1818,
                "accurate_pass": 34.4768,
                "duels_won": 3.3252,
                "total_long_balls": 2.9548,
                "accurate_long_balls": 0.8403,
                "total_own_half_passes": 26.7431,
                "accurate_own_half_passes": 24.799,
                "total_opp_half_passes": 13.4387,
                "accurate_opp_half_passes": 9.6778,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 52.7116,
                "possession_lost": 6.9723,
                "dispossessed": 0.0,
                "duels_lost": 1.6136,
                "aerial_lost": 0.6317,
                "total_contest": 0.5659,
                "won_contest": 0.2681,
                "ball_recovery": 3.5462,
                "challenges_lost": 0.1578,
                "fouls": 0.5622,
                "fouls_drawn": 0.3428,
                "blocks": 0.2589,
                "goal_rate": 0.0416,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0516,
                "expected_assists": 0.0106,
                "shots_on_target": 0.179,
                "big_chances_created": 0.0,
                "xgot": 0.0559,
                "ball_carries": 14.1445,
                "total_progression": 34.7431,
                "progressive_carries": 0.0,
                "key_pass": 0.0824,
                "shots_off_target": 0.2529,
                "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.82,
                "opponent_faced": "Yassir Zabiri",
                "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.0503,
                "projected_assists": 0,
                "assist_probability": 0.0105,
                "finishing_factor": 1.0144,
                "creation_factor": 0.8576,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0105,
                "provider_weight": 0.0091,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0106,
                "creation_factor": 0.8576,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13
              }
            }
          ]
        },
        "Pablo Maffeo": {
          "player_id": 788216,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 24,
          "height": 173,
          "market_value": 2900000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6975,
            "minutes": 81,
            "total_pass": 32,
            "accurate_pass": 25,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 13,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 55,
            "possession_lost": 12.7866,
            "dispossessed": 0.2597,
            "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.0014,
            "goals": 0,
            "assist_rate": 0.1032,
            "assists": 0,
            "expected_goals": 0.0195,
            "expected_assists": 0.0948,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0211,
            "ball_carries": 12,
            "total_progression": 37,
            "progressive_carries": 0,
            "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.513,
            "opponent_faced": "Sergio 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.0193,
            "projected_assists": 0,
            "assist_probability": 0.0904,
            "finishing_factor": 0.8,
            "creation_factor": 1.2355,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "match_id": 14083457,
              "match_date": "2026-05-01",
              "home_team": "Girona FC",
              "away_team": "Mallorca",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0049,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 13,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true
            }
          ],
          "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": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6975,
            "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": 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.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 37 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.03,
                "tackles": 1.7896,
                "tackles_won": 1.0575,
                "clearances": 2.7154,
                "aerial_won": 0.9269,
                "total_shots": 0.4364,
                "rating": 6.6975,
                "minutes": 81.33,
                "total_pass": 31.9759,
                "accurate_pass": 25.5169,
                "duels_won": 4.1436,
                "total_long_balls": 4.494,
                "accurate_long_balls": 1.1732,
                "total_own_half_passes": 14.1456,
                "accurate_own_half_passes": 12.5388,
                "total_opp_half_passes": 17.8304,
                "accurate_opp_half_passes": 12.9782,
                "crosses_total": 3.2313,
                "crosses_accurate": 0.6136,
                "touches": 54.9479,
                "possession_lost": 12.8174,
                "dispossessed": 0.2603,
                "duels_lost": 4.276,
                "aerial_lost": 0.8799,
                "total_contest": 1.9123,
                "won_contest": 1.0404,
                "ball_recovery": 3.3147,
                "challenges_lost": 1.3076,
                "fouls": 0.9562,
                "fouls_drawn": 0.7731,
                "blocks": 0.6552,
                "goals": 0.0014,
                "goal_rate": 0.0014,
                "assists": 0.1038,
                "assist_rate": 0.1038,
                "expected_goals": 0.0152,
                "expected_assists": 0.0742,
                "shots_on_target": 0.1294,
                "big_chances_created": 0.1846,
                "xgot": 0.0165,
                "ball_carries": 11.79,
                "total_progression": 37.436,
                "progressive_carries": 0.4873,
                "key_pass": 0.6223,
                "shots_off_target": 0.307
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-01",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.9754,
                  "aerialWon": 0.8218,
                  "totalClearance_p90": 3.0541,
                  "totalTackle": 1.2756,
                  "totalPass": 28.2994
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0300079584121704,
                    "model_output": 1.03,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1129
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0568
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0251
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0249
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0217
                        }
                      ],
                      "others": 0.0232,
                      "total": 1.03,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123442
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.056763
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.024667
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.02449
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.021335
                        }
                      ],
                      "others_margin": 0.022904
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7896158695220947,
                    "model_output": 1.7896,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1985
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0519
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0496
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.05
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0328
                        }
                      ],
                      "others": 0.1149,
                      "total": 1.7896,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132946
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.033086
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.031659
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.030953
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.019761
                        }
                      ],
                      "others_margin": 0.066351
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.057506799697876,
                    "model_output": 1.0575,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1214
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0521
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0425
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0266
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0252
                        }
                      ],
                      "others": 0.0893,
                      "total": 1.0575,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132405
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.054727
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.044816
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.027782
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.026412
                        }
                      ],
                      "others_margin": 0.088213
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.7153513431549072,
                    "model_output": 2.7154,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5731
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.389
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.249
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2115
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.09
                        }
                      ],
                      "others": 0.0088,
                      "total": 2.7154,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.182184
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127188
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.079528
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.072919
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.032711
                        }
                      ],
                      "others_margin": 0.003267
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9269264340400696,
                    "model_output": 0.9269,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.2845
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1499
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0989
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0746
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0325
                        }
                      ],
                      "others": -0.1109,
                      "total": 0.9269,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.231209
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12845
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.082863
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.067344
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.030833
                        }
                      ],
                      "others_margin": -0.113009
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.43644413352012634,
                    "model_output": 0.4364,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0605
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0287
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.018
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0111
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0304,
                      "total": 0.4364,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.060505
                        },
                        {
                          "name": "rating",
                          "margin": -0.028712
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.018043
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.011077
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.008186
                        }
                      ],
                      "others_margin": -0.030362
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.697495460510254,
                    "model_output": 6.6975,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0218
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0154
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0146
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0133
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0107
                        }
                      ],
                      "others": -0.0127,
                      "total": 6.6975,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.021766
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.01536
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.014599
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013315
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.010731
                        }
                      ],
                      "others_margin": -0.012702
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "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.9976, quality 0.437)",
              "stats": {
                "interceptions": 1.0275,
                "tackles": 1.7853,
                "tackles_won": 1.055,
                "clearances": 2.7088,
                "aerial_won": 0.9247,
                "total_shots": 0.4354,
                "rating": 6.6975,
                "minutes": 81.33,
                "total_pass": 31.8992,
                "accurate_pass": 25.4557,
                "duels_won": 4.1337,
                "total_long_balls": 4.4832,
                "accurate_long_balls": 1.1704,
                "total_own_half_passes": 14.1117,
                "accurate_own_half_passes": 12.5087,
                "total_opp_half_passes": 17.7876,
                "accurate_opp_half_passes": 12.9471,
                "crosses_total": 3.2235,
                "crosses_accurate": 0.6121,
                "touches": 54.816,
                "possession_lost": 12.7866,
                "dispossessed": 0.2597,
                "duels_lost": 4.2657,
                "aerial_lost": 0.8778,
                "total_contest": 1.9077,
                "won_contest": 1.0379,
                "ball_recovery": 3.3067,
                "challenges_lost": 1.3045,
                "fouls": 0.9539,
                "fouls_drawn": 0.7712,
                "blocks": 0.6536,
                "goals": 0.0014,
                "goal_rate": 0.0014,
                "assists": 0.1036,
                "assist_rate": 0.1036,
                "expected_goals": 0.0152,
                "expected_assists": 0.074,
                "shots_on_target": 0.1291,
                "big_chances_created": 0.1842,
                "xgot": 0.0165,
                "ball_carries": 11.7617,
                "total_progression": 37.3462,
                "progressive_carries": 0.4861,
                "key_pass": 0.6208,
                "shots_off_target": 0.3063
              },
              "params": {
                "market_value_eur": 2900000,
                "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.0041)",
              "stats": {
                "interceptions": 1.0279,
                "tackles": 1.7853,
                "tackles_won": 1.0553,
                "clearances": 2.7088,
                "aerial_won": 0.9247,
                "total_shots": 0.4336,
                "rating": 6.6975,
                "minutes": 81.33,
                "total_pass": 31.8992,
                "accurate_pass": 25.4557,
                "duels_won": 4.1337,
                "total_long_balls": 4.4832,
                "accurate_long_balls": 1.1704,
                "total_own_half_passes": 14.1117,
                "accurate_own_half_passes": 12.5087,
                "total_opp_half_passes": 17.7876,
                "accurate_opp_half_passes": 12.9471,
                "crosses_total": 3.2335,
                "crosses_accurate": 0.6121,
                "touches": 54.816,
                "possession_lost": 12.7866,
                "dispossessed": 0.2597,
                "duels_lost": 4.2657,
                "aerial_lost": 0.8778,
                "total_contest": 1.9077,
                "won_contest": 1.0379,
                "ball_recovery": 3.3067,
                "challenges_lost": 1.3045,
                "fouls": 0.95,
                "fouls_drawn": 0.7727,
                "blocks": 0.6536,
                "goals": 0.0014,
                "goal_rate": 0.0014,
                "assists": 0.1032,
                "assist_rate": 0.1032,
                "expected_goals": 0.0152,
                "expected_assists": 0.074,
                "shots_on_target": 0.1286,
                "big_chances_created": 0.1842,
                "xgot": 0.0165,
                "ball_carries": 11.7617,
                "total_progression": 37.3462,
                "progressive_carries": 0.4861,
                "key_pass": 0.6208,
                "shots_off_target": 0.3063
              },
              "params": {
                "blend_weight": 0.0041,
                "history_matches": 37,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9037,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 3.2235,
                  "after": 3.2335
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0279,
                "tackles": 1.7853,
                "tackles_won": 1.0553,
                "clearances": 2.7088,
                "aerial_won": 0.9247,
                "total_shots": 0.4349,
                "rating": 6.6975,
                "minutes": 81.33,
                "total_pass": 31.8992,
                "accurate_pass": 25.4557,
                "duels_won": 4.1337,
                "total_long_balls": 4.4832,
                "accurate_long_balls": 1.1704,
                "total_own_half_passes": 14.1117,
                "accurate_own_half_passes": 12.5087,
                "total_opp_half_passes": 17.7876,
                "accurate_opp_half_passes": 12.9471,
                "crosses_total": 3.2335,
                "crosses_accurate": 0.6121,
                "touches": 54.816,
                "possession_lost": 12.7866,
                "dispossessed": 0.2597,
                "duels_lost": 4.2657,
                "aerial_lost": 0.8778,
                "total_contest": 1.9077,
                "won_contest": 1.0379,
                "ball_recovery": 3.3067,
                "challenges_lost": 1.3045,
                "fouls": 0.95,
                "fouls_drawn": 0.7727,
                "blocks": 0.6536,
                "goals": 0.0014,
                "goal_rate": 0.0014,
                "assists": 0.1032,
                "assist_rate": 0.1032,
                "expected_goals": 0.0152,
                "expected_assists": 0.074,
                "shots_on_target": 0.1286,
                "big_chances_created": 0.1842,
                "xgot": 0.0165,
                "ball_carries": 11.7617,
                "total_progression": 37.3462,
                "progressive_carries": 0.4861,
                "key_pass": 0.6208,
                "shots_off_target": 0.3063
              },
              "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.0279,
                "tackles": 1.7853,
                "tackles_won": 1.0553,
                "clearances": 2.7088,
                "aerial_won": 0.9247,
                "total_shots": 0.4349,
                "rating": 6.6975,
                "minutes": 81.33,
                "total_pass": 31.8992,
                "accurate_pass": 25.4557,
                "duels_won": 4.1337,
                "total_long_balls": 4.4832,
                "accurate_long_balls": 1.1704,
                "total_own_half_passes": 14.1117,
                "accurate_own_half_passes": 12.5087,
                "total_opp_half_passes": 17.7876,
                "accurate_opp_half_passes": 12.9471,
                "crosses_total": 3.2335,
                "crosses_accurate": 0.6121,
                "touches": 54.816,
                "possession_lost": 12.7866,
                "dispossessed": 0.2597,
                "duels_lost": 4.2657,
                "aerial_lost": 0.8778,
                "total_contest": 1.9077,
                "won_contest": 1.0379,
                "ball_recovery": 3.3067,
                "challenges_lost": 1.3045,
                "fouls": 0.95,
                "fouls_drawn": 0.7727,
                "blocks": 0.6536,
                "goals": 0.0014,
                "goal_rate": 0.0014,
                "assists": 0.1032,
                "assist_rate": 0.1032,
                "expected_goals": 0.0152,
                "expected_assists": 0.074,
                "shots_on_target": 0.1286,
                "big_chances_created": 0.1842,
                "xgot": 0.0165,
                "ball_carries": 11.7617,
                "total_progression": 37.3462,
                "progressive_carries": 0.4861,
                "key_pass": 0.6208,
                "shots_off_target": 0.3063,
                "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.513,
                "opponent_faced": "Sergio 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": "Sergio Canales",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "interceptions": 1.0279,
                "tackles": 1.7853,
                "tackles_won": 1.0553,
                "clearances": 2.7088,
                "aerial_won": 0.9247,
                "total_shots": 0.4349,
                "rating": 6.6975,
                "minutes": 81.33,
                "total_pass": 31.8992,
                "accurate_pass": 25.4557,
                "duels_won": 4.1337,
                "total_long_balls": 4.4832,
                "accurate_long_balls": 1.1704,
                "total_own_half_passes": 14.1117,
                "accurate_own_half_passes": 12.5087,
                "total_opp_half_passes": 17.7876,
                "accurate_opp_half_passes": 12.9471,
                "crosses_total": 3.2335,
                "crosses_accurate": 0.6121,
                "touches": 54.816,
                "possession_lost": 12.7866,
                "dispossessed": 0.2597,
                "duels_lost": 4.2657,
                "aerial_lost": 0.8778,
                "total_contest": 1.9077,
                "won_contest": 1.0379,
                "ball_recovery": 3.3067,
                "challenges_lost": 1.3045,
                "fouls": 0.95,
                "fouls_drawn": 0.7727,
                "blocks": 0.6536,
                "goal_rate": 0.0014,
                "goals": 0,
                "assist_rate": 0.1032,
                "assists": 0,
                "expected_goals": 0.0195,
                "expected_assists": 0.0948,
                "shots_on_target": 0.1286,
                "big_chances_created": 0.1842,
                "xgot": 0.0211,
                "ball_carries": 11.7617,
                "total_progression": 37.3462,
                "progressive_carries": 0.4861,
                "key_pass": 0.6208,
                "shots_off_target": 0.3063,
                "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.513,
                "opponent_faced": "Sergio 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.8,
                "creation_factor": 1.2355
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.074,
                  "after": 0.0948
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "interceptions": 1.0279,
                "tackles": 1.7853,
                "tackles_won": 1.0553,
                "clearances": 2.7088,
                "aerial_won": 0.9247,
                "total_shots": 0.4349,
                "rating": 6.6975,
                "minutes": 81.33,
                "total_pass": 31.8992,
                "accurate_pass": 25.4557,
                "duels_won": 4.1337,
                "total_long_balls": 4.4832,
                "accurate_long_balls": 1.1704,
                "total_own_half_passes": 14.1117,
                "accurate_own_half_passes": 12.5087,
                "total_opp_half_passes": 17.7876,
                "accurate_opp_half_passes": 12.9471,
                "crosses_total": 3.2335,
                "crosses_accurate": 0.6121,
                "touches": 54.816,
                "possession_lost": 12.7866,
                "dispossessed": 0.2597,
                "duels_lost": 4.2657,
                "aerial_lost": 0.8778,
                "total_contest": 1.9077,
                "won_contest": 1.0379,
                "ball_recovery": 3.3067,
                "challenges_lost": 1.3045,
                "fouls": 0.95,
                "fouls_drawn": 0.7727,
                "blocks": 0.6536,
                "goal_rate": 0.0014,
                "goals": 0,
                "assist_rate": 0.1032,
                "assists": 0,
                "expected_goals": 0.0195,
                "expected_assists": 0.0948,
                "shots_on_target": 0.1286,
                "big_chances_created": 0.1842,
                "xgot": 0.0211,
                "ball_carries": 11.7617,
                "total_progression": 37.3462,
                "progressive_carries": 0.4861,
                "key_pass": 0.6208,
                "shots_off_target": 0.3063,
                "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.513,
                "opponent_faced": "Sergio 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.8,
                "creation_factor": 1.2355,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 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.0279,
                "tackles": 1.7853,
                "tackles_won": 1.0553,
                "clearances": 2.7088,
                "aerial_won": 0.9247,
                "total_shots": 0.4349,
                "rating": 6.6975,
                "minutes": 81.33,
                "total_pass": 31.8992,
                "accurate_pass": 25.4557,
                "duels_won": 4.1337,
                "total_long_balls": 4.4832,
                "accurate_long_balls": 1.1704,
                "total_own_half_passes": 14.1117,
                "accurate_own_half_passes": 12.5087,
                "total_opp_half_passes": 17.7876,
                "accurate_opp_half_passes": 12.9471,
                "crosses_total": 3.2335,
                "crosses_accurate": 0.6121,
                "touches": 54.816,
                "possession_lost": 12.7866,
                "dispossessed": 0.2597,
                "duels_lost": 4.2657,
                "aerial_lost": 0.8778,
                "total_contest": 1.9077,
                "won_contest": 1.0379,
                "ball_recovery": 3.3067,
                "challenges_lost": 1.3045,
                "fouls": 0.95,
                "fouls_drawn": 0.7727,
                "blocks": 0.6536,
                "goal_rate": 0.0014,
                "goals": 0,
                "assist_rate": 0.1032,
                "assists": 0,
                "expected_goals": 0.0195,
                "expected_assists": 0.0948,
                "shots_on_target": 0.1286,
                "big_chances_created": 0.1842,
                "xgot": 0.0211,
                "ball_carries": 11.7617,
                "total_progression": 37.3462,
                "progressive_carries": 0.4861,
                "key_pass": 0.6208,
                "shots_off_target": 0.3063,
                "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.513,
                "opponent_faced": "Sergio 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.0193,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.2355,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0193,
                "scorer_weight": 0.0156,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0142,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.0279,
                "tackles": 1.7853,
                "tackles_won": 1.0553,
                "clearances": 2.7088,
                "aerial_won": 0.9247,
                "total_shots": 0.4349,
                "rating": 6.6975,
                "minutes": 81.33,
                "total_pass": 31.8992,
                "accurate_pass": 25.4557,
                "duels_won": 4.1337,
                "total_long_balls": 4.4832,
                "accurate_long_balls": 1.1704,
                "total_own_half_passes": 14.1117,
                "accurate_own_half_passes": 12.5087,
                "total_opp_half_passes": 17.7876,
                "accurate_opp_half_passes": 12.9471,
                "crosses_total": 3.2335,
                "crosses_accurate": 0.6121,
                "touches": 54.816,
                "possession_lost": 12.7866,
                "dispossessed": 0.2597,
                "duels_lost": 4.2657,
                "aerial_lost": 0.8778,
                "total_contest": 1.9077,
                "won_contest": 1.0379,
                "ball_recovery": 3.3067,
                "challenges_lost": 1.3045,
                "fouls": 0.95,
                "fouls_drawn": 0.7727,
                "blocks": 0.6536,
                "goal_rate": 0.0014,
                "goals": 0,
                "assist_rate": 0.1032,
                "assists": 0,
                "expected_goals": 0.0195,
                "expected_assists": 0.0948,
                "shots_on_target": 0.1286,
                "big_chances_created": 0.1842,
                "xgot": 0.0211,
                "ball_carries": 11.7617,
                "total_progression": 37.3462,
                "progressive_carries": 0.4861,
                "key_pass": 0.6208,
                "shots_off_target": 0.3063,
                "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.513,
                "opponent_faced": "Sergio 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.0193,
                "projected_assists": 0,
                "assist_probability": 0.0904,
                "finishing_factor": 0.8,
                "creation_factor": 1.2355,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0904,
                "provider_weight": 0.1171,
                "squad_weight_total": 0.8566,
                "weight_share": 0.1367,
                "creation_factor": 1.2355,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            }
          ]
        },
        "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.0811,
            "rating": 6.9076,
            "minutes": 90,
            "total_pass": 34,
            "accurate_pass": 20,
            "total_long_balls": 17,
            "accurate_long_balls": 4,
            "touches": 44,
            "clearances": 1,
            "ball_recovery": 9,
            "high_claims": 2,
            "punches": 0.6166,
            "aerial_won": 0,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 2,
            "possession_lost": 14.6361,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 17,
            "gk_engine_opponent_lambda": 1.464,
            "shots_faced": 13.5,
            "expected_saves": 3.3,
            "high_pressure_saves": 1.14,
            "opponent_faced": "Yassir Zabiri, Pablo García",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 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"
            },
            {
              "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": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 22,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 10,
                "saves": 2,
                "goals_prevented": -0.4706
              },
              "has_player_stats": true,
              "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": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9076,
            "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": 27,
          "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": 27,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9968,
            "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 27 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": 2.9301,
                "goals_prevented": -0.0814,
                "rating": 6.9076,
                "minutes": 90.0,
                "total_pass": 33.9532,
                "accurate_pass": 19.7326,
                "total_long_balls": 17.4005,
                "accurate_long_balls": 4.0156,
                "touches": 44.4492,
                "clearances": 1.0153,
                "ball_recovery": 9.1132,
                "high_claims": 1.9034,
                "punches": 0.6186,
                "aerial_won": 0.2465,
                "sweeper_actions": 1.1443,
                "sweeper_accurate": 1.1198,
                "saves_inside_box": 1.8755,
                "possession_lost": 14.6831,
                "duels_won": 0.4674,
                "duels_lost": 0.0254,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2122,
                "total_own_half_passes": 20.7219,
                "accurate_own_half_passes": 17.2799
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-11T10:25:02.791090+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 199,
                    "rows": 6859
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1097,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0933,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0793,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0414,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.7298,
                  "accurateOwnHalfPasses": 17.2799,
                  "accurateLongBalls": 4.0156,
                  "aerialWon": 0.2465,
                  "accurateKeeperSweeper": 1.1199,
                  "sweeper_accuracy": 0.3945
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.930142879486084,
                    "model_output": 2.9301,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0396
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0378
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      },
                      {
                        "name": "goalsPrevented",
                        "importance": 0.0361
                      }
                    ],
                    "decomposition": {
                      "base": 2.9355,
                      "items": [
                        {
                          "name": "saves",
                          "contribution": -0.0351
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0303
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0204
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0112
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.011
                        }
                      ],
                      "others": -0.0024,
                      "total": 2.9301,
                      "log_link": true,
                      "margin_base": 1.07688,
                      "item_margins": [
                        {
                          "name": "saves",
                          "margin": -0.012029
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.010383
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.006989
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": 0.003824
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.003755
                        }
                      ],
                      "others_margin": -0.000773
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.08136919885873795,
                    "model_output": -0.0814,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0412
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0404
                      },
                      {
                        "name": "punches",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0375
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0375
                      }
                    ],
                    "decomposition": {
                      "base": -0.0216,
                      "items": [
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0391
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0191
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0139
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0133
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0125
                        }
                      ],
                      "others": 0.0131,
                      "total": -0.0814,
                      "log_link": false,
                      "margin_base": -0.021558,
                      "item_margins": [
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.039103
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.019061
                        },
                        {
                          "name": "commanding_index",
                          "margin": -0.013907
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.013325
                        },
                        {
                          "name": "punches",
                          "margin": 0.012471
                        }
                      ],
                      "others_margin": 0.013114
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.907574653625488,
                    "model_output": 6.9076,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0396
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0389
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.038
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0369
                      },
                      {
                        "name": "touches",
                        "importance": 0.0361
                      }
                    ],
                    "decomposition": {
                      "base": 7.0028,
                      "items": [
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0446
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0262
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0206
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0162
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0153
                        }
                      ],
                      "others": -0.0135,
                      "total": 6.9076,
                      "log_link": false,
                      "margin_base": 7.00281,
                      "item_margins": [
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.044552
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.026246
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.020553
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.016155
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.015317
                        }
                      ],
                      "others_margin": -0.013519
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 27,
                  "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.9968, quality 0.437)",
              "stats": {
                "saves": 2.9208,
                "goals_prevented": -0.0811,
                "rating": 6.9076,
                "minutes": 90.0,
                "total_pass": 33.8445,
                "accurate_pass": 19.6695,
                "total_long_balls": 17.3448,
                "accurate_long_balls": 4.0028,
                "touches": 44.307,
                "clearances": 1.0121,
                "ball_recovery": 9.084,
                "high_claims": 1.8973,
                "punches": 0.6166,
                "aerial_won": 0.2457,
                "sweeper_actions": 1.1406,
                "sweeper_accurate": 1.1162,
                "saves_inside_box": 1.8695,
                "possession_lost": 14.6361,
                "duels_won": 0.4659,
                "duels_lost": 0.0253,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2115,
                "total_own_half_passes": 20.6556,
                "accurate_own_half_passes": 17.2246
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9968,
                "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.0203)",
              "stats": {
                "saves": 2.9156,
                "goals_prevented": -0.0811,
                "rating": 6.9076,
                "minutes": 90.0,
                "total_pass": 33.8445,
                "accurate_pass": 19.6695,
                "total_long_balls": 17.3448,
                "accurate_long_balls": 4.0028,
                "touches": 44.307,
                "clearances": 1.0121,
                "ball_recovery": 9.084,
                "high_claims": 1.8973,
                "punches": 0.6166,
                "aerial_won": 0.2457,
                "sweeper_actions": 1.1406,
                "sweeper_accurate": 1.1162,
                "saves_inside_box": 1.8695,
                "possession_lost": 14.6361,
                "duels_won": 0.4659,
                "duels_lost": 0.0253,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2072,
                "total_own_half_passes": 20.6556,
                "accurate_own_half_passes": 17.2246
              },
              "params": {
                "blend_weight": 0.0203,
                "history_matches": 27,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.9208,
                  "after": 2.9156
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.9156,
                "goals_prevented": -0.0811,
                "rating": 6.9076,
                "minutes": 90.0,
                "total_pass": 33.8445,
                "accurate_pass": 19.6695,
                "total_long_balls": 17.3448,
                "accurate_long_balls": 4.0028,
                "touches": 44.307,
                "clearances": 1.0121,
                "ball_recovery": 9.084,
                "high_claims": 1.8973,
                "punches": 0.6166,
                "aerial_won": 0.2457,
                "sweeper_actions": 1.1406,
                "sweeper_accurate": 1.1162,
                "saves_inside_box": 1.8695,
                "possession_lost": 14.6361,
                "duels_won": 0.4659,
                "duels_lost": 0.0253,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2072,
                "total_own_half_passes": 20.6556,
                "accurate_own_half_passes": 17.2246
              },
              "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.9156,
                "goals_prevented": -0.0811,
                "rating": 6.9076,
                "minutes": 90.0,
                "total_pass": 33.8445,
                "accurate_pass": 19.6695,
                "total_long_balls": 17.3448,
                "accurate_long_balls": 4.0028,
                "touches": 44.307,
                "clearances": 1.0121,
                "ball_recovery": 9.084,
                "high_claims": 1.8973,
                "punches": 0.6166,
                "aerial_won": 0.2457,
                "sweeper_actions": 1.1406,
                "sweeper_accurate": 1.1162,
                "saves_inside_box": 1.8695,
                "possession_lost": 14.6361,
                "duels_won": 0.4659,
                "duels_lost": 0.0253,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2072,
                "total_own_half_passes": 20.6556,
                "accurate_own_half_passes": 17.2246,
                "gk_engine_opponent_lambda": 1.464,
                "shots_faced": 13.9,
                "expected_saves": 3.4,
                "high_pressure_saves": 1.17,
                "opponent_faced": "Yassir Zabiri, Pablo García",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Yassir Zabiri, Pablo García",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.464
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "saves": 2.9156,
                "goals_prevented": -0.0811,
                "rating": 6.9076,
                "minutes": 90.0,
                "total_pass": 33.8445,
                "accurate_pass": 19.6695,
                "total_long_balls": 17.3448,
                "accurate_long_balls": 4.0028,
                "touches": 44.307,
                "clearances": 1.0121,
                "ball_recovery": 9.084,
                "high_claims": 1.8973,
                "punches": 0.6166,
                "aerial_won": 0.2457,
                "sweeper_actions": 1.1406,
                "sweeper_accurate": 1.1162,
                "saves_inside_box": 1.8695,
                "possession_lost": 14.6361,
                "duels_won": 0.4659,
                "duels_lost": 0.0253,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2072,
                "total_own_half_passes": 20.6556,
                "accurate_own_half_passes": 17.2246,
                "gk_engine_opponent_lambda": 1.464,
                "shots_faced": 13.5,
                "expected_saves": 3.3,
                "high_pressure_saves": 1.14,
                "opponent_faced": "Yassir Zabiri, Pablo García",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 13.9,
                  "after": 13.5
                },
                {
                  "stat": "expected_saves",
                  "before": 3.4,
                  "after": 3.3
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.17,
                  "after": 1.14
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "saves": 2.9156,
                "goals_prevented": -0.0811,
                "rating": 6.9076,
                "minutes": 90.0,
                "total_pass": 33.8445,
                "accurate_pass": 19.6695,
                "total_long_balls": 17.3448,
                "accurate_long_balls": 4.0028,
                "touches": 44.307,
                "clearances": 1.0121,
                "ball_recovery": 9.084,
                "high_claims": 1.8973,
                "punches": 0.6166,
                "aerial_won": 0.2457,
                "sweeper_actions": 1.1406,
                "sweeper_accurate": 1.1162,
                "saves_inside_box": 1.8695,
                "possession_lost": 14.6361,
                "duels_won": 0.4659,
                "duels_lost": 0.0253,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2072,
                "total_own_half_passes": 20.6556,
                "accurate_own_half_passes": 17.2246,
                "gk_engine_opponent_lambda": 1.464,
                "shots_faced": 13.5,
                "expected_saves": 3.3,
                "high_pressure_saves": 1.14,
                "opponent_faced": "Yassir Zabiri, Pablo García",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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": 2.9156,
                "goals_prevented": -0.0811,
                "rating": 6.9076,
                "minutes": 90.0,
                "total_pass": 33.8445,
                "accurate_pass": 19.6695,
                "total_long_balls": 17.3448,
                "accurate_long_balls": 4.0028,
                "touches": 44.307,
                "clearances": 1.0121,
                "ball_recovery": 9.084,
                "high_claims": 1.8973,
                "punches": 0.6166,
                "aerial_won": 0.2457,
                "sweeper_actions": 1.1406,
                "sweeper_accurate": 1.1162,
                "saves_inside_box": 1.8695,
                "possession_lost": 14.6361,
                "duels_won": 0.4659,
                "duels_lost": 0.0253,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2072,
                "total_own_half_passes": 20.6556,
                "accurate_own_half_passes": 17.2246,
                "gk_engine_opponent_lambda": 1.464,
                "shots_faced": 13.5,
                "expected_saves": 3.3,
                "high_pressure_saves": 1.14,
                "opponent_faced": "Yassir Zabiri, Pablo García",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.0966,
                "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.9156,
                "goals_prevented": -0.0811,
                "rating": 6.9076,
                "minutes": 90.0,
                "total_pass": 33.8445,
                "accurate_pass": 19.6695,
                "total_long_balls": 17.3448,
                "accurate_long_balls": 4.0028,
                "touches": 44.307,
                "clearances": 1.0121,
                "ball_recovery": 9.084,
                "high_claims": 1.8973,
                "punches": 0.6166,
                "aerial_won": 0.2457,
                "sweeper_actions": 1.1406,
                "sweeper_accurate": 1.1162,
                "saves_inside_box": 1.8695,
                "possession_lost": 14.6361,
                "duels_won": 0.4659,
                "duels_lost": 0.0253,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2072,
                "total_own_half_passes": 20.6556,
                "accurate_own_half_passes": 17.2246,
                "gk_engine_opponent_lambda": 1.464,
                "shots_faced": 13.5,
                "expected_saves": 3.3,
                "high_pressure_saves": 1.14,
                "opponent_faced": "Yassir Zabiri, Pablo García",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0
              }
            }
          ]
        },
        "Guido Rodríguez": {
          "player_id": 609752,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 2,
          "height": 185,
          "market_value": 4200000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0486,
            "assist_rate": 0.0563,
            "assists": 0,
            "expected_goals": 0.0755,
            "goal_rate": 0.0773,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0982,
            "minutes": 84,
            "total_pass": 47,
            "accurate_pass": 41,
            "duels_won": 7,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 23,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 18,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 63,
            "possession_lost": 9.7374,
            "dispossessed": 1.2635,
            "duels_lost": 6,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 2,
            "tackles": 3,
            "clearances": 2,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0714,
            "ball_carries": 12,
            "total_progression": 23,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0351,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.474,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iván Martín",
            "opponent_faced": "Iván Martín",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0727,
            "projected_assists": 0,
            "assist_probability": 0.0474,
            "finishing_factor": 1.169,
            "creation_factor": 1.2093,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "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
            },
            {
              "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": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2899,
                "expected_assists": 0.0223,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 26,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "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.0982,
            "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": 26,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 26,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9975,
            "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 26 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.5482,
                "expected_assists": 0.038,
                "assists": 0.0572,
                "assist_rate": 0.0572,
                "expected_goals": 0.0571,
                "goals": 0.076,
                "goal_rate": 0.076,
                "shots_on_target": 0.2205,
                "total_shots": 0.859,
                "rating": 7.0982,
                "minutes": 83.7,
                "total_pass": 47.603,
                "accurate_pass": 40.8005,
                "duels_won": 6.8957,
                "total_long_balls": 5.2414,
                "accurate_long_balls": 3.2624,
                "total_own_half_passes": 25.1521,
                "accurate_own_half_passes": 22.7943,
                "total_opp_half_passes": 22.451,
                "accurate_opp_half_passes": 18.0063,
                "crosses_total": 0.0867,
                "crosses_accurate": 0.0136,
                "touches": 62.9323,
                "possession_lost": 9.7618,
                "dispossessed": 1.2667,
                "duels_lost": 5.5307,
                "aerial_won": 1.3567,
                "aerial_lost": 0.9437,
                "interceptions": 1.0461,
                "tackles_won": 2.176,
                "tackles": 3.04,
                "clearances": 1.8958,
                "total_contest": 1.2301,
                "won_contest": 0.6235,
                "challenges_lost": 1.4078,
                "fouls": 1.47,
                "fouls_drawn": 1.8755,
                "blocks": 0.4149,
                "big_chances_created": 0.043,
                "big_chances_missed": 0.0,
                "xgot": 0.0539,
                "ball_carries": 12.1531,
                "total_progression": 22.7542,
                "progressive_carries": 0.3482,
                "shots_off_target": 0.6385
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1522,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.1294,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.11,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0935,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0795,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0675,
                    "rating": 8.4
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0574,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0488,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0415,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0353,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.7005,
                  "creative_index": 0.2045,
                  "expectedGoals": 0.0415,
                  "expectedAssists": 0.0334,
                  "onTargetScoringAttempt": 0.3191
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5482182502746582,
                    "model_output": 0.5482,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1282
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1156
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0921
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0731
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0333
                        }
                      ],
                      "others": -0.1516,
                      "total": 0.5482,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.135152
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.121029
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.108158
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.095064
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.046422
                        }
                      ],
                      "others_margin": -0.24413
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.037956107407808304,
                    "model_output": 0.038,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0205
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0108
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0064
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.014,
                      "total": 0.038,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.273435
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.181298
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.131488
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.108838
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.062296
                        }
                      ],
                      "others_margin": -0.318018
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05722369998693466,
                    "model_output": 0.0572,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0103
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0066
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0053
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.01,
                      "total": 0.0572,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.128105
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.096283
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.083204
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.071956
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.058559
                        }
                      ],
                      "others_margin": -0.158929
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05709008499979973,
                    "model_output": 0.0571,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0116
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0089
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0085
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0078
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0571,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.132376
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.114935
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.109743
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.099891
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.057103
                        }
                      ],
                      "others_margin": -0.200123
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07595770806074142,
                    "model_output": 0.076,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0123
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0091
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.007
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0059
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.004
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.076,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.135897
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.114634
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.088467
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.074674
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.050585
                        }
                      ],
                      "others_margin": -0.054319
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22051206231117249,
                    "model_output": 0.2205,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.062
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0301
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0301
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.017
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0094
                        }
                      ],
                      "others": -0.0339,
                      "total": 0.2205,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.212217
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.121878
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121868
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.066902
                        },
                        {
                          "name": "rating",
                          "margin": 0.037629
                        }
                      ],
                      "others_margin": -0.143429
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8590499758720398,
                    "model_output": 0.859,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1356
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0712
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0554
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0482
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0252
                        }
                      ],
                      "others": -0.117,
                      "total": 0.859,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.135558
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.071178
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.05538
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.048246
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.02522
                        }
                      ],
                      "others_margin": -0.116906
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.09818172454834,
                    "model_output": 7.0982,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1433
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.099
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0344
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0247
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0239
                        }
                      ],
                      "others": -0.0281,
                      "total": 7.0982,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.143269
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.099046
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.034359
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.024699
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.023864
                        }
                      ],
                      "others_margin": -0.028013
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 26,
                  "role_matches": 20,
                  "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.9975, quality 0.452)",
              "stats": {
                "key_pass": 0.5468,
                "expected_assists": 0.0379,
                "assists": 0.0571,
                "assist_rate": 0.0571,
                "expected_goals": 0.0569,
                "goals": 0.0758,
                "goal_rate": 0.0758,
                "shots_on_target": 0.22,
                "total_shots": 0.8569,
                "rating": 7.0982,
                "minutes": 83.7,
                "total_pass": 47.484,
                "accurate_pass": 40.6985,
                "duels_won": 6.8785,
                "total_long_balls": 5.2283,
                "accurate_long_balls": 3.2542,
                "total_own_half_passes": 25.0892,
                "accurate_own_half_passes": 22.7373,
                "total_opp_half_passes": 22.3949,
                "accurate_opp_half_passes": 17.9613,
                "crosses_total": 0.0865,
                "crosses_accurate": 0.0136,
                "touches": 62.775,
                "possession_lost": 9.7374,
                "dispossessed": 1.2635,
                "duels_lost": 5.5169,
                "aerial_won": 1.3533,
                "aerial_lost": 0.9413,
                "interceptions": 1.0435,
                "tackles_won": 2.1706,
                "tackles": 3.0324,
                "clearances": 1.8911,
                "total_contest": 1.227,
                "won_contest": 0.6219,
                "challenges_lost": 1.4043,
                "fouls": 1.4663,
                "fouls_drawn": 1.8708,
                "blocks": 0.4139,
                "big_chances_created": 0.0429,
                "big_chances_missed": 0.0,
                "xgot": 0.0538,
                "ball_carries": 12.1227,
                "total_progression": 22.6973,
                "progressive_carries": 0.3473,
                "shots_off_target": 0.6369
              },
              "params": {
                "market_value_eur": 4200000,
                "quality_factor": 0.4523,
                "boost_factor": 0.9975,
                "reference_quality": 0.505,
                "history_matches": 26,
                "history_shrink": 0.1613,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0140)",
              "stats": {
                "key_pass": 0.5468,
                "expected_assists": 0.0379,
                "assists": 0.0563,
                "assist_rate": 0.0563,
                "expected_goals": 0.0569,
                "goals": 0.0747,
                "goal_rate": 0.0747,
                "shots_on_target": 0.2236,
                "total_shots": 0.8516,
                "rating": 7.0982,
                "minutes": 83.7,
                "total_pass": 47.484,
                "accurate_pass": 40.6985,
                "duels_won": 6.8785,
                "total_long_balls": 5.2283,
                "accurate_long_balls": 3.2542,
                "total_own_half_passes": 25.0892,
                "accurate_own_half_passes": 22.7373,
                "total_opp_half_passes": 22.3949,
                "accurate_opp_half_passes": 17.9613,
                "crosses_total": 0.0853,
                "crosses_accurate": 0.0136,
                "touches": 62.775,
                "possession_lost": 9.7374,
                "dispossessed": 1.2635,
                "duels_lost": 5.5169,
                "aerial_won": 1.3533,
                "aerial_lost": 0.9413,
                "interceptions": 1.0614,
                "tackles_won": 2.1598,
                "tackles": 3.0324,
                "clearances": 1.8911,
                "total_contest": 1.227,
                "won_contest": 0.6219,
                "challenges_lost": 1.4043,
                "fouls": 1.4718,
                "fouls_drawn": 1.8706,
                "blocks": 0.4139,
                "big_chances_created": 0.0429,
                "big_chances_missed": 0.0,
                "xgot": 0.0538,
                "ball_carries": 12.1227,
                "total_progression": 22.6973,
                "progressive_carries": 0.3473,
                "shots_off_target": 0.6369
              },
              "params": {
                "blend_weight": 0.014,
                "history_matches": 26,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.93,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.0435,
                  "after": 1.0614
                },
                {
                  "stat": "wonTackle",
                  "before": 2.1706,
                  "after": 2.1598
                },
                {
                  "stat": "fouls",
                  "before": 1.4663,
                  "after": 1.4718
                },
                {
                  "stat": "totalShots",
                  "before": 0.8569,
                  "after": 0.8516
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5468,
                "expected_assists": 0.0379,
                "assists": 0.0563,
                "assist_rate": 0.0563,
                "expected_goals": 0.0569,
                "goals": 0.0747,
                "goal_rate": 0.0747,
                "shots_on_target": 0.2236,
                "total_shots": 0.8605,
                "rating": 7.0982,
                "minutes": 83.7,
                "total_pass": 47.484,
                "accurate_pass": 40.6985,
                "duels_won": 6.8785,
                "total_long_balls": 5.2283,
                "accurate_long_balls": 3.2542,
                "total_own_half_passes": 25.0892,
                "accurate_own_half_passes": 22.7373,
                "total_opp_half_passes": 22.3949,
                "accurate_opp_half_passes": 17.9613,
                "crosses_total": 0.0853,
                "crosses_accurate": 0.0136,
                "touches": 62.775,
                "possession_lost": 9.7374,
                "dispossessed": 1.2635,
                "duels_lost": 5.5169,
                "aerial_won": 1.3533,
                "aerial_lost": 0.9413,
                "interceptions": 1.0614,
                "tackles_won": 2.1598,
                "tackles": 3.0324,
                "clearances": 1.8911,
                "total_contest": 1.227,
                "won_contest": 0.6219,
                "challenges_lost": 1.4043,
                "fouls": 1.4718,
                "fouls_drawn": 1.8706,
                "blocks": 0.4139,
                "big_chances_created": 0.0429,
                "big_chances_missed": 0.0,
                "xgot": 0.0538,
                "ball_carries": 12.1227,
                "total_progression": 22.6973,
                "progressive_carries": 0.3473,
                "shots_off_target": 0.6369
              },
              "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.5468,
                "expected_assists": 0.0379,
                "assists": 0.0563,
                "assist_rate": 0.0563,
                "expected_goals": 0.0589,
                "goals": 0.0773,
                "goal_rate": 0.0773,
                "shots_on_target": 0.2314,
                "total_shots": 0.8907,
                "rating": 7.0982,
                "minutes": 83.7,
                "total_pass": 47.484,
                "accurate_pass": 40.6985,
                "duels_won": 6.8785,
                "total_long_balls": 5.2283,
                "accurate_long_balls": 3.2542,
                "total_own_half_passes": 25.0892,
                "accurate_own_half_passes": 22.7373,
                "total_opp_half_passes": 22.3949,
                "accurate_opp_half_passes": 17.9613,
                "crosses_total": 0.0853,
                "crosses_accurate": 0.0136,
                "touches": 62.775,
                "possession_lost": 9.7374,
                "dispossessed": 1.2635,
                "duels_lost": 5.5169,
                "aerial_won": 1.2,
                "aerial_lost": 0.9413,
                "interceptions": 1.0614,
                "tackles_won": 2.1598,
                "tackles": 3.0324,
                "clearances": 1.8911,
                "total_contest": 1.227,
                "won_contest": 0.6219,
                "challenges_lost": 1.4043,
                "fouls": 1.4718,
                "fouls_drawn": 1.8706,
                "blocks": 0.4139,
                "big_chances_created": 0.0429,
                "big_chances_missed": 0.0,
                "xgot": 0.0557,
                "ball_carries": 12.1227,
                "total_progression": 22.6973,
                "progressive_carries": 0.3473,
                "shots_off_target": 0.6593,
                "duel_xg_multiplier": 1.0351,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.474,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iván Martín",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.474,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0351,
                  "skill_edge": -0.0041,
                  "height_edge": 0.028,
                  "attacker_skill": 0.4581,
                  "defender_skill": 0.4672,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iván Martín",
                      "market_value": 4600000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4672
                    }
                  ],
                  "xg_override": 0.0589
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.3533,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.8605,
                  "after": 0.8907
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6369,
                  "after": 0.6593
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2236,
                  "after": 0.2314
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "key_pass": 0.5468,
                "expected_assists": 0.0486,
                "assist_rate": 0.0563,
                "assists": 0,
                "expected_goals": 0.0755,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.2314,
                "total_shots": 0.8907,
                "rating": 7.0982,
                "minutes": 83.7,
                "total_pass": 47.484,
                "accurate_pass": 40.6985,
                "duels_won": 6.8785,
                "total_long_balls": 5.2283,
                "accurate_long_balls": 3.2542,
                "total_own_half_passes": 25.0892,
                "accurate_own_half_passes": 22.7373,
                "total_opp_half_passes": 22.3949,
                "accurate_opp_half_passes": 17.9613,
                "crosses_total": 0.0853,
                "crosses_accurate": 0.0136,
                "touches": 62.775,
                "possession_lost": 9.7374,
                "dispossessed": 1.2635,
                "duels_lost": 5.5169,
                "aerial_won": 1.2,
                "aerial_lost": 0.9413,
                "interceptions": 1.0614,
                "tackles_won": 2.1598,
                "tackles": 3.0324,
                "clearances": 1.8911,
                "total_contest": 1.227,
                "won_contest": 0.6219,
                "challenges_lost": 1.4043,
                "fouls": 1.4718,
                "fouls_drawn": 1.8706,
                "blocks": 0.4139,
                "big_chances_created": 0.0429,
                "big_chances_missed": 0.0,
                "xgot": 0.0714,
                "ball_carries": 12.1227,
                "total_progression": 22.6973,
                "progressive_carries": 0.3473,
                "shots_off_target": 0.6593,
                "duel_xg_multiplier": 1.0351,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.474,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.169,
                "creation_factor": 1.2093
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0589,
                  "after": 0.0755
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0379,
                  "after": 0.0486
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 0.5468,
                "expected_assists": 0.0486,
                "assist_rate": 0.0563,
                "assists": 0,
                "expected_goals": 0.0755,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.2314,
                "total_shots": 0.8907,
                "rating": 7.0982,
                "minutes": 83.7,
                "total_pass": 47.484,
                "accurate_pass": 40.6985,
                "duels_won": 6.8785,
                "total_long_balls": 5.2283,
                "accurate_long_balls": 3.2542,
                "total_own_half_passes": 25.0892,
                "accurate_own_half_passes": 22.7373,
                "total_opp_half_passes": 22.3949,
                "accurate_opp_half_passes": 17.9613,
                "crosses_total": 0.0853,
                "crosses_accurate": 0.0136,
                "touches": 62.775,
                "possession_lost": 9.7374,
                "dispossessed": 1.2635,
                "duels_lost": 5.5169,
                "aerial_won": 1.2,
                "aerial_lost": 0.9413,
                "interceptions": 1.0614,
                "tackles_won": 2.1598,
                "tackles": 3.0324,
                "clearances": 1.8911,
                "total_contest": 1.227,
                "won_contest": 0.6219,
                "challenges_lost": 1.4043,
                "fouls": 1.4718,
                "fouls_drawn": 1.8706,
                "blocks": 0.4139,
                "big_chances_created": 0.0429,
                "big_chances_missed": 0.0,
                "xgot": 0.0714,
                "ball_carries": 12.1227,
                "total_progression": 22.6973,
                "progressive_carries": 0.3473,
                "shots_off_target": 0.6593,
                "duel_xg_multiplier": 1.0351,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.474,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.169,
                "creation_factor": 1.2093,
                "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.5468,
                "expected_assists": 0.0486,
                "assist_rate": 0.0563,
                "assists": 0,
                "expected_goals": 0.0755,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.2314,
                "total_shots": 0.8907,
                "rating": 7.0982,
                "minutes": 83.7,
                "total_pass": 47.484,
                "accurate_pass": 40.6985,
                "duels_won": 6.8785,
                "total_long_balls": 5.2283,
                "accurate_long_balls": 3.2542,
                "total_own_half_passes": 25.0892,
                "accurate_own_half_passes": 22.7373,
                "total_opp_half_passes": 22.3949,
                "accurate_opp_half_passes": 17.9613,
                "crosses_total": 0.0853,
                "crosses_accurate": 0.0136,
                "touches": 62.775,
                "possession_lost": 9.7374,
                "dispossessed": 1.2635,
                "duels_lost": 5.5169,
                "aerial_won": 1.2,
                "aerial_lost": 0.9413,
                "interceptions": 1.0614,
                "tackles_won": 2.1598,
                "tackles": 3.0324,
                "clearances": 1.8911,
                "total_contest": 1.227,
                "won_contest": 0.6219,
                "challenges_lost": 1.4043,
                "fouls": 1.4718,
                "fouls_drawn": 1.8706,
                "blocks": 0.4139,
                "big_chances_created": 0.0429,
                "big_chances_missed": 0.0,
                "xgot": 0.0714,
                "ball_carries": 12.1227,
                "total_progression": 22.6973,
                "progressive_carries": 0.3473,
                "shots_off_target": 0.6593,
                "duel_xg_multiplier": 1.0351,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.474,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0727,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.169,
                "creation_factor": 1.2093,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0727,
                "scorer_weight": 0.0883,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0805,
                "finishing_factor": 1.169,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.5468,
                "expected_assists": 0.0486,
                "assist_rate": 0.0563,
                "assists": 0,
                "expected_goals": 0.0755,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.2314,
                "total_shots": 0.8907,
                "rating": 7.0982,
                "minutes": 83.7,
                "total_pass": 47.484,
                "accurate_pass": 40.6985,
                "duels_won": 6.8785,
                "total_long_balls": 5.2283,
                "accurate_long_balls": 3.2542,
                "total_own_half_passes": 25.0892,
                "accurate_own_half_passes": 22.7373,
                "total_opp_half_passes": 22.3949,
                "accurate_opp_half_passes": 17.9613,
                "crosses_total": 0.0853,
                "crosses_accurate": 0.0136,
                "touches": 62.775,
                "possession_lost": 9.7374,
                "dispossessed": 1.2635,
                "duels_lost": 5.5169,
                "aerial_won": 1.2,
                "aerial_lost": 0.9413,
                "interceptions": 1.0614,
                "tackles_won": 2.1598,
                "tackles": 3.0324,
                "clearances": 1.8911,
                "total_contest": 1.227,
                "won_contest": 0.6219,
                "challenges_lost": 1.4043,
                "fouls": 1.4718,
                "fouls_drawn": 1.8706,
                "blocks": 0.4139,
                "big_chances_created": 0.0429,
                "big_chances_missed": 0.0,
                "xgot": 0.0714,
                "ball_carries": 12.1227,
                "total_progression": 22.6973,
                "progressive_carries": 0.3473,
                "shots_off_target": 0.6593,
                "duel_xg_multiplier": 1.0351,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.474,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0727,
                "projected_assists": 0,
                "assist_probability": 0.0474,
                "finishing_factor": 1.169,
                "creation_factor": 1.2093,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0474,
                "provider_weight": 0.0588,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0686,
                "creation_factor": 1.2093,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            }
          ]
        },
        "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.1433,
            "assist_rate": 0.1225,
            "assists": 0,
            "expected_goals": 0.2446,
            "goal_rate": 0.1925,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 6.8608,
            "minutes": 81,
            "total_pass": 27,
            "accurate_pass": 21,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 11,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 14.8227,
            "dispossessed": 2.1203,
            "duels_lost": 6,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 3,
            "won_contest": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1489,
            "ball_carries": 13,
            "total_progression": 60,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.2091,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.6,
            "crosses_attempted": 2.5,
            "duel_win_rate": 0.602,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Alvaro Mantilla",
            "opponent_faced": "Alvaro Mantilla",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.217,
            "projected_assists": 0,
            "assist_probability": 0.1335,
            "finishing_factor": 1.0066,
            "creation_factor": 1.0661,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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": 61,
                "rating": 7.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2883,
                "expected_assists": 0.2772,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 3,
                "tackles": 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"
            }
          ],
          "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.8608,
            "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": 43,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 43,
            "data_confidence": 0.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0057,
            "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 43 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.1739,
                "expected_assists": 0.1111,
                "assists": 0.1233,
                "assist_rate": 0.1233,
                "expected_goals": 0.157,
                "goals": 0.1603,
                "goal_rate": 0.1603,
                "shots_on_target": 0.5814,
                "total_shots": 1.7585,
                "rating": 6.8608,
                "minutes": 81.1,
                "total_pass": 27.1935,
                "accurate_pass": 20.6948,
                "duels_won": 3.931,
                "total_long_balls": 3.9389,
                "accurate_long_balls": 1.9831,
                "total_own_half_passes": 11.0689,
                "accurate_own_half_passes": 9.6748,
                "total_opp_half_passes": 16.1247,
                "accurate_opp_half_passes": 11.0201,
                "crosses_total": 1.5363,
                "crosses_accurate": 0.3248,
                "touches": 44.5564,
                "possession_lost": 14.7387,
                "dispossessed": 2.1083,
                "duels_lost": 5.8312,
                "aerial_won": 0.262,
                "aerial_lost": 0.7228,
                "interceptions": 0.3032,
                "tackles_won": 0.6644,
                "tackles": 0.9336,
                "clearances": 0.4627,
                "total_contest": 3.4704,
                "won_contest": 1.8362,
                "challenges_lost": 0.7351,
                "fouls": 0.6403,
                "fouls_drawn": 0.8992,
                "blocks": 0.11,
                "big_chances_created": 0.2378,
                "big_chances_missed": 0.2294,
                "xgot": 0.0956,
                "ball_carries": 13.3296,
                "total_progression": 59.7656,
                "progressive_carries": 1.4429,
                "shots_off_target": 1.1771
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 9.3
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.9266,
                  "creative_index": 0.4682,
                  "expectedGoals": 0.1536,
                  "expectedAssists": 0.083,
                  "onTargetScoringAttempt": 0.4147
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1739131212234497,
                    "model_output": 1.1739,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1182
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0486
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0356
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0304
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0252
                        }
                      ],
                      "others": 0.0806,
                      "total": 1.1739,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12525
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.047257
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.033271
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.027539
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.022811
                        }
                      ],
                      "others_margin": 0.071268
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11112803220748901,
                    "model_output": 0.1111,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0092
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0041
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.004
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0037
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0035
                        }
                      ],
                      "others": 0.0085,
                      "total": 0.1111,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.101656
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.042646
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.039951
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.036973
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.034503
                        }
                      ],
                      "others_margin": 0.080073
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.12332319468259811,
                    "model_output": 0.1233,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0101
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0113
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0101
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0073
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0049
                        }
                      ],
                      "others": 0.014,
                      "total": 0.1233,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.11137
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.111128
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.099186
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.072326
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.045642
                        }
                      ],
                      "others_margin": 0.122093
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.15704141557216644,
                    "model_output": 0.157,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0242
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0201
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0151
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0141
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0039
                        }
                      ],
                      "others": 0.0142,
                      "total": 0.157,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.229657
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.157871
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.103718
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.097022
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.027585
                        }
                      ],
                      "others_margin": 0.095386
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1603153795003891,
                    "model_output": 0.1603,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0279
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0233
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0177
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0136
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0077
                        }
                      ],
                      "others": 0.0243,
                      "total": 0.1603,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.253919
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.171675
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.127715
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.099581
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.055006
                        }
                      ],
                      "others_margin": 0.164039
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5814412236213684,
                    "model_output": 0.5814,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0878
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0638
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0714
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0362
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0326
                        }
                      ],
                      "others": 0.038,
                      "total": 0.5814,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.239656
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.144014
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.139942
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.068425
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.061933
                        }
                      ],
                      "others_margin": 0.067507
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.758514404296875,
                    "model_output": 1.7585,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.5142
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1569
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0514
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0408
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.038
                        }
                      ],
                      "others": 0.0488,
                      "total": 1.7585,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.514246
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.156862
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.051431
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.04078
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.03802
                        }
                      ],
                      "others_margin": 0.048752
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.86081600189209,
                    "model_output": 6.8608,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0409
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0249
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0206
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.02
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0177
                        }
                      ],
                      "others": -0.0371,
                      "total": 6.8608,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.040903
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.024883
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.020564
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.019988
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.017713
                        }
                      ],
                      "others_margin": -0.037036
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "role_matches": 32,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0057, quality 0.686)",
              "stats": {
                "key_pass": 1.1806,
                "expected_assists": 0.1118,
                "assists": 0.124,
                "assist_rate": 0.124,
                "expected_goals": 0.1579,
                "goals": 0.1612,
                "goal_rate": 0.1612,
                "shots_on_target": 0.5848,
                "total_shots": 1.7686,
                "rating": 6.8608,
                "minutes": 81.1,
                "total_pass": 27.3485,
                "accurate_pass": 20.8128,
                "duels_won": 3.9534,
                "total_long_balls": 3.9614,
                "accurate_long_balls": 1.9944,
                "total_own_half_passes": 11.132,
                "accurate_own_half_passes": 9.7299,
                "total_opp_half_passes": 16.2166,
                "accurate_opp_half_passes": 11.0829,
                "crosses_total": 1.5451,
                "crosses_accurate": 0.3267,
                "touches": 44.8104,
                "possession_lost": 14.8227,
                "dispossessed": 2.1203,
                "duels_lost": 5.8644,
                "aerial_won": 0.2635,
                "aerial_lost": 0.7269,
                "interceptions": 0.3049,
                "tackles_won": 0.6682,
                "tackles": 0.9389,
                "clearances": 0.4653,
                "total_contest": 3.4902,
                "won_contest": 1.8467,
                "challenges_lost": 0.7393,
                "fouls": 0.6439,
                "fouls_drawn": 0.9043,
                "blocks": 0.1106,
                "big_chances_created": 0.2392,
                "big_chances_missed": 0.2307,
                "xgot": 0.0961,
                "ball_carries": 13.4056,
                "total_progression": 60.1063,
                "progressive_carries": 1.4511,
                "shots_off_target": 1.1838
              },
              "params": {
                "market_value_eur": 26000000,
                "quality_factor": 0.6858,
                "boost_factor": 1.0057,
                "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.0122)",
              "stats": {
                "key_pass": 1.1806,
                "expected_assists": 0.1118,
                "assists": 0.1225,
                "assist_rate": 0.1225,
                "expected_goals": 0.1579,
                "goals": 0.1592,
                "goal_rate": 0.1592,
                "shots_on_target": 0.5777,
                "total_shots": 1.7595,
                "rating": 6.8608,
                "minutes": 81.1,
                "total_pass": 27.3485,
                "accurate_pass": 20.8128,
                "duels_won": 3.9534,
                "total_long_balls": 3.9614,
                "accurate_long_balls": 1.9944,
                "total_own_half_passes": 11.132,
                "accurate_own_half_passes": 9.7299,
                "total_opp_half_passes": 16.2166,
                "accurate_opp_half_passes": 11.0829,
                "crosses_total": 1.5547,
                "crosses_accurate": 0.3267,
                "touches": 44.8104,
                "possession_lost": 14.8227,
                "dispossessed": 2.1203,
                "duels_lost": 5.8644,
                "aerial_won": 0.2635,
                "aerial_lost": 0.7269,
                "interceptions": 0.3053,
                "tackles_won": 0.6682,
                "tackles": 0.9389,
                "clearances": 0.4653,
                "total_contest": 3.4902,
                "won_contest": 1.8467,
                "challenges_lost": 0.7393,
                "fouls": 0.6361,
                "fouls_drawn": 0.9055,
                "blocks": 0.1106,
                "big_chances_created": 0.2392,
                "big_chances_missed": 0.2307,
                "xgot": 0.0961,
                "ball_carries": 13.4056,
                "total_progression": 60.1063,
                "progressive_carries": 1.4511,
                "shots_off_target": 1.1838
              },
              "params": {
                "blend_weight": 0.0122,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9011,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.5451,
                  "after": 1.5547
                },
                {
                  "stat": "totalShots",
                  "before": 1.7686,
                  "after": 1.7595
                },
                {
                  "stat": "fouls",
                  "before": 0.6439,
                  "after": 0.6361
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5848,
                  "after": 0.5777
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.1806,
                "expected_assists": 0.1118,
                "assists": 0.1225,
                "assist_rate": 0.1225,
                "expected_goals": 0.1579,
                "goals": 0.1592,
                "goal_rate": 0.1592,
                "shots_on_target": 0.5777,
                "total_shots": 1.7615,
                "rating": 6.8608,
                "minutes": 81.1,
                "total_pass": 27.3485,
                "accurate_pass": 20.8128,
                "duels_won": 3.9534,
                "total_long_balls": 3.9614,
                "accurate_long_balls": 1.9944,
                "total_own_half_passes": 11.132,
                "accurate_own_half_passes": 9.7299,
                "total_opp_half_passes": 16.2166,
                "accurate_opp_half_passes": 11.0829,
                "crosses_total": 1.5547,
                "crosses_accurate": 0.3267,
                "touches": 44.8104,
                "possession_lost": 14.8227,
                "dispossessed": 2.1203,
                "duels_lost": 5.8644,
                "aerial_won": 0.2635,
                "aerial_lost": 0.7269,
                "interceptions": 0.3053,
                "tackles_won": 0.6682,
                "tackles": 0.9389,
                "clearances": 0.4653,
                "total_contest": 3.4902,
                "won_contest": 1.8467,
                "challenges_lost": 0.7393,
                "fouls": 0.6361,
                "fouls_drawn": 0.9055,
                "blocks": 0.1106,
                "big_chances_created": 0.2392,
                "big_chances_missed": 0.2307,
                "xgot": 0.0961,
                "ball_carries": 13.4056,
                "total_progression": 60.1063,
                "progressive_carries": 1.4511,
                "shots_off_target": 1.1838
              },
              "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.1806,
                "expected_assists": 0.1118,
                "assists": 0.1225,
                "assist_rate": 0.1225,
                "expected_goals": 0.1909,
                "goals": 0.1925,
                "goal_rate": 0.1925,
                "shots_on_target": 0.6985,
                "total_shots": 2.1298,
                "rating": 6.8608,
                "minutes": 81.1,
                "total_pass": 27.3485,
                "accurate_pass": 20.8128,
                "duels_won": 3.9534,
                "total_long_balls": 3.9614,
                "accurate_long_balls": 1.9944,
                "total_own_half_passes": 11.132,
                "accurate_own_half_passes": 9.7299,
                "total_opp_half_passes": 16.2166,
                "accurate_opp_half_passes": 11.0829,
                "crosses_total": 1.5547,
                "crosses_accurate": 0.3267,
                "touches": 44.8104,
                "possession_lost": 14.8227,
                "dispossessed": 2.1203,
                "duels_lost": 5.8644,
                "aerial_won": 1.2,
                "aerial_lost": 0.7269,
                "interceptions": 0.3053,
                "tackles_won": 0.6682,
                "tackles": 0.9389,
                "clearances": 0.4653,
                "total_contest": 3.4902,
                "won_contest": 1.8467,
                "challenges_lost": 0.7393,
                "fouls": 0.6361,
                "fouls_drawn": 0.9055,
                "blocks": 0.1106,
                "big_chances_created": 0.2392,
                "big_chances_missed": 0.2789,
                "xgot": 0.1162,
                "ball_carries": 13.4056,
                "total_progression": 60.1063,
                "progressive_carries": 1.4511,
                "shots_off_target": 1.4313,
                "duel_xg_multiplier": 1.2091,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.602,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alvaro Mantilla",
                "opponent_faced": "Alvaro Mantilla",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Alvaro Mantilla",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                  "duel_win_rate": 0.602,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.2091,
                  "skill_edge": 0.1223,
                  "height_edge": 0.02,
                  "attacker_skill": 0.7091,
                  "defender_skill": 0.4374,
                  "attacker_role": "LM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Alvaro Mantilla",
                      "market_value": 1200000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1909
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.2635,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 1.7615,
                  "after": 2.1298
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1838,
                  "after": 1.4313
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5777,
                  "after": 0.6985
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.2307,
                  "after": 0.2789
                },
                {
                  "stat": "goals",
                  "before": 0.1592,
                  "after": 0.1925
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1579,
                  "after": 0.1909
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0961,
                  "after": 0.1162
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "key_pass": 1.1806,
                "expected_assists": 0.1433,
                "assist_rate": 0.1225,
                "assists": 0,
                "expected_goals": 0.2446,
                "goal_rate": 0.1925,
                "goals": 0,
                "shots_on_target": 0.6985,
                "total_shots": 2.1298,
                "rating": 6.8608,
                "minutes": 81.1,
                "total_pass": 27.3485,
                "accurate_pass": 20.8128,
                "duels_won": 3.9534,
                "total_long_balls": 3.9614,
                "accurate_long_balls": 1.9944,
                "total_own_half_passes": 11.132,
                "accurate_own_half_passes": 9.7299,
                "total_opp_half_passes": 16.2166,
                "accurate_opp_half_passes": 11.0829,
                "crosses_total": 1.5547,
                "crosses_accurate": 0.3267,
                "touches": 44.8104,
                "possession_lost": 14.8227,
                "dispossessed": 2.1203,
                "duels_lost": 5.8644,
                "aerial_won": 1.2,
                "aerial_lost": 0.7269,
                "interceptions": 0.3053,
                "tackles_won": 0.6682,
                "tackles": 0.9389,
                "clearances": 0.4653,
                "total_contest": 3.4902,
                "won_contest": 1.8467,
                "challenges_lost": 0.7393,
                "fouls": 0.6361,
                "fouls_drawn": 0.9055,
                "blocks": 0.1106,
                "big_chances_created": 0.2392,
                "big_chances_missed": 0.2789,
                "xgot": 0.1489,
                "ball_carries": 13.4056,
                "total_progression": 60.1063,
                "progressive_carries": 1.4511,
                "shots_off_target": 1.4313,
                "duel_xg_multiplier": 1.2091,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.602,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alvaro Mantilla",
                "opponent_faced": "Alvaro Mantilla",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0066,
                "creation_factor": 1.0661
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1909,
                  "after": 0.2446
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1118,
                  "after": 0.1433
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "key_pass": 1.1806,
                "expected_assists": 0.1433,
                "assist_rate": 0.1225,
                "assists": 0,
                "expected_goals": 0.2446,
                "goal_rate": 0.1925,
                "goals": 0,
                "shots_on_target": 0.6985,
                "total_shots": 2.1298,
                "rating": 6.8608,
                "minutes": 81.1,
                "total_pass": 27.3485,
                "accurate_pass": 20.8128,
                "duels_won": 3.9534,
                "total_long_balls": 3.9614,
                "accurate_long_balls": 1.9944,
                "total_own_half_passes": 11.132,
                "accurate_own_half_passes": 9.7299,
                "total_opp_half_passes": 16.2166,
                "accurate_opp_half_passes": 11.0829,
                "crosses_total": 1.5547,
                "crosses_accurate": 0.3267,
                "touches": 44.8104,
                "possession_lost": 14.8227,
                "dispossessed": 2.1203,
                "duels_lost": 5.8644,
                "aerial_won": 1.2,
                "aerial_lost": 0.7269,
                "interceptions": 0.3053,
                "tackles_won": 0.6682,
                "tackles": 0.9389,
                "clearances": 0.4653,
                "total_contest": 3.4902,
                "won_contest": 1.8467,
                "challenges_lost": 0.7393,
                "fouls": 0.6361,
                "fouls_drawn": 0.9055,
                "blocks": 0.1106,
                "big_chances_created": 0.2392,
                "big_chances_missed": 0.2789,
                "xgot": 0.1489,
                "ball_carries": 13.4056,
                "total_progression": 60.1063,
                "progressive_carries": 1.4511,
                "shots_off_target": 1.4313,
                "duel_xg_multiplier": 1.2091,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.602,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alvaro Mantilla",
                "opponent_faced": "Alvaro Mantilla",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0066,
                "creation_factor": 1.0661,
                "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.1806,
                "expected_assists": 0.1433,
                "assist_rate": 0.1225,
                "assists": 0,
                "expected_goals": 0.2446,
                "goal_rate": 0.1925,
                "goals": 0,
                "shots_on_target": 0.6985,
                "total_shots": 2.1298,
                "rating": 6.8608,
                "minutes": 81.1,
                "total_pass": 27.3485,
                "accurate_pass": 20.8128,
                "duels_won": 3.9534,
                "total_long_balls": 3.9614,
                "accurate_long_balls": 1.9944,
                "total_own_half_passes": 11.132,
                "accurate_own_half_passes": 9.7299,
                "total_opp_half_passes": 16.2166,
                "accurate_opp_half_passes": 11.0829,
                "crosses_total": 1.5547,
                "crosses_accurate": 0.3267,
                "touches": 44.8104,
                "possession_lost": 14.8227,
                "dispossessed": 2.1203,
                "duels_lost": 5.8644,
                "aerial_won": 1.2,
                "aerial_lost": 0.7269,
                "interceptions": 0.3053,
                "tackles_won": 0.6682,
                "tackles": 0.9389,
                "clearances": 0.4653,
                "total_contest": 3.4902,
                "won_contest": 1.8467,
                "challenges_lost": 0.7393,
                "fouls": 0.6361,
                "fouls_drawn": 0.9055,
                "blocks": 0.1106,
                "big_chances_created": 0.2392,
                "big_chances_missed": 0.2789,
                "xgot": 0.1489,
                "ball_carries": 13.4056,
                "total_progression": 60.1063,
                "progressive_carries": 1.4511,
                "shots_off_target": 1.4313,
                "duel_xg_multiplier": 1.2091,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.602,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alvaro Mantilla",
                "opponent_faced": "Alvaro Mantilla",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.217,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0066,
                "creation_factor": 1.0661,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.217,
                "scorer_weight": 0.2462,
                "squad_weight_total": 1.0966,
                "weight_share": 0.2245,
                "finishing_factor": 1.0066,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1.1806,
                "expected_assists": 0.1433,
                "assist_rate": 0.1225,
                "assists": 0,
                "expected_goals": 0.2446,
                "goal_rate": 0.1925,
                "goals": 0,
                "shots_on_target": 0.6985,
                "total_shots": 2.1298,
                "rating": 6.8608,
                "minutes": 81.1,
                "total_pass": 27.3485,
                "accurate_pass": 20.8128,
                "duels_won": 3.9534,
                "total_long_balls": 3.9614,
                "accurate_long_balls": 1.9944,
                "total_own_half_passes": 11.132,
                "accurate_own_half_passes": 9.7299,
                "total_opp_half_passes": 16.2166,
                "accurate_opp_half_passes": 11.0829,
                "crosses_total": 1.5547,
                "crosses_accurate": 0.3267,
                "touches": 44.8104,
                "possession_lost": 14.8227,
                "dispossessed": 2.1203,
                "duels_lost": 5.8644,
                "aerial_won": 1.2,
                "aerial_lost": 0.7269,
                "interceptions": 0.3053,
                "tackles_won": 0.6682,
                "tackles": 0.9389,
                "clearances": 0.4653,
                "total_contest": 3.4902,
                "won_contest": 1.8467,
                "challenges_lost": 0.7393,
                "fouls": 0.6361,
                "fouls_drawn": 0.9055,
                "blocks": 0.1106,
                "big_chances_created": 0.2392,
                "big_chances_missed": 0.2789,
                "xgot": 0.1489,
                "ball_carries": 13.4056,
                "total_progression": 60.1063,
                "progressive_carries": 1.4511,
                "shots_off_target": 1.4313,
                "duel_xg_multiplier": 1.2091,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.602,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alvaro Mantilla",
                "opponent_faced": "Alvaro Mantilla",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.217,
                "projected_assists": 0,
                "assist_probability": 0.1335,
                "finishing_factor": 1.0066,
                "creation_factor": 1.0661,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1335,
                "provider_weight": 0.1528,
                "squad_weight_total": 0.8566,
                "weight_share": 0.1784,
                "creation_factor": 1.0661,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            }
          ]
        },
        "Hugo Duro": {
          "player_id": 909119,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 180,
          "market_value": 11600000,
          "stats": {
            "expected_goals": 0.3512,
            "goal_rate": 0.186,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0397,
            "key_pass": 1,
            "rating": 6.6388,
            "minutes": 71,
            "total_pass": 11,
            "accurate_pass": 7,
            "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": 21,
            "possession_lost": 6.7099,
            "dispossessed": 0.5031,
            "duels_lost": 5,
            "aerial_lost": 3,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.1521,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1525,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9601,
            "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": "Jorge Salinas, Jeanuël Belocian",
            "opponent_faced": "Jorge Salinas, Jeanuël Belocian",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2962,
            "projected_assists": 0,
            "assist_probability": 0.0389,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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": 61,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 4,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 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.6388,
            "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": 43,
          "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": 43,
            "data_confidence": 0.76,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0011,
            "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 43 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.2852,
                "goals": 0.1944,
                "goal_rate": 0.1944,
                "shots_on_target": 0.6372,
                "total_shots": 1.6334,
                "expected_assists": 0.031,
                "key_pass": 0.5498,
                "rating": 6.6388,
                "minutes": 71.19,
                "total_pass": 11.1038,
                "accurate_pass": 7.242,
                "duels_won": 3.6718,
                "total_long_balls": 0.5705,
                "accurate_long_balls": 0.4143,
                "total_opp_half_passes": 6.8165,
                "accurate_opp_half_passes": 3.82,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 20.547,
                "possession_lost": 6.7025,
                "dispossessed": 0.5025,
                "duels_lost": 4.9382,
                "aerial_lost": 3.1108,
                "total_contest": 0.2763,
                "won_contest": 0.033,
                "ball_recovery": 0.9919,
                "challenges_lost": 0.4585,
                "fouls": 0.6646,
                "fouls_drawn": 1.5922,
                "assists": 0.1526,
                "assist_rate": 0.1526,
                "interceptions": 0.1515,
                "tackles_won": 0.3286,
                "tackles": 0.6315,
                "clearances": 0.5979,
                "blocks": 0.0968,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.2033,
                "xgot": 0.1238,
                "offsides": 0.3122,
                "ball_carries": 2.2482,
                "total_progression": 0.0,
                "progressive_carries": 0.0549,
                "shots_off_target": 0.9962
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 5.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.1596,
                  "totalOppositionHalfPasses": 4.6172,
                  "accurateOppositionHalfPasses": 2.782,
                  "accuratePass": 5.5278,
                  "totalShots": 1.0007
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2852093577384949,
                    "model_output": 0.2852,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0711
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0222
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0197
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0153
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0127
                        }
                      ],
                      "others": 0.0214,
                      "total": 0.2852,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.307053
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.08623
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.076736
                        },
                        {
                          "name": "goals",
                          "margin": -0.059241
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.049346
                        }
                      ],
                      "others_margin": 0.078074
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.19442279636859894,
                    "model_output": 0.1944,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0623
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0307
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0271
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0188
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0149
                        }
                      ],
                      "others": -0.0172,
                      "total": 0.1944,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.267496
                        },
                        {
                          "name": "goals",
                          "margin": -0.122718
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.122622
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.086525
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.067883
                        }
                      ],
                      "others_margin": -0.084822
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6372418403625488,
                    "model_output": 0.6372,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1773
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0384
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0291
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0277
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0217
                        }
                      ],
                      "others": -0.0367,
                      "total": 0.6372,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.285449
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.052437
                        },
                        {
                          "name": "goals",
                          "margin": -0.039469
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.039115
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.031755
                        }
                      ],
                      "others_margin": -0.055871
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.6334115266799927,
                    "model_output": 1.6334,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4713
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1184
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0559
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0485
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0344
                        }
                      ],
                      "others": -0.0223,
                      "total": 1.6334,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.471251
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.118412
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.055884
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.048527
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.034376
                        }
                      ],
                      "others_margin": -0.022199
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.031003639101982117,
                    "model_output": 0.031,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0212
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0171
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0086
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0045
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0207,
                      "total": 0.031,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.286935
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.223696
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.134533
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.078684
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.059543
                        }
                      ],
                      "others_margin": -0.512932
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5498223900794983,
                    "model_output": 0.5498,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2311
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0897
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0515
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0283
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0268
                        }
                      ],
                      "others": -0.1578,
                      "total": 0.5498,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.295263
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.104487
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.065362
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.037815
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.037166
                        }
                      ],
                      "others_margin": -0.252217
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.638758182525635,
                    "model_output": 6.6388,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0389
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0219
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0199
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0186
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0181
                        }
                      ],
                      "others": -0.0852,
                      "total": 6.6388,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.038933
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.021919
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.019926
                        },
                        {
                          "name": "rating",
                          "margin": -0.018611
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.018148
                        }
                      ],
                      "others_margin": -0.085179
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "role_matches": 25,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0011, quality 0.541)",
              "stats": {
                "expected_goals": 0.2855,
                "goals": 0.1946,
                "goal_rate": 0.1946,
                "shots_on_target": 0.6379,
                "total_shots": 1.6352,
                "expected_assists": 0.031,
                "key_pass": 0.5504,
                "rating": 6.6388,
                "minutes": 71.19,
                "total_pass": 11.116,
                "accurate_pass": 7.25,
                "duels_won": 3.6758,
                "total_long_balls": 0.5711,
                "accurate_long_balls": 0.4148,
                "total_opp_half_passes": 6.824,
                "accurate_opp_half_passes": 3.8242,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 20.5696,
                "possession_lost": 6.7099,
                "dispossessed": 0.5031,
                "duels_lost": 4.9436,
                "aerial_lost": 3.1142,
                "total_contest": 0.2766,
                "won_contest": 0.033,
                "ball_recovery": 0.993,
                "challenges_lost": 0.459,
                "fouls": 0.6653,
                "fouls_drawn": 1.594,
                "assists": 0.1528,
                "assist_rate": 0.1528,
                "interceptions": 0.1517,
                "tackles_won": 0.329,
                "tackles": 0.6322,
                "clearances": 0.5986,
                "blocks": 0.0969,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.2035,
                "xgot": 0.1239,
                "offsides": 0.3125,
                "ball_carries": 2.2507,
                "total_progression": 0.0,
                "progressive_carries": 0.055,
                "shots_off_target": 0.9973
              },
              "params": {
                "market_value_eur": 11600000,
                "quality_factor": 0.5411,
                "boost_factor": 1.0011,
                "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.0045)",
              "stats": {
                "expected_goals": 0.2855,
                "goals": 0.1937,
                "goal_rate": 0.1937,
                "shots_on_target": 0.635,
                "total_shots": 1.6278,
                "expected_assists": 0.031,
                "key_pass": 0.5504,
                "rating": 6.6388,
                "minutes": 71.19,
                "total_pass": 11.116,
                "accurate_pass": 7.25,
                "duels_won": 3.6758,
                "total_long_balls": 0.5711,
                "accurate_long_balls": 0.4148,
                "total_opp_half_passes": 6.824,
                "accurate_opp_half_passes": 3.8242,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 20.5696,
                "possession_lost": 6.7099,
                "dispossessed": 0.5031,
                "duels_lost": 4.9436,
                "aerial_lost": 3.1142,
                "total_contest": 0.2766,
                "won_contest": 0.033,
                "ball_recovery": 0.993,
                "challenges_lost": 0.459,
                "fouls": 0.6659,
                "fouls_drawn": 1.5939,
                "assists": 0.1521,
                "assist_rate": 0.1521,
                "interceptions": 0.1546,
                "tackles_won": 0.3275,
                "tackles": 0.6322,
                "clearances": 0.5986,
                "blocks": 0.0969,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.2035,
                "xgot": 0.1239,
                "offsides": 0.3111,
                "ball_carries": 2.2507,
                "total_progression": 0.0,
                "progressive_carries": 0.055,
                "shots_off_target": 0.9973
              },
              "params": {
                "blend_weight": 0.0045,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.791,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.6352,
                  "after": 1.6278
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2855,
                "goals": 0.1937,
                "goal_rate": 0.1937,
                "shots_on_target": 0.635,
                "total_shots": 1.6323,
                "expected_assists": 0.031,
                "key_pass": 0.5504,
                "rating": 6.6388,
                "minutes": 71.19,
                "total_pass": 11.116,
                "accurate_pass": 7.25,
                "duels_won": 3.6758,
                "total_long_balls": 0.5711,
                "accurate_long_balls": 0.4148,
                "total_opp_half_passes": 6.824,
                "accurate_opp_half_passes": 3.8242,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 20.5696,
                "possession_lost": 6.7099,
                "dispossessed": 0.5031,
                "duels_lost": 4.9436,
                "aerial_lost": 3.1142,
                "total_contest": 0.2766,
                "won_contest": 0.033,
                "ball_recovery": 0.993,
                "challenges_lost": 0.459,
                "fouls": 0.6659,
                "fouls_drawn": 1.5939,
                "assists": 0.1521,
                "assist_rate": 0.1521,
                "interceptions": 0.1546,
                "tackles_won": 0.3275,
                "tackles": 0.6322,
                "clearances": 0.5986,
                "blocks": 0.0969,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.2035,
                "xgot": 0.1239,
                "offsides": 0.3111,
                "ball_carries": 2.2507,
                "total_progression": 0.0,
                "progressive_carries": 0.055,
                "shots_off_target": 0.9973
              },
              "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.2741,
                "goals": 0.186,
                "goal_rate": 0.186,
                "shots_on_target": 0.6097,
                "total_shots": 1.5672,
                "expected_assists": 0.031,
                "key_pass": 0.5504,
                "rating": 6.6388,
                "minutes": 71.19,
                "total_pass": 11.116,
                "accurate_pass": 7.25,
                "duels_won": 3.6758,
                "total_long_balls": 0.5711,
                "accurate_long_balls": 0.4148,
                "total_opp_half_passes": 6.824,
                "accurate_opp_half_passes": 3.8242,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 20.5696,
                "possession_lost": 6.7099,
                "dispossessed": 0.5031,
                "duels_lost": 4.9436,
                "aerial_lost": 3.1142,
                "total_contest": 0.2766,
                "won_contest": 0.033,
                "ball_recovery": 0.993,
                "challenges_lost": 0.459,
                "fouls": 0.6659,
                "fouls_drawn": 1.5939,
                "assists": 0.1521,
                "assist_rate": 0.1521,
                "interceptions": 0.1546,
                "tackles_won": 0.3275,
                "tackles": 0.6322,
                "clearances": 0.5986,
                "blocks": 0.0969,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.1954,
                "xgot": 0.119,
                "offsides": 0.3111,
                "ball_carries": 2.2507,
                "total_progression": 0.0,
                "progressive_carries": 0.055,
                "shots_off_target": 0.9575,
                "duel_xg_multiplier": 0.9601,
                "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": "Jorge Salinas, Jeanuël Belocian",
                "opponent_faced": "Jorge Salinas, Jeanuël Belocian",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jorge Salinas, Jeanuël Belocian",
                  "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.9601,
                  "skill_edge": -0.0132,
                  "height_edge": -0.014,
                  "attacker_skill": 0.5411,
                  "defender_skill": 0.5703,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jorge Salinas",
                      "market_value": 8500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.538
                    },
                    {
                      "player": "Jeanuël Belocian",
                      "market_value": 12900000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.6027
                    }
                  ],
                  "xg_override": 0.2741
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.6323,
                  "after": 1.5672
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9973,
                  "after": 0.9575
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.635,
                  "after": 0.6097
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2855,
                  "after": 0.2741
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.2035,
                  "after": 0.1954
                },
                {
                  "stat": "goals",
                  "before": 0.1937,
                  "after": 0.186
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "expected_goals": 0.3512,
                "goal_rate": 0.186,
                "goals": 0,
                "shots_on_target": 0.6097,
                "total_shots": 1.5672,
                "expected_assists": 0.0397,
                "key_pass": 0.5504,
                "rating": 6.6388,
                "minutes": 71.19,
                "total_pass": 11.116,
                "accurate_pass": 7.25,
                "duels_won": 3.6758,
                "total_long_balls": 0.5711,
                "accurate_long_balls": 0.4148,
                "total_opp_half_passes": 6.824,
                "accurate_opp_half_passes": 3.8242,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 20.5696,
                "possession_lost": 6.7099,
                "dispossessed": 0.5031,
                "duels_lost": 4.9436,
                "aerial_lost": 3.1142,
                "total_contest": 0.2766,
                "won_contest": 0.033,
                "ball_recovery": 0.993,
                "challenges_lost": 0.459,
                "fouls": 0.6659,
                "fouls_drawn": 1.5939,
                "assist_rate": 0.1521,
                "assists": 0,
                "interceptions": 0.1546,
                "tackles_won": 0.3275,
                "tackles": 0.6322,
                "clearances": 0.5986,
                "blocks": 0.0969,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.1954,
                "xgot": 0.1525,
                "offsides": 0.3111,
                "ball_carries": 2.2507,
                "total_progression": 0.0,
                "progressive_carries": 0.055,
                "shots_off_target": 0.9575,
                "duel_xg_multiplier": 0.9601,
                "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": "Jorge Salinas, Jeanuël Belocian",
                "opponent_faced": "Jorge Salinas, Jeanuël Belocian",
                "antagonist_source": "attacking_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.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2741,
                  "after": 0.3512
                },
                {
                  "stat": "expected_assists",
                  "before": 0.031,
                  "after": 0.0397
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.3512,
                "goal_rate": 0.186,
                "goals": 0,
                "shots_on_target": 0.6097,
                "total_shots": 1.5672,
                "expected_assists": 0.0397,
                "key_pass": 0.5504,
                "rating": 6.6388,
                "minutes": 71.19,
                "total_pass": 11.116,
                "accurate_pass": 7.25,
                "duels_won": 3.6758,
                "total_long_balls": 0.5711,
                "accurate_long_balls": 0.4148,
                "total_opp_half_passes": 6.824,
                "accurate_opp_half_passes": 3.8242,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 20.5696,
                "possession_lost": 6.7099,
                "dispossessed": 0.5031,
                "duels_lost": 4.9436,
                "aerial_lost": 3.1142,
                "total_contest": 0.2766,
                "won_contest": 0.033,
                "ball_recovery": 0.993,
                "challenges_lost": 0.459,
                "fouls": 0.6659,
                "fouls_drawn": 1.5939,
                "assist_rate": 0.1521,
                "assists": 0,
                "interceptions": 0.1546,
                "tackles_won": 0.3275,
                "tackles": 0.6322,
                "clearances": 0.5986,
                "blocks": 0.0969,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.1954,
                "xgot": 0.1525,
                "offsides": 0.3111,
                "ball_carries": 2.2507,
                "total_progression": 0.0,
                "progressive_carries": 0.055,
                "shots_off_target": 0.9575,
                "duel_xg_multiplier": 0.9601,
                "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": "Jorge Salinas, Jeanuël Belocian",
                "opponent_faced": "Jorge Salinas, Jeanuël Belocian",
                "antagonist_source": "attacking_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": 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.3512,
                "goal_rate": 0.186,
                "goals": 0,
                "shots_on_target": 0.6097,
                "total_shots": 1.5672,
                "expected_assists": 0.0397,
                "key_pass": 0.5504,
                "rating": 6.6388,
                "minutes": 71.19,
                "total_pass": 11.116,
                "accurate_pass": 7.25,
                "duels_won": 3.6758,
                "total_long_balls": 0.5711,
                "accurate_long_balls": 0.4148,
                "total_opp_half_passes": 6.824,
                "accurate_opp_half_passes": 3.8242,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 20.5696,
                "possession_lost": 6.7099,
                "dispossessed": 0.5031,
                "duels_lost": 4.9436,
                "aerial_lost": 3.1142,
                "total_contest": 0.2766,
                "won_contest": 0.033,
                "ball_recovery": 0.993,
                "challenges_lost": 0.459,
                "fouls": 0.6659,
                "fouls_drawn": 1.5939,
                "assist_rate": 0.1521,
                "assists": 0,
                "interceptions": 0.1546,
                "tackles_won": 0.3275,
                "tackles": 0.6322,
                "clearances": 0.5986,
                "blocks": 0.0969,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.1954,
                "xgot": 0.1525,
                "offsides": 0.3111,
                "ball_carries": 2.2507,
                "total_progression": 0.0,
                "progressive_carries": 0.055,
                "shots_off_target": 0.9575,
                "duel_xg_multiplier": 0.9601,
                "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": "Jorge Salinas, Jeanuël Belocian",
                "opponent_faced": "Jorge Salinas, Jeanuël Belocian",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2962,
                "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.2962,
                "scorer_weight": 0.281,
                "squad_weight_total": 1.0966,
                "weight_share": 0.2562,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.3512,
                "goal_rate": 0.186,
                "goals": 0,
                "shots_on_target": 0.6097,
                "total_shots": 1.5672,
                "expected_assists": 0.0397,
                "key_pass": 0.5504,
                "rating": 6.6388,
                "minutes": 71.19,
                "total_pass": 11.116,
                "accurate_pass": 7.25,
                "duels_won": 3.6758,
                "total_long_balls": 0.5711,
                "accurate_long_balls": 0.4148,
                "total_opp_half_passes": 6.824,
                "accurate_opp_half_passes": 3.8242,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 20.5696,
                "possession_lost": 6.7099,
                "dispossessed": 0.5031,
                "duels_lost": 4.9436,
                "aerial_lost": 3.1142,
                "total_contest": 0.2766,
                "won_contest": 0.033,
                "ball_recovery": 0.993,
                "challenges_lost": 0.459,
                "fouls": 0.6659,
                "fouls_drawn": 1.5939,
                "assist_rate": 0.1521,
                "assists": 0,
                "interceptions": 0.1546,
                "tackles_won": 0.3275,
                "tackles": 0.6322,
                "clearances": 0.5986,
                "blocks": 0.0969,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.1954,
                "xgot": 0.1525,
                "offsides": 0.3111,
                "ball_carries": 2.2507,
                "total_progression": 0.0,
                "progressive_carries": 0.055,
                "shots_off_target": 0.9575,
                "duel_xg_multiplier": 0.9601,
                "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": "Jorge Salinas, Jeanuël Belocian",
                "opponent_faced": "Jorge Salinas, Jeanuël Belocian",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2962,
                "projected_assists": 0,
                "assist_probability": 0.0389,
                "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.0389,
                "provider_weight": 0.0496,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0579,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13
              }
            }
          ]
        },
        "Ryunosuke Sato": {
          "player_id": 1476200,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 39,
          "height": 171,
          "market_value": 2100000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0997,
            "assist_rate": 0.1073,
            "assists": 0,
            "expected_goals": 0.1025,
            "goal_rate": 0.0701,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6953,
            "minutes": 73,
            "total_pass": 23,
            "accurate_pass": 19,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 12,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 34,
            "possession_lost": 8.847,
            "dispossessed": 0.6733,
            "duels_lost": 5,
            "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": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1293,
            "ball_carries": 9,
            "total_progression": 33,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9118,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.1,
            "crosses_attempted": 2.0,
            "duel_win_rate": 0.4,
            "pressing_faced": "LOW",
            "matchup_zone": "Right Mid vs Left Back — Wide Channel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Ramón",
            "opponent_faced": "Pablo Ramón",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0974,
            "projected_assists": 0,
            "assist_probability": 0.0949,
            "finishing_factor": 0.9238,
            "creation_factor": 1.2308,
            "fifa_overall": 71.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": 62,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0214,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 22,
                "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": 0,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 28,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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.0333,
                "expected_assists": 0.0112,
                "total_shots": 1,
                "total_pass": 23,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2261,
                "expected_assists": 0.0074,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 16,
                "key_pass": 1,
                "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": 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": 57,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0152,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4903,
            "combined_rank_score": 2996.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 967.0,
            "sofascore_rating": 6.3667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 5026.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6953,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ryunosuke Sato",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Zavier Gozo",
                  "ranking": 4898
                },
                {
                  "player_name": "Jean Baptiste Gorby",
                  "ranking": 4899
                },
                {
                  "player_name": "Gabri Martínez",
                  "ranking": 4900
                },
                {
                  "player_name": "Gabriel Silva",
                  "ranking": 4901
                },
                {
                  "player_name": "Óscar Aranda",
                  "ranking": 4902
                }
              ],
              "lower": [
                {
                  "player_name": "Santi García",
                  "ranking": 4904
                },
                {
                  "player_name": "Ivan Azón",
                  "ranking": 4905
                },
                {
                  "player_name": "Diogo Travassos",
                  "ranking": 4906
                },
                {
                  "player_name": "Miha Zajc",
                  "ranking": 4907
                },
                {
                  "player_name": "Rokas Pukštas",
                  "ranking": 4908
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.585,
          "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.585,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9899,
            "fbref_prior_metrics": {
              "squad": "Valencia",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 205.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.2,
              "shots_on_target_pct": 20.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 5 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Valencia, rel: 0.15, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.7974,
                "expected_assists": 0.0786,
                "assists": 0.1141,
                "assist_rate": 0.1141,
                "expected_goals": 0.0886,
                "goals": 0.0817,
                "goal_rate": 0.0817,
                "shots_on_target": 0.4236,
                "total_shots": 1.0242,
                "rating": 6.6953,
                "minutes": 73.23,
                "total_pass": 22.7702,
                "accurate_pass": 19.0686,
                "duels_won": 1.4064,
                "total_long_balls": 0.8944,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 6.7087,
                "accurate_own_half_passes": 6.482,
                "total_opp_half_passes": 16.0615,
                "accurate_opp_half_passes": 12.5866,
                "crosses_total": 2.1266,
                "crosses_accurate": 0.0,
                "touches": 33.9664,
                "possession_lost": 8.9373,
                "dispossessed": 0.6802,
                "duels_lost": 4.7767,
                "aerial_won": 0.2667,
                "aerial_lost": 0.8944,
                "interceptions": 0.0,
                "tackles_won": 0.6862,
                "tackles": 0.6862,
                "clearances": 0.0,
                "total_contest": 1.3078,
                "won_contest": 0.2267,
                "challenges_lost": 1.074,
                "fouls": 1.0471,
                "fouls_drawn": 0.2267,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1118,
                "ball_carries": 8.8899,
                "total_progression": 33.5646,
                "progressive_carries": 2.4009,
                "shots_off_target": 0.6006
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.2292,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.8572,
                  "creative_index": 0.0733,
                  "expectedGoals": 0.0439,
                  "expectedAssists": 0.0117,
                  "onTargetScoringAttempt": 0.1656
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7974428534507751,
                    "model_output": 0.7974,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.122
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0993
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0802
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0711
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0344
                        }
                      ],
                      "others": -0.0675,
                      "total": 0.7974,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129007
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.103792
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.092499
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.082361
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.039025
                        }
                      ],
                      "others_margin": -0.080965
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07858515530824661,
                    "model_output": 0.0786,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.016
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0143
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.01
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0075
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0786,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.171273
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.151622
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.108679
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.079914
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.04161
                        }
                      ],
                      "others_margin": -0.09145
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.11409702897071838,
                    "model_output": 0.1141,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0152
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0126
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0105
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0093
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0072
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.1141,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.163571
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.117703
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.088371
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.077678
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.06043
                        }
                      ],
                      "others_margin": -0.066783
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.088594451546669,
                    "model_output": 0.0886,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0117
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0087
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0047
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0886,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.117327
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.085759
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.071122
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.04625
                        },
                        {
                          "name": "goals",
                          "margin": -0.039721
                        }
                      ],
                      "others_margin": -0.071965
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.08173469454050064,
                    "model_output": 0.0817,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0109
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0106
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0107
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.009
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0076
                        }
                      ],
                      "others": -0.0087,
                      "total": 0.0817,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.11925
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.116443
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.105161
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.088057
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.080408
                        }
                      ],
                      "others_margin": -0.101061
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.42362532019615173,
                    "model_output": 0.4236,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0424
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0277
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0153
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0149
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0153
                        }
                      ],
                      "others": 0.0146,
                      "total": 0.4236,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122863
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.072902
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.039716
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.038466
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.03802
                        }
                      ],
                      "others_margin": 0.035431
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0242129564285278,
                    "model_output": 1.0242,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.14
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0416
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0352
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.029
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0259
                        }
                      ],
                      "others": -0.0573,
                      "total": 1.0242,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.140035
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.041567
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.035206
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.029043
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.025949
                        }
                      ],
                      "others_margin": -0.057174
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6952738761901855,
                    "model_output": 6.6953,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0469
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0233
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0227
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0196
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0165
                        }
                      ],
                      "others": -0.0715,
                      "total": 6.6953,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.046861
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.023255
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.022739
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.019593
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.016531
                        }
                      ],
                      "others_margin": -0.07158
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 5,
                  "role_matches": 4,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9899, quality 0.437)",
              "stats": {
                "key_pass": 0.7894,
                "expected_assists": 0.0778,
                "assists": 0.1129,
                "assist_rate": 0.1129,
                "expected_goals": 0.0877,
                "goals": 0.0809,
                "goal_rate": 0.0809,
                "shots_on_target": 0.4193,
                "total_shots": 1.0139,
                "rating": 6.6953,
                "minutes": 73.23,
                "total_pass": 22.5402,
                "accurate_pass": 18.876,
                "duels_won": 1.3922,
                "total_long_balls": 0.8854,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 6.6409,
                "accurate_own_half_passes": 6.4165,
                "total_opp_half_passes": 15.8993,
                "accurate_opp_half_passes": 12.4595,
                "crosses_total": 2.1051,
                "crosses_accurate": 0.0,
                "touches": 33.6233,
                "possession_lost": 8.847,
                "dispossessed": 0.6733,
                "duels_lost": 4.7285,
                "aerial_won": 0.264,
                "aerial_lost": 0.8854,
                "interceptions": 0.0,
                "tackles_won": 0.6793,
                "tackles": 0.6793,
                "clearances": 0.0,
                "total_contest": 1.2946,
                "won_contest": 0.2244,
                "challenges_lost": 1.0632,
                "fouls": 1.0365,
                "fouls_drawn": 0.2244,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1107,
                "ball_carries": 8.8001,
                "total_progression": 33.2256,
                "progressive_carries": 2.3767,
                "shots_off_target": 0.5945
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9899,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0498)",
              "stats": {
                "key_pass": 0.7894,
                "expected_assists": 0.0778,
                "assists": 0.1073,
                "assist_rate": 0.1073,
                "expected_goals": 0.0877,
                "goals": 0.0769,
                "goal_rate": 0.0769,
                "shots_on_target": 0.4162,
                "total_shots": 1.0526,
                "rating": 6.6953,
                "minutes": 73.23,
                "total_pass": 22.5402,
                "accurate_pass": 18.876,
                "duels_won": 1.3922,
                "total_long_balls": 0.8854,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 6.6409,
                "accurate_own_half_passes": 6.4165,
                "total_opp_half_passes": 15.8993,
                "accurate_opp_half_passes": 12.4595,
                "crosses_total": 2.1588,
                "crosses_accurate": 0.0,
                "touches": 33.6233,
                "possession_lost": 8.847,
                "dispossessed": 0.6733,
                "duels_lost": 4.7285,
                "aerial_won": 0.264,
                "aerial_lost": 0.8854,
                "interceptions": 0.0,
                "tackles_won": 0.6983,
                "tackles": 0.6793,
                "clearances": 0.0,
                "total_contest": 1.2946,
                "won_contest": 0.2244,
                "challenges_lost": 1.0632,
                "fouls": 1.0201,
                "fouls_drawn": 0.2308,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1107,
                "ball_carries": 8.8001,
                "total_progression": 33.2256,
                "progressive_carries": 2.3767,
                "shots_off_target": 0.5945
              },
              "params": {
                "blend_weight": 0.0498,
                "history_matches": 5,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8137,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Valencia"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.1051,
                  "after": 2.1588
                },
                {
                  "stat": "totalShots",
                  "before": 1.0139,
                  "after": 1.0526
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6793,
                  "after": 0.6983
                },
                {
                  "stat": "fouls",
                  "before": 1.0365,
                  "after": 1.0201
                },
                {
                  "stat": "wasFouled",
                  "before": 0.2244,
                  "after": 0.2308
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1129,
                  "after": 0.1073
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.7894,
                "expected_assists": 0.0778,
                "assists": 0.1073,
                "assist_rate": 0.1073,
                "expected_goals": 0.0877,
                "goals": 0.0769,
                "goal_rate": 0.0769,
                "shots_on_target": 0.4162,
                "total_shots": 1.0526,
                "rating": 6.6953,
                "minutes": 73.23,
                "total_pass": 22.5402,
                "accurate_pass": 18.876,
                "duels_won": 1.3922,
                "total_long_balls": 0.8854,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 6.6409,
                "accurate_own_half_passes": 6.4165,
                "total_opp_half_passes": 15.8993,
                "accurate_opp_half_passes": 12.4595,
                "crosses_total": 2.1588,
                "crosses_accurate": 0.0,
                "touches": 33.6233,
                "possession_lost": 8.847,
                "dispossessed": 0.6733,
                "duels_lost": 4.7285,
                "aerial_won": 0.264,
                "aerial_lost": 0.8854,
                "interceptions": 0.0,
                "tackles_won": 0.6793,
                "tackles": 0.6793,
                "clearances": 0.0,
                "total_contest": 1.2946,
                "won_contest": 0.2244,
                "challenges_lost": 1.0632,
                "fouls": 1.0201,
                "fouls_drawn": 0.2308,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1107,
                "ball_carries": 8.8001,
                "total_progression": 33.2256,
                "progressive_carries": 2.3767,
                "shots_off_target": 0.5945
              },
              "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.7894,
                "expected_assists": 0.0778,
                "assists": 0.1073,
                "assist_rate": 0.1073,
                "expected_goals": 0.08,
                "goals": 0.0701,
                "goal_rate": 0.0701,
                "shots_on_target": 0.3795,
                "total_shots": 0.9598,
                "rating": 6.6953,
                "minutes": 73.23,
                "total_pass": 22.5402,
                "accurate_pass": 18.876,
                "duels_won": 1.3922,
                "total_long_balls": 0.8854,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 6.6409,
                "accurate_own_half_passes": 6.4165,
                "total_opp_half_passes": 15.8993,
                "accurate_opp_half_passes": 12.4595,
                "crosses_total": 2.1588,
                "crosses_accurate": 0.0,
                "touches": 33.6233,
                "possession_lost": 8.847,
                "dispossessed": 0.6733,
                "duels_lost": 4.7285,
                "aerial_won": 0.8,
                "aerial_lost": 0.8854,
                "interceptions": 0.0,
                "tackles_won": 0.6793,
                "tackles": 0.6793,
                "clearances": 0.0,
                "total_contest": 1.2946,
                "won_contest": 0.2244,
                "challenges_lost": 1.0632,
                "fouls": 1.0201,
                "fouls_drawn": 0.2308,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1009,
                "ball_carries": 8.8001,
                "total_progression": 33.2256,
                "progressive_carries": 2.3767,
                "shots_off_target": 0.5421,
                "duel_xg_multiplier": 0.9118,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Ramón",
                  "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                  "duel_win_rate": 0.4,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9118,
                  "skill_edge": 0.0,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4374,
                  "attacker_role": "RM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pablo Ramón",
                      "market_value": 1500000,
                      "role": "LB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.08
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.264,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 1.0526,
                  "after": 0.9598
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.5945,
                  "after": 0.5421
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4162,
                  "after": 0.3795
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1107,
                  "after": 0.1009
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0877,
                  "after": 0.08
                },
                {
                  "stat": "goals",
                  "before": 0.0769,
                  "after": 0.0701
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "key_pass": 0.7894,
                "expected_assists": 0.0997,
                "assist_rate": 0.1073,
                "assists": 0,
                "expected_goals": 0.1025,
                "goal_rate": 0.0701,
                "goals": 0,
                "shots_on_target": 0.3795,
                "total_shots": 0.9598,
                "rating": 6.6953,
                "minutes": 73.23,
                "total_pass": 22.5402,
                "accurate_pass": 18.876,
                "duels_won": 1.3922,
                "total_long_balls": 0.8854,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 6.6409,
                "accurate_own_half_passes": 6.4165,
                "total_opp_half_passes": 15.8993,
                "accurate_opp_half_passes": 12.4595,
                "crosses_total": 2.1588,
                "crosses_accurate": 0.0,
                "touches": 33.6233,
                "possession_lost": 8.847,
                "dispossessed": 0.6733,
                "duels_lost": 4.7285,
                "aerial_won": 0.8,
                "aerial_lost": 0.8854,
                "interceptions": 0.0,
                "tackles_won": 0.6793,
                "tackles": 0.6793,
                "clearances": 0.0,
                "total_contest": 1.2946,
                "won_contest": 0.2244,
                "challenges_lost": 1.0632,
                "fouls": 1.0201,
                "fouls_drawn": 0.2308,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1293,
                "ball_carries": 8.8001,
                "total_progression": 33.2256,
                "progressive_carries": 2.3767,
                "shots_off_target": 0.5421,
                "duel_xg_multiplier": 0.9118,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9238,
                "creation_factor": 1.2308
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.08,
                  "after": 0.1025
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0778,
                  "after": 0.0997
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 71.0; not used by the projection)",
              "stats": {
                "key_pass": 0.7894,
                "expected_assists": 0.0997,
                "assist_rate": 0.1073,
                "assists": 0,
                "expected_goals": 0.1025,
                "goal_rate": 0.0701,
                "goals": 0,
                "shots_on_target": 0.3795,
                "total_shots": 0.9598,
                "rating": 6.6953,
                "minutes": 73.23,
                "total_pass": 22.5402,
                "accurate_pass": 18.876,
                "duels_won": 1.3922,
                "total_long_balls": 0.8854,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 6.6409,
                "accurate_own_half_passes": 6.4165,
                "total_opp_half_passes": 15.8993,
                "accurate_opp_half_passes": 12.4595,
                "crosses_total": 2.1588,
                "crosses_accurate": 0.0,
                "touches": 33.6233,
                "possession_lost": 8.847,
                "dispossessed": 0.6733,
                "duels_lost": 4.7285,
                "aerial_won": 0.8,
                "aerial_lost": 0.8854,
                "interceptions": 0.0,
                "tackles_won": 0.6793,
                "tackles": 0.6793,
                "clearances": 0.0,
                "total_contest": 1.2946,
                "won_contest": 0.2244,
                "challenges_lost": 1.0632,
                "fouls": 1.0201,
                "fouls_drawn": 0.2308,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1293,
                "ball_carries": 8.8001,
                "total_progression": 33.2256,
                "progressive_carries": 2.3767,
                "shots_off_target": 0.5421,
                "duel_xg_multiplier": 0.9118,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9238,
                "creation_factor": 1.2308,
                "fifa_overall": 71.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4903,
                "fifa_rank": 5026.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.7894,
                "expected_assists": 0.0997,
                "assist_rate": 0.1073,
                "assists": 0,
                "expected_goals": 0.1025,
                "goal_rate": 0.0701,
                "goals": 0,
                "shots_on_target": 0.3795,
                "total_shots": 0.9598,
                "rating": 6.6953,
                "minutes": 73.23,
                "total_pass": 22.5402,
                "accurate_pass": 18.876,
                "duels_won": 1.3922,
                "total_long_balls": 0.8854,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 6.6409,
                "accurate_own_half_passes": 6.4165,
                "total_opp_half_passes": 15.8993,
                "accurate_opp_half_passes": 12.4595,
                "crosses_total": 2.1588,
                "crosses_accurate": 0.0,
                "touches": 33.6233,
                "possession_lost": 8.847,
                "dispossessed": 0.6733,
                "duels_lost": 4.7285,
                "aerial_won": 0.8,
                "aerial_lost": 0.8854,
                "interceptions": 0.0,
                "tackles_won": 0.6793,
                "tackles": 0.6793,
                "clearances": 0.0,
                "total_contest": 1.2946,
                "won_contest": 0.2244,
                "challenges_lost": 1.0632,
                "fouls": 1.0201,
                "fouls_drawn": 0.2308,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1293,
                "ball_carries": 8.8001,
                "total_progression": 33.2256,
                "progressive_carries": 2.3767,
                "shots_off_target": 0.5421,
                "duel_xg_multiplier": 0.9118,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0974,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9238,
                "creation_factor": 1.2308,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0974,
                "scorer_weight": 0.0947,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0863,
                "finishing_factor": 0.9238,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.7894,
                "expected_assists": 0.0997,
                "assist_rate": 0.1073,
                "assists": 0,
                "expected_goals": 0.1025,
                "goal_rate": 0.0701,
                "goals": 0,
                "shots_on_target": 0.3795,
                "total_shots": 0.9598,
                "rating": 6.6953,
                "minutes": 73.23,
                "total_pass": 22.5402,
                "accurate_pass": 18.876,
                "duels_won": 1.3922,
                "total_long_balls": 0.8854,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 6.6409,
                "accurate_own_half_passes": 6.4165,
                "total_opp_half_passes": 15.8993,
                "accurate_opp_half_passes": 12.4595,
                "crosses_total": 2.1588,
                "crosses_accurate": 0.0,
                "touches": 33.6233,
                "possession_lost": 8.847,
                "dispossessed": 0.6733,
                "duels_lost": 4.7285,
                "aerial_won": 0.8,
                "aerial_lost": 0.8854,
                "interceptions": 0.0,
                "tackles_won": 0.6793,
                "tackles": 0.6793,
                "clearances": 0.0,
                "total_contest": 1.2946,
                "won_contest": 0.2244,
                "challenges_lost": 1.0632,
                "fouls": 1.0201,
                "fouls_drawn": 0.2308,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1293,
                "ball_carries": 8.8001,
                "total_progression": 33.2256,
                "progressive_carries": 2.3767,
                "shots_off_target": 0.5421,
                "duel_xg_multiplier": 0.9118,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Mid vs Left Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0974,
                "projected_assists": 0,
                "assist_probability": 0.0949,
                "finishing_factor": 0.9238,
                "creation_factor": 1.2308,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0949,
                "provider_weight": 0.1227,
                "squad_weight_total": 0.8566,
                "weight_share": 0.1433,
                "creation_factor": 1.2308,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "bench_players": {
        "Kayne van Oevelen": {
          "player_id": 1393970,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 199,
          "market_value": 2100000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0146,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1171,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 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": 7,
            "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.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "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 (€2,100,000) scaled to 4.4 expected mins; FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 2.9,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90.0,
                "total_pass": 27.0,
                "accurate_pass": 20.0,
                "total_long_balls": 8.0,
                "accurate_long_balls": 4.0,
                "touches": 32.0,
                "clearances": 0.9,
                "ball_recovery": 1.2,
                "high_claims": 0.5,
                "punches": 0.3,
                "aerial_won": 0.6,
                "sweeper_actions": 1.2,
                "sweeper_accurate": 0.7,
                "saves_inside_box": 1.2,
                "possession_lost": 2.4,
                "duels_won": 0.4,
                "duels_lost": 0.2,
                "total_contest": 0.4,
                "won_contest": 0.2,
                "fouls": 0.2,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 21.0,
                "accurate_own_half_passes": 16.0
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 90.0 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 90.0,
                "minutes_scale": 0.0488,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.109,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 69.0; not used by the projection)",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 69.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": 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.7222,
            "minutes": 14,
            "total_pass": 7,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 3.9978,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0206,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.225,
            "bench_expected_minutes": 13.95,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 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
            },
            {
              "match_id": 14083255,
              "match_date": "2026-04-25",
              "home_team": "Valencia",
              "away_team": "Girona FC",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.026,
                "expected_assists": 0.0227,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 77,
                "accurate_pass": 65,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "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": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7222,
            "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": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.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 (39 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.2515,
                "tackles": 0.6817,
                "tackles_won": 0.4418,
                "clearances": 0.8067,
                "aerial_won": 0.2963,
                "total_shots": 0.1294,
                "rating": 6.7222,
                "minutes": 13.8,
                "total_pass": 6.8746,
                "accurate_pass": 4.8659,
                "duels_won": 1.0583,
                "total_long_balls": 1.2313,
                "accurate_long_balls": 0.2809,
                "total_own_half_passes": 2.9825,
                "accurate_own_half_passes": 2.9825,
                "total_opp_half_passes": 3.8921,
                "accurate_opp_half_passes": 1.8834,
                "crosses_total": 0.3304,
                "crosses_accurate": 0.3304,
                "touches": 11.2566,
                "possession_lost": 3.9524,
                "dispossessed": 0.0,
                "duels_lost": 1.3392,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6113,
                "challenges_lost": 0.3887,
                "fouls": 0.9504,
                "fouls_drawn": 0.2809,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0204,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1294
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1503,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Elche",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Rayo Vallecano",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-01",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.7962,
                  "aerialWon": 0.7314,
                  "totalClearance_p90": 2.0014,
                  "totalTackle": 1.3679,
                  "totalPass": 33.6597
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.25146716833114624,
                    "model_output": 0.2515,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5011
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0389
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.014
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0119
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0086
                        }
                      ],
                      "others": -0.061,
                      "total": 0.2515,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.875588
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.11522
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.04305
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.036441
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.027269
                        }
                      ],
                      "others_margin": -0.216944
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6816520094871521,
                    "model_output": 0.6817,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7923
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.029
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0201
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0185
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0151
                        }
                      ],
                      "others": -0.0044,
                      "total": 0.6817,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.838618
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.046938
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.031351
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.027883
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.022187
                        }
                      ],
                      "others_margin": -0.006395
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.4418017268180847,
                    "model_output": 0.4418,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4488
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0218
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0182
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0151
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0144
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.4418,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.740593
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.051841
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.041311
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.034271
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.032633
                        }
                      ],
                      "others_margin": -0.014394
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.8067207932472229,
                    "model_output": 0.8067,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1097
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2389
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0769
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0582
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0325
                        }
                      ],
                      "others": -0.1183,
                      "total": 0.8067,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.949511
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.197778
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.07301
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.059063
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.034528
                        }
                      ],
                      "others_margin": -0.136696
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.2962951064109802,
                    "model_output": 0.2963,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8214
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1401
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0349
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0295
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0443,
                      "total": 0.2963,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.90619
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.289756
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.087364
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.08033
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.034218
                        }
                      ],
                      "others_margin": -0.13947
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.12935583293437958,
                    "model_output": 0.1294,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2572
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0269
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0104
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0072
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0066
                        }
                      ],
                      "others": -0.049,
                      "total": 0.1294,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.257188
                        },
                        {
                          "name": "rating",
                          "margin": -0.026904
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.010449
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.007191
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.006648
                        }
                      ],
                      "others_margin": -0.048965
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.722177505493164,
                    "model_output": 6.7222,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0206
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0139
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0123
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0091
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0071
                        }
                      ],
                      "others": -0.015,
                      "total": 6.7222,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.020626
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.01388
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01225
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.009122
                        },
                        {
                          "name": "touches",
                          "margin": 0.007083
                        }
                      ],
                      "others_margin": -0.014995
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 39,
                  "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.0009, quality 0.532)",
              "stats": {
                "interceptions": 0.2517,
                "tackles": 0.6823,
                "tackles_won": 0.4422,
                "clearances": 0.8074,
                "aerial_won": 0.2966,
                "total_shots": 0.1295,
                "rating": 6.7222,
                "minutes": 13.8,
                "total_pass": 6.8808,
                "accurate_pass": 4.8703,
                "duels_won": 1.0593,
                "total_long_balls": 1.2324,
                "accurate_long_balls": 0.2812,
                "total_own_half_passes": 2.9852,
                "accurate_own_half_passes": 2.9852,
                "total_opp_half_passes": 3.8956,
                "accurate_opp_half_passes": 1.8851,
                "crosses_total": 0.3307,
                "crosses_accurate": 0.3307,
                "touches": 11.2667,
                "possession_lost": 3.956,
                "dispossessed": 0.0,
                "duels_lost": 1.3404,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6119,
                "challenges_lost": 0.389,
                "fouls": 0.9513,
                "fouls_drawn": 0.2812,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0204,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1295
              },
              "params": {
                "market_value_eur": 10800000,
                "quality_factor": 0.5318,
                "boost_factor": 1.0009,
                "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.0044)",
              "stats": {
                "interceptions": 0.2513,
                "tackles": 0.6823,
                "tackles_won": 0.441,
                "clearances": 0.8074,
                "aerial_won": 0.2966,
                "total_shots": 0.1289,
                "rating": 6.7222,
                "minutes": 13.8,
                "total_pass": 6.8808,
                "accurate_pass": 4.8703,
                "duels_won": 1.0593,
                "total_long_balls": 1.2324,
                "accurate_long_balls": 0.2812,
                "total_own_half_passes": 2.9852,
                "accurate_own_half_passes": 2.9852,
                "total_opp_half_passes": 3.8956,
                "accurate_opp_half_passes": 1.8851,
                "crosses_total": 0.3307,
                "crosses_accurate": 0.3307,
                "touches": 11.2667,
                "possession_lost": 3.956,
                "dispossessed": 0.0,
                "duels_lost": 1.3404,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6119,
                "challenges_lost": 0.389,
                "fouls": 0.9471,
                "fouls_drawn": 0.28,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0204,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1295
              },
              "params": {
                "blend_weight": 0.0044,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1533,
                "prior_reliability": 0.06,
                "competition": "La Liga",
                "squad": "Valencia"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 13.8 to 13.9 expected minutes (appearance prob 0.23)",
              "stats": {
                "interceptions": 0.254,
                "tackles": 0.6895,
                "tackles_won": 0.4457,
                "clearances": 0.8159,
                "aerial_won": 0.2997,
                "total_shots": 0.1309,
                "rating": 6.7222,
                "minutes": 13.95,
                "total_pass": 6.9536,
                "accurate_pass": 4.9218,
                "duels_won": 1.0705,
                "total_long_balls": 1.2454,
                "accurate_long_balls": 0.2842,
                "total_own_half_passes": 3.0168,
                "accurate_own_half_passes": 3.0168,
                "total_opp_half_passes": 3.9368,
                "accurate_opp_half_passes": 1.905,
                "crosses_total": 0.3342,
                "crosses_accurate": 0.3342,
                "touches": 11.3859,
                "possession_lost": 3.9978,
                "dispossessed": 0.0,
                "duels_lost": 1.3546,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6184,
                "challenges_lost": 0.389,
                "fouls": 0.9571,
                "fouls_drawn": 0.283,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0206,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1309,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.95
              },
              "params": {
                "expected_minutes": 13.95,
                "projection_minutes": 13.8,
                "minutes_scale": 1.0106,
                "appearance_probability": 0.225
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.254,
                "tackles": 0.6895,
                "tackles_won": 0.4457,
                "clearances": 0.8159,
                "aerial_won": 0.2997,
                "total_shots": 0.1309,
                "rating": 6.7222,
                "minutes": 13.95,
                "total_pass": 6.9536,
                "accurate_pass": 4.9218,
                "duels_won": 1.0705,
                "total_long_balls": 1.2454,
                "accurate_long_balls": 0.2842,
                "total_own_half_passes": 3.0168,
                "accurate_own_half_passes": 3.0168,
                "total_opp_half_passes": 3.9368,
                "accurate_opp_half_passes": 1.905,
                "crosses_total": 0.3342,
                "crosses_accurate": 0.3342,
                "touches": 11.3859,
                "possession_lost": 3.9978,
                "dispossessed": 0.0,
                "duels_lost": 1.3546,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6184,
                "challenges_lost": 0.389,
                "fouls": 0.9571,
                "fouls_drawn": 0.283,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0206,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1309,
                "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.254,
                "tackles": 0.6895,
                "tackles_won": 0.4457,
                "clearances": 0.8159,
                "aerial_won": 0.2997,
                "total_shots": 0.1309,
                "rating": 6.7222,
                "minutes": 13.95,
                "total_pass": 6.9536,
                "accurate_pass": 4.9218,
                "duels_won": 1.0705,
                "total_long_balls": 1.2454,
                "accurate_long_balls": 0.2842,
                "total_own_half_passes": 3.0168,
                "accurate_own_half_passes": 3.0168,
                "total_opp_half_passes": 3.9368,
                "accurate_opp_half_passes": 1.905,
                "crosses_total": 0.3342,
                "crosses_accurate": 0.3342,
                "touches": 11.3859,
                "possession_lost": 3.9978,
                "dispossessed": 0.0,
                "duels_lost": 1.3546,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6184,
                "challenges_lost": 0.389,
                "fouls": 0.9571,
                "fouls_drawn": 0.283,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0206,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1309,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.95,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.225,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "interceptions": 0.254,
                "tackles": 0.6895,
                "tackles_won": 0.4457,
                "clearances": 0.8159,
                "aerial_won": 0.2997,
                "total_shots": 0.1309,
                "rating": 6.7222,
                "minutes": 13.95,
                "total_pass": 6.9536,
                "accurate_pass": 4.9218,
                "duels_won": 1.0705,
                "total_long_balls": 1.2454,
                "accurate_long_balls": 0.2842,
                "total_own_half_passes": 3.0168,
                "accurate_own_half_passes": 3.0168,
                "total_opp_half_passes": 3.9368,
                "accurate_opp_half_passes": 1.905,
                "crosses_total": 0.3342,
                "crosses_accurate": 0.3342,
                "touches": 11.3859,
                "possession_lost": 3.9978,
                "dispossessed": 0.0,
                "duels_lost": 1.3546,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6184,
                "challenges_lost": 0.389,
                "fouls": 0.9571,
                "fouls_drawn": 0.283,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0206,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1309,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.95,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 13,
                "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": 2,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7754,
            "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": 3,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 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": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7754,
            "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.4454,
                "tackles": 0.6037,
                "tackles_won": 0.3537,
                "clearances": 2.25,
                "aerial_won": 0.6767,
                "total_shots": 0.1409,
                "rating": 6.7754,
                "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.1409
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-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,
                  "totalPass": 36.3289
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.44536539912223816,
                    "model_output": 0.4454,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4624
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.023
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0204
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0141
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0102
                        }
                      ],
                      "others": -0.0189,
                      "total": 0.4454,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.772935
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.056296
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.047387
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.031585
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.022226
                        }
                      ],
                      "others_margin": -0.041388
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6037419438362122,
                    "model_output": 0.6037,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7477
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.02
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0196
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0195
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0165
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.6037,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.767229
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.031355
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.030766
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.030606
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.026647
                        }
                      ],
                      "others_margin": -0.012954
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.35372981429100037,
                    "model_output": 0.3537,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4474
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0253
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0165
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0141
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0123
                        }
                      ],
                      "others": -0.0131,
                      "total": 0.3537,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.737244
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.063553
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.043673
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.038866
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.034162
                        }
                      ],
                      "others_margin": -0.036626
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.2499630451202393,
                    "model_output": 2.25,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0766
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.357
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1696
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1098
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0968
                        }
                      ],
                      "others": 0.1522,
                      "total": 2.25,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.924967
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.232395
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.093979
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.056459
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.047261
                        }
                      ],
                      "others_margin": 0.069977
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6767071485519409,
                    "model_output": 0.6767,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7976
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0467
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0431
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0439
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.031
                        }
                      ],
                      "others": -0.0688,
                      "total": 0.6767,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.864181
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.077282
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.06636
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.063389
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.042427
                        }
                      ],
                      "others_margin": -0.096722
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.14091837406158447,
                    "model_output": 0.1409,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.245
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0214
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0084
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0078
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0078
                        }
                      ],
                      "others": -0.041,
                      "total": 0.1409,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.245014
                        },
                        {
                          "name": "rating",
                          "margin": -0.021354
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.008427
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.007822
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.007765
                        }
                      ],
                      "others_margin": -0.041019
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.775375843048096,
                    "model_output": 6.7754,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0146
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0132
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0119
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0116
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0096
                        }
                      ],
                      "others": 0.0079,
                      "total": 6.7754,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.014634
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013161
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.011921
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.01161
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.009623
                        }
                      ],
                      "others_margin": 0.00789
                    }
                  }
                ],
                "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.4455,
                "tackles": 0.6039,
                "tackles_won": 0.3538,
                "clearances": 2.2506,
                "aerial_won": 0.6769,
                "total_shots": 0.141,
                "rating": 6.7754,
                "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.1409
              },
              "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.4398,
                "tackles": 0.6039,
                "tackles_won": 0.3542,
                "clearances": 2.2506,
                "aerial_won": 0.6769,
                "total_shots": 0.1423,
                "rating": 6.7754,
                "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.1409
              },
              "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.4455,
                  "after": 0.4398
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.4 to 13.9 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0.2986,
                "tackles": 0.41,
                "tackles_won": 0.2405,
                "clearances": 1.5279,
                "aerial_won": 0.4595,
                "total_shots": 0.0966,
                "rating": 6.7754,
                "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.0957,
                "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.2986,
                "tackles": 0.41,
                "tackles_won": 0.2405,
                "clearances": 1.5279,
                "aerial_won": 0.4595,
                "total_shots": 0.0966,
                "rating": 6.7754,
                "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.0957,
                "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.2986,
                "tackles": 0.41,
                "tackles_won": 0.2405,
                "clearances": 1.5279,
                "aerial_won": 0.4595,
                "total_shots": 0.0966,
                "rating": 6.7754,
                "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.0957,
                "bench_appearance_probability": 0.223,
                "bench_expected_minutes": 13.88,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.223,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "interceptions": 0.2986,
                "tackles": 0.41,
                "tackles_won": 0.2405,
                "clearances": 1.5279,
                "aerial_won": 0.4595,
                "total_shots": 0.0966,
                "rating": 6.7754,
                "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.0957,
                "bench_appearance_probability": 0.223,
                "bench_expected_minutes": 13.88,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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.036,
            "assist_rate": 0.0292,
            "assists": 0,
            "expected_goals": 0.0637,
            "goal_rate": 0.0539,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6754,
            "minutes": 23,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 11,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 3.5426,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "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.021,
            "ball_carries": 7,
            "total_progression": 15,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.535,
            "bench_expected_minutes": 22.78,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.033,
            "projected_assists": 0,
            "assist_probability": 0.0189,
            "finishing_factor": 1.0421,
            "creation_factor": 1.0141,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "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": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6754,
            "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": 8,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 8,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.77746860076133,
            "bench_appearance_prob": 0.5353394818527877,
            "market_value_adjustment": 1.0157,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (8 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.3562,
                "expected_assists": 0.0274,
                "assists": 0.0285,
                "assist_rate": 0.0285,
                "expected_goals": 0.0485,
                "goals": 0.0527,
                "goal_rate": 0.0527,
                "shots_on_target": 0.224,
                "total_shots": 0.5026,
                "rating": 6.6754,
                "minutes": 22.59,
                "total_pass": 16.1621,
                "accurate_pass": 13.5404,
                "duels_won": 0.5526,
                "total_long_balls": 1.2709,
                "accurate_long_balls": 0.544,
                "total_own_half_passes": 3.4181,
                "accurate_own_half_passes": 3.1043,
                "total_opp_half_passes": 12.744,
                "accurate_opp_half_passes": 10.4361,
                "crosses_total": 0.3457,
                "crosses_accurate": 0.1152,
                "touches": 19.2028,
                "possession_lost": 3.4591,
                "dispossessed": 0.0,
                "duels_lost": 0.4193,
                "aerial_won": 0.1356,
                "aerial_lost": 0.1152,
                "interceptions": 0.0,
                "tackles_won": 0.319,
                "tackles": 0.319,
                "clearances": 0.098,
                "total_contest": 0.304,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.098,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.016,
                "ball_carries": 6.6177,
                "total_progression": 14.4681,
                "progressive_carries": 0.1927,
                "shots_off_target": 0.2786
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.2062,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1753,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.149,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Brentford",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1266,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-28",
                    "opponent": "Fulham",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1076,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-21",
                    "opponent": "Sunderland",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0915,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-09-13",
                    "opponent": "Everton",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0778,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2025-08-25",
                    "opponent": "Newcastle United",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0661,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 8.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.75,
                  "creative_index": 0.236,
                  "expectedGoals": 0.0375,
                  "expectedAssists": 0.034,
                  "onTargetScoringAttempt": 0.2062
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.35615792870521545,
                    "model_output": 0.3562,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4032
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0437
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0368
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0324
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0303
                        }
                      ],
                      "others": -0.0479,
                      "total": 0.3562,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.607396
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.09503
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.087594
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.07743
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.072214
                        }
                      ],
                      "others_margin": -0.126145
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.027429848909378052,
                    "model_output": 0.0274,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0376
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0071
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0041
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0026
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0094,
                      "total": 0.0274,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.578955
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.160386
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.106066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.067473
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.066265
                        }
                      ],
                      "others_margin": -0.292995
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.028531400486826897,
                    "model_output": 0.0285,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0266
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0106
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0072
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0049
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.005,
                      "total": 0.0285,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.371698
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.19683
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.160081
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.126467
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.086763
                        }
                      ],
                      "others_margin": -0.158595
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04851784557104111,
                    "model_output": 0.0485,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0392
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0074
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0058
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0046
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0485,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.543063
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.126896
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.090218
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.069852
                        },
                        {
                          "name": "goals",
                          "margin": -0.035254
                        }
                      ],
                      "others_margin": -0.226329
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05270538106560707,
                    "model_output": 0.0527,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0372
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0048
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0047
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0042
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0527,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.4869
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.077498
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.075774
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.068392
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.056081
                        }
                      ],
                      "others_margin": -0.133068
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2239883840084076,
                    "model_output": 0.224,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1339
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0258
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0176
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0101
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0082
                        }
                      ],
                      "others": 0.0088,
                      "total": 0.224,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.533244
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.127108
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.0783
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.044057
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.037527
                        }
                      ],
                      "others_margin": 0.040131
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5025703310966492,
                    "model_output": 0.5026,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4732
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0675
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0547
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0296
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0288
                        }
                      ],
                      "others": -0.0278,
                      "total": 0.5026,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.473153
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.067455
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.054675
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.029634
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.028763
                        }
                      ],
                      "others_margin": -0.027909
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.675353050231934,
                    "model_output": 6.6754,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0849
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0371
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0347
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0117
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0116
                        }
                      ],
                      "others": -0.0416,
                      "total": 6.6754,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.084876
                        },
                        {
                          "name": "rating",
                          "margin": -0.037147
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.034691
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.011742
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.011631
                        }
                      ],
                      "others_margin": -0.041663
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 8,
                  "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.0157, quality 0.641)",
              "stats": {
                "key_pass": 0.3617,
                "expected_assists": 0.0279,
                "assists": 0.029,
                "assist_rate": 0.029,
                "expected_goals": 0.0493,
                "goals": 0.0535,
                "goal_rate": 0.0535,
                "shots_on_target": 0.2275,
                "total_shots": 0.5105,
                "rating": 6.6754,
                "minutes": 22.59,
                "total_pass": 16.4158,
                "accurate_pass": 13.753,
                "duels_won": 0.5613,
                "total_long_balls": 1.2909,
                "accurate_long_balls": 0.5525,
                "total_own_half_passes": 3.4718,
                "accurate_own_half_passes": 3.153,
                "total_opp_half_passes": 12.9441,
                "accurate_opp_half_passes": 10.5999,
                "crosses_total": 0.3511,
                "crosses_accurate": 0.117,
                "touches": 19.5043,
                "possession_lost": 3.5134,
                "dispossessed": 0.0,
                "duels_lost": 0.4259,
                "aerial_won": 0.1377,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.324,
                "tackles": 0.324,
                "clearances": 0.0995,
                "total_contest": 0.3088,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0995,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0163,
                "ball_carries": 6.7216,
                "total_progression": 14.6952,
                "progressive_carries": 0.1957,
                "shots_off_target": 0.283
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0157,
                "reference_quality": 0.505,
                "history_matches": 8,
                "history_shrink": 0.3846,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.6 to 22.8 expected minutes (appearance prob 0.54)",
              "stats": {
                "key_pass": 0.3647,
                "expected_assists": 0.0281,
                "assists": 0.0292,
                "assist_rate": 0.0292,
                "expected_goals": 0.0497,
                "goals": 0.0539,
                "goal_rate": 0.0539,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0164,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78
              },
              "params": {
                "expected_minutes": 22.78,
                "projection_minutes": 22.59,
                "minutes_scale": 1.0083,
                "appearance_probability": 0.535
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3647,
                "expected_assists": 0.0281,
                "assists": 0.0292,
                "assist_rate": 0.0292,
                "expected_goals": 0.0497,
                "goals": 0.0539,
                "goal_rate": 0.0539,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0164,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "key_pass": 0.3647,
                "expected_assists": 0.036,
                "assist_rate": 0.0292,
                "assists": 0,
                "expected_goals": 0.0637,
                "goal_rate": 0.0539,
                "goals": 0,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0421,
                "creation_factor": 1.0141
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 0.535
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0497,
                  "after": 0.0637
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0281,
                  "after": 0.036
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "key_pass": 0.3647,
                "expected_assists": 0.036,
                "assist_rate": 0.0292,
                "assists": 0,
                "expected_goals": 0.0637,
                "goal_rate": 0.0539,
                "goals": 0,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0421,
                "creation_factor": 1.0141,
                "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": 3214,
                "fifa_rank": 1426.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": {
                "key_pass": 0.3647,
                "expected_assists": 0.036,
                "assist_rate": 0.0292,
                "assists": 0,
                "expected_goals": 0.0637,
                "goal_rate": 0.0539,
                "goals": 0,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.033,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0421,
                "creation_factor": 1.0141,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.033,
                "scorer_weight": 0.0355,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0324,
                "finishing_factor": 1.0421,
                "appearance_weight": 0.535,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.3647,
                "expected_assists": 0.036,
                "assist_rate": 0.0292,
                "assists": 0,
                "expected_goals": 0.0637,
                "goal_rate": 0.0539,
                "goals": 0,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.033,
                "projected_assists": 0,
                "assist_probability": 0.0189,
                "finishing_factor": 1.0421,
                "creation_factor": 1.0141,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0189,
                "provider_weight": 0.0195,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0228,
                "creation_factor": 1.0141,
                "appearance_weight": 0.535,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        },
        "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.0713,
            "assist_rate": 0.0674,
            "assists": 0,
            "expected_goals": 0.0374,
            "goal_rate": 0.0556,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7334,
            "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": 3,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0876,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 14,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "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": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7334,
            "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": 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.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 (34 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.4659,
                "expected_assists": 0.0608,
                "assists": 0.0583,
                "assist_rate": 0.0583,
                "expected_goals": 0.0319,
                "goals": 0.048,
                "goal_rate": 0.048,
                "shots_on_target": 0.1246,
                "total_shots": 0.4077,
                "rating": 6.7334,
                "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.2831
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1506,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.128,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Real Betis",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.0668,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Celta Vigo",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.6477,
                  "creative_index": 0.2847,
                  "expectedGoals": 0.0389,
                  "expectedAssists": 0.056,
                  "onTargetScoringAttempt": 0.1974
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.4658990800380707,
                    "model_output": 0.4659,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4132
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0368
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0301
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0268
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0152
                        }
                      ],
                      "others": 0.0287,
                      "total": 0.4659,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.628414
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.07495
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.060844
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.057553
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.034273
                        }
                      ],
                      "others_margin": 0.063779
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06084492802619934,
                    "model_output": 0.0608,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0352
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0103
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.005
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0024
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0053,
                      "total": 0.0608,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.530453
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.186713
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.078689
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.036013
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.028801
                        }
                      ],
                      "others_margin": -0.08266
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05828474834561348,
                    "model_output": 0.0583,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.025
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0052
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0033
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0029
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.0583,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.345108
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.130835
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.077566
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.052626
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.046843
                        }
                      ],
                      "others_margin": -0.088471
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03191111609339714,
                    "model_output": 0.0319,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0413
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0044
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.004
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0024
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0081,
                      "total": 0.0319,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.581201
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.088073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.087978
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.055193
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.037441
                        }
                      ],
                      "others_margin": -0.226475
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.048017166554927826,
                    "model_output": 0.048,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0281
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0097
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0068
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0061
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0055
                        }
                      ],
                      "others": -0.006,
                      "total": 0.048,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.343317
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.153054
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.108727
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.097852
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.096197
                        }
                      ],
                      "others_margin": -0.117396
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.12460600584745407,
                    "model_output": 0.1246,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.152
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0236
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0118
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0037
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0116,
                      "total": 0.1246,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.633313
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.147296
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.082779
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.027581
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.024454
                        }
                      ],
                      "others_margin": -0.089211
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.40774810314178467,
                    "model_output": 0.4077,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3554
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1475
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0316
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0265
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0257
                        }
                      ],
                      "others": -0.1,
                      "total": 0.4077,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.355388
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.147477
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.031565
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.026489
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.025704
                        }
                      ],
                      "others_margin": -0.099995
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.733417510986328,
                    "model_output": 6.7334,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0932
                        },
                        {
                          "name": "rating",
                          "contribution": -0.042
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0178
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0178
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0171
                        }
                      ],
                      "others": 0.0011,
                      "total": 6.7334,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.093171
                        },
                        {
                          "name": "rating",
                          "margin": -0.042029
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.017816
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.017806
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.017071
                        }
                      ],
                      "others_margin": 0.001179
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 34,
                  "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.4653,
                "expected_assists": 0.0608,
                "assists": 0.0582,
                "assist_rate": 0.0582,
                "expected_goals": 0.0319,
                "goals": 0.048,
                "goal_rate": 0.048,
                "shots_on_target": 0.1244,
                "total_shots": 0.4072,
                "rating": 6.7334,
                "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.2827
              },
              "params": {
                "market_value_eur": 5700000,
                "quality_factor": 0.4708,
                "boost_factor": 0.9987,
                "reference_quality": 0.505,
                "history_matches": 34,
                "history_shrink": 0.1282,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0122)",
              "stats": {
                "key_pass": 0.4653,
                "expected_assists": 0.0608,
                "assists": 0.0575,
                "assist_rate": 0.0575,
                "expected_goals": 0.0319,
                "goals": 0.0474,
                "goal_rate": 0.0474,
                "shots_on_target": 0.1261,
                "total_shots": 0.4118,
                "rating": 6.7334,
                "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.9094,
                "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.2066,
                "tackles": 0.7277,
                "clearances": 0.8231,
                "total_contest": 0.4058,
                "won_contest": 0.2258,
                "challenges_lost": 0.1477,
                "fouls": 0.2396,
                "fouls_drawn": 0.283,
                "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.2827
              },
              "params": {
                "blend_weight": 0.0122,
                "history_matches": 34,
                "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.283
                },
                {
                  "stat": "totalCross",
                  "before": 1.9156,
                  "after": 1.9094
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 25.4 to 29.8 expected minutes (appearance prob 0.44)",
              "stats": {
                "key_pass": 0.5456,
                "expected_assists": 0.0713,
                "assists": 0.0674,
                "assist_rate": 0.0674,
                "expected_goals": 0.0374,
                "goals": 0.0556,
                "goal_rate": 0.0556,
                "shots_on_target": 0.1479,
                "total_shots": 0.4829,
                "rating": 6.7334,
                "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.239,
                "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.2423,
                "tackles": 0.8533,
                "clearances": 0.9652,
                "total_contest": 0.4759,
                "won_contest": 0.2648,
                "challenges_lost": 0.1477,
                "fouls": 0.281,
                "fouls_drawn": 0.3319,
                "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.3315,
                "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.5456,
                "expected_assists": 0.0713,
                "assists": 0.0674,
                "assist_rate": 0.0674,
                "expected_goals": 0.0374,
                "goals": 0.0556,
                "goal_rate": 0.0556,
                "shots_on_target": 0.1479,
                "total_shots": 0.4829,
                "rating": 6.7334,
                "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.239,
                "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.2423,
                "tackles": 0.8533,
                "clearances": 0.9652,
                "total_contest": 0.4759,
                "won_contest": 0.2648,
                "challenges_lost": 0.1477,
                "fouls": 0.281,
                "fouls_drawn": 0.3319,
                "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.3315,
                "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.5456,
                "expected_assists": 0.0713,
                "assist_rate": 0.0674,
                "assists": 0,
                "expected_goals": 0.0374,
                "goal_rate": 0.0556,
                "goals": 0,
                "shots_on_target": 0.1479,
                "total_shots": 0.4829,
                "rating": 6.7334,
                "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.239,
                "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.2423,
                "tackles": 0.8533,
                "clearances": 0.9652,
                "total_contest": 0.4759,
                "won_contest": 0.2648,
                "challenges_lost": 0.1477,
                "fouls": 0.281,
                "fouls_drawn": 0.3319,
                "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.3315,
                "bench_appearance_probability": 0.438,
                "bench_expected_minutes": 29.75,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.438,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "key_pass": 0.5456,
                "expected_assists": 0.0713,
                "assist_rate": 0.0674,
                "assists": 0,
                "expected_goals": 0.0374,
                "goal_rate": 0.0556,
                "goals": 0,
                "shots_on_target": 0.1479,
                "total_shots": 0.4829,
                "rating": 6.7334,
                "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.239,
                "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.2423,
                "tackles": 0.8533,
                "clearances": 0.9652,
                "total_contest": 0.4759,
                "won_contest": 0.2648,
                "challenges_lost": 0.1477,
                "fouls": 0.281,
                "fouls_drawn": 0.3319,
                "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.3315,
                "bench_appearance_probability": 0.438,
                "bench_expected_minutes": 29.75,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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.087,
            "goal_rate": 0.0724,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0657,
            "key_pass": 1,
            "rating": 6.6539,
            "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.0315,
            "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": 3,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0477,
            "projected_assists": 0,
            "assist_probability": 0.0364,
            "finishing_factor": 1.0382,
            "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": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6539,
            "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.056,
                "goals": 0.0597,
                "goal_rate": 0.0597,
                "shots_on_target": 0.2079,
                "total_shots": 0.5562,
                "expected_assists": 0.0423,
                "key_pass": 0.418,
                "rating": 6.6539,
                "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.3483
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-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,
                  "expectedGoals": 0.0692,
                  "totalOppositionHalfPasses": 10.9174,
                  "accurateOppositionHalfPasses": 8.744,
                  "accuratePass": 13.5639,
                  "totalShots": 0.8797
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.055979520082473755,
                    "model_output": 0.056,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0859
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0199
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0049
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0044
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0228,
                      "total": 0.056,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569192
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.196052
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.054238
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.051577
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.047779
                        }
                      ],
                      "others_margin": -0.343662
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0596974641084671,
                    "model_output": 0.0597,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0872
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0179
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0104
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0055
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0049
                        }
                      ],
                      "others": -0.0176,
                      "total": 0.0597,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.560362
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.167883
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.111531
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.06436
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.061781
                        }
                      ],
                      "others_margin": -0.258854
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.20791225135326385,
                    "model_output": 0.2079,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.207
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0297
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.026
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0186
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0112
                        }
                      ],
                      "others": -0.0363,
                      "total": 0.2079,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.487143
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.094275
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.090492
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.070262
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.045007
                        }
                      ],
                      "others_margin": -0.161177
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.556172788143158,
                    "model_output": 0.5562,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4662
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1107
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0435
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0365
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0336
                        }
                      ],
                      "others": -0.1261,
                      "total": 0.5562,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.466199
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.110672
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.043467
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.036515
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.033582
                        }
                      ],
                      "others_margin": -0.126198
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04225265979766846,
                    "model_output": 0.0423,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0181
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.007
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0045
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0027
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0017
                        }
                      ],
                      "others": -0.005,
                      "total": 0.0423,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.333187
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.142275
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.089059
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.057675
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.037268
                        }
                      ],
                      "others_margin": -0.112513
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.41802388429641724,
                    "model_output": 0.418,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2511
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0307
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0233
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0201
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0176
                        }
                      ],
                      "others": -0.0136,
                      "total": 0.418,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.467226
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.070357
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.052787
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.045685
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.039882
                        }
                      ],
                      "others_margin": -0.031989
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.653929710388184,
                    "model_output": 6.6539,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0527
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0103
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0096
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0088
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0088
                        }
                      ],
                      "others": -0.0401,
                      "total": 6.6539,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.052719
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.010295
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.009553
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.008797
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.008785
                        }
                      ],
                      "others_margin": -0.040116
                    }
                  }
                ],
                "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.056,
                "goals": 0.0597,
                "goal_rate": 0.0597,
                "shots_on_target": 0.208,
                "total_shots": 0.5565,
                "expected_assists": 0.0423,
                "key_pass": 0.4182,
                "rating": 6.6539,
                "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.3485
              },
              "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.0679,
                "goals": 0.0724,
                "goal_rate": 0.0724,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0513,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.4228,
                "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.0679,
                "goals": 0.0724,
                "goal_rate": 0.0724,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0513,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.4228,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "expected_goals": 0.087,
                "goal_rate": 0.0724,
                "goals": 0,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0657,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.0315,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4228,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0382,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 0.573
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0679,
                  "after": 0.087
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0513,
                  "after": 0.0657
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.087,
                "goal_rate": 0.0724,
                "goals": 0,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0657,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.0315,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4228,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0382,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "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.087,
                "goal_rate": 0.0724,
                "goals": 0,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0657,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.0315,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4228,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0477,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0382,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0477,
                "scorer_weight": 0.0518,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0472,
                "finishing_factor": 1.0382,
                "appearance_weight": 0.573,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.087,
                "goal_rate": 0.0724,
                "goals": 0,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0657,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.0315,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4228,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0477,
                "projected_assists": 0,
                "assist_probability": 0.0364,
                "finishing_factor": 1.0382,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0364,
                "provider_weight": 0.0301,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0352,
                "creation_factor": 0.8,
                "appearance_weight": 0.573,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        },
        "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.1477,
            "goal_rate": 0.095,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0793,
            "key_pass": 0,
            "rating": 6.7231,
            "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.153,
            "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": 3,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0781,
            "projected_assists": 0,
            "assist_probability": 0.0434,
            "finishing_factor": 0.8772,
            "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": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7231,
            "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.0967,
                "goals": 0.0798,
                "goal_rate": 0.0798,
                "shots_on_target": 0.3942,
                "total_shots": 1.0177,
                "expected_assists": 0.0519,
                "key_pass": 0.3833,
                "rating": 6.7231,
                "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.6235
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-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,
                  "expectedGoals": 0.2368,
                  "totalOppositionHalfPasses": 7.5086,
                  "accurateOppositionHalfPasses": 4.8998,
                  "accuratePass": 7.7012,
                  "totalShots": 2.2342
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09672174602746964,
                    "model_output": 0.0967,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0964
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0167
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.006
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0047
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0967,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.667779
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.152293
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.052321
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.04279
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.039701
                        }
                      ],
                      "others_margin": -0.06535
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07977554947137833,
                    "model_output": 0.0798,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1003
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0206
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0174
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0051
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0166,
                      "total": 0.0798,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.680939
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.182547
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.151942
                        },
                        {
                          "name": "goals",
                          "margin": -0.048873
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.047112
                        }
                      ],
                      "others_margin": -0.188521
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3942211866378784,
                    "model_output": 0.3942,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1928
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0419
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0237
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0178
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0139
                        }
                      ],
                      "others": 0.0282,
                      "total": 0.3942,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.445088
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.114943
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.063526
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.048054
                        },
                        {
                          "name": "goals",
                          "margin": -0.037408
                        }
                      ],
                      "others_margin": 0.074464
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.017677664756775,
                    "model_output": 1.0177,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5738
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1889
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0353
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0324
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0271
                        }
                      ],
                      "others": -0.065,
                      "total": 1.0177,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.573835
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.188903
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.035313
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.032369
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.027137
                        }
                      ],
                      "others_margin": -0.065015
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05192737653851509,
                    "model_output": 0.0519,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0177
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0066
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.005
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0025
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0024
                        }
                      ],
                      "others": 0.004,
                      "total": 0.0519,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.323804
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.134077
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.100176
                        },
                        {
                          "name": "rating",
                          "margin": 0.051609
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.049056
                        }
                      ],
                      "others_margin": 0.08064
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3832924962043762,
                    "model_output": 0.3833,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2694
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0328
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.028
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0196
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0108
                        }
                      ],
                      "others": 0.0495,
                      "total": 0.3833,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.511621
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.084716
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.078531
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.059045
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.032872
                        }
                      ],
                      "others_margin": 0.13846
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.723133563995361,
                    "model_output": 6.7231,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0693
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0174
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0116
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0097
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0095
                        }
                      ],
                      "others": -0.0,
                      "total": 6.7231,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.069296
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.017427
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.011593
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.009669
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.009518
                        }
                      ],
                      "others_margin": -4.5e-05
                    }
                  }
                ],
                "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.0967,
                "goals": 0.0797,
                "goal_rate": 0.0797,
                "shots_on_target": 0.394,
                "total_shots": 1.0171,
                "expected_assists": 0.0519,
                "key_pass": 0.3831,
                "rating": 6.7231,
                "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.6231
              },
              "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.1153,
                "goals": 0.095,
                "goal_rate": 0.095,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0619,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.7428,
                "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.1153,
                "goals": 0.095,
                "goal_rate": 0.095,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0619,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.7428,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "expected_goals": 0.1477,
                "goal_rate": 0.095,
                "goals": 0,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0793,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.153,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7428,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8772,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 0.569
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1153,
                  "after": 0.1477
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0619,
                  "after": 0.0793
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1477,
                "goal_rate": 0.095,
                "goals": 0,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0793,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.153,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7428,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8772,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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.1477,
                "goal_rate": 0.095,
                "goals": 0,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0793,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.153,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7428,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0781,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8772,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0781,
                "scorer_weight": 0.0737,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0672,
                "finishing_factor": 0.8772,
                "appearance_weight": 0.569,
                "weight_rank": 6,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1477,
                "goal_rate": 0.095,
                "goals": 0,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0793,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.153,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7428,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0781,
                "projected_assists": 0,
                "assist_probability": 0.0434,
                "finishing_factor": 0.8772,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0434,
                "provider_weight": 0.0361,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0421,
                "creation_factor": 0.8,
                "appearance_weight": 0.569,
                "weight_rank": 9,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "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.087,
            "goal_rate": 0.0724,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0657,
            "key_pass": 1,
            "rating": 6.6539,
            "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.0315,
            "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": 3,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0477,
            "projected_assists": 0,
            "assist_probability": 0.0364,
            "finishing_factor": 1.0382,
            "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": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6539,
            "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.056,
                "goals": 0.0597,
                "goal_rate": 0.0597,
                "shots_on_target": 0.2079,
                "total_shots": 0.5562,
                "expected_assists": 0.0423,
                "key_pass": 0.418,
                "rating": 6.6539,
                "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.3483
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-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,
                  "expectedGoals": 0.0692,
                  "totalOppositionHalfPasses": 10.9174,
                  "accurateOppositionHalfPasses": 8.744,
                  "accuratePass": 13.5639,
                  "totalShots": 0.8797
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.055979520082473755,
                    "model_output": 0.056,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0859
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0199
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0049
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0044
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0228,
                      "total": 0.056,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569192
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.196052
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.054238
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.051577
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.047779
                        }
                      ],
                      "others_margin": -0.343662
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0596974641084671,
                    "model_output": 0.0597,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0872
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0179
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0104
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0055
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0049
                        }
                      ],
                      "others": -0.0176,
                      "total": 0.0597,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.560362
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.167883
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.111531
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.06436
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.061781
                        }
                      ],
                      "others_margin": -0.258854
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.20791225135326385,
                    "model_output": 0.2079,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.207
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0297
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.026
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0186
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0112
                        }
                      ],
                      "others": -0.0363,
                      "total": 0.2079,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.487143
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.094275
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.090492
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.070262
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.045007
                        }
                      ],
                      "others_margin": -0.161177
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.556172788143158,
                    "model_output": 0.5562,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4662
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1107
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0435
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0365
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0336
                        }
                      ],
                      "others": -0.1261,
                      "total": 0.5562,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.466199
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.110672
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.043467
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.036515
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.033582
                        }
                      ],
                      "others_margin": -0.126198
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04225265979766846,
                    "model_output": 0.0423,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0181
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.007
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0045
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0027
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0017
                        }
                      ],
                      "others": -0.005,
                      "total": 0.0423,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.333187
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.142275
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.089059
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.057675
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.037268
                        }
                      ],
                      "others_margin": -0.112513
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.41802388429641724,
                    "model_output": 0.418,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2511
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0307
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0233
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0201
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0176
                        }
                      ],
                      "others": -0.0136,
                      "total": 0.418,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.467226
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.070357
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.052787
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.045685
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.039882
                        }
                      ],
                      "others_margin": -0.031989
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.653929710388184,
                    "model_output": 6.6539,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0527
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0103
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0096
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0088
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0088
                        }
                      ],
                      "others": -0.0401,
                      "total": 6.6539,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.052719
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.010295
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.009553
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.008797
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.008785
                        }
                      ],
                      "others_margin": -0.040116
                    }
                  }
                ],
                "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.056,
                "goals": 0.0597,
                "goal_rate": 0.0597,
                "shots_on_target": 0.208,
                "total_shots": 0.5565,
                "expected_assists": 0.0423,
                "key_pass": 0.4182,
                "rating": 6.6539,
                "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.3485
              },
              "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.0679,
                "goals": 0.0724,
                "goal_rate": 0.0724,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0513,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.4228,
                "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.0679,
                "goals": 0.0724,
                "goal_rate": 0.0724,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0513,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.4228,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "expected_goals": 0.087,
                "goal_rate": 0.0724,
                "goals": 0,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0657,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.0315,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4228,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0382,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 0.573
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0679,
                  "after": 0.087
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0513,
                  "after": 0.0657
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.087,
                "goal_rate": 0.0724,
                "goals": 0,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0657,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.0315,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4228,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0382,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "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.087,
                "goal_rate": 0.0724,
                "goals": 0,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0657,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.0315,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4228,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0477,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0382,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0477,
                "scorer_weight": 0.0518,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0472,
                "finishing_factor": 1.0382,
                "appearance_weight": 0.573,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.087,
                "goal_rate": 0.0724,
                "goals": 0,
                "shots_on_target": 0.2523,
                "total_shots": 0.6751,
                "expected_assists": 0.0657,
                "key_pass": 0.5074,
                "rating": 6.6539,
                "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.0315,
                "offsides": 0.0,
                "ball_carries": 3.5979,
                "total_progression": 21.0007,
                "progressive_carries": 0.9271,
                "shots_off_target": 0.4228,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 25.61,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0477,
                "projected_assists": 0,
                "assist_probability": 0.0364,
                "finishing_factor": 1.0382,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0364,
                "provider_weight": 0.0301,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0352,
                "creation_factor": 0.8,
                "appearance_weight": 0.573,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        },
        "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.1477,
            "goal_rate": 0.095,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0793,
            "key_pass": 0,
            "rating": 6.7231,
            "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.153,
            "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": 3,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0781,
            "projected_assists": 0,
            "assist_probability": 0.0434,
            "finishing_factor": 0.8772,
            "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": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7231,
            "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.0967,
                "goals": 0.0798,
                "goal_rate": 0.0798,
                "shots_on_target": 0.3942,
                "total_shots": 1.0177,
                "expected_assists": 0.0519,
                "key_pass": 0.3833,
                "rating": 6.7231,
                "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.6235
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-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,
                  "expectedGoals": 0.2368,
                  "totalOppositionHalfPasses": 7.5086,
                  "accurateOppositionHalfPasses": 4.8998,
                  "accuratePass": 7.7012,
                  "totalShots": 2.2342
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09672174602746964,
                    "model_output": 0.0967,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0964
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0167
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.006
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0047
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0967,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.667779
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.152293
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.052321
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.04279
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.039701
                        }
                      ],
                      "others_margin": -0.06535
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07977554947137833,
                    "model_output": 0.0798,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1003
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0206
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0174
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0051
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0166,
                      "total": 0.0798,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.680939
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.182547
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.151942
                        },
                        {
                          "name": "goals",
                          "margin": -0.048873
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.047112
                        }
                      ],
                      "others_margin": -0.188521
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3942211866378784,
                    "model_output": 0.3942,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1928
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0419
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0237
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0178
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0139
                        }
                      ],
                      "others": 0.0282,
                      "total": 0.3942,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.445088
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.114943
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.063526
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.048054
                        },
                        {
                          "name": "goals",
                          "margin": -0.037408
                        }
                      ],
                      "others_margin": 0.074464
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.017677664756775,
                    "model_output": 1.0177,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5738
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1889
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0353
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0324
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0271
                        }
                      ],
                      "others": -0.065,
                      "total": 1.0177,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.573835
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.188903
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.035313
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.032369
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.027137
                        }
                      ],
                      "others_margin": -0.065015
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05192737653851509,
                    "model_output": 0.0519,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0177
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0066
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.005
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0025
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0024
                        }
                      ],
                      "others": 0.004,
                      "total": 0.0519,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.323804
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.134077
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.100176
                        },
                        {
                          "name": "rating",
                          "margin": 0.051609
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.049056
                        }
                      ],
                      "others_margin": 0.08064
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3832924962043762,
                    "model_output": 0.3833,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2694
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0328
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.028
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0196
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0108
                        }
                      ],
                      "others": 0.0495,
                      "total": 0.3833,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.511621
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.084716
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.078531
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.059045
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.032872
                        }
                      ],
                      "others_margin": 0.13846
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.723133563995361,
                    "model_output": 6.7231,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0693
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0174
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0116
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0097
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0095
                        }
                      ],
                      "others": -0.0,
                      "total": 6.7231,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.069296
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.017427
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.011593
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.009669
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.009518
                        }
                      ],
                      "others_margin": -4.5e-05
                    }
                  }
                ],
                "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.0967,
                "goals": 0.0797,
                "goal_rate": 0.0797,
                "shots_on_target": 0.394,
                "total_shots": 1.0171,
                "expected_assists": 0.0519,
                "key_pass": 0.3831,
                "rating": 6.7231,
                "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.6231
              },
              "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.1153,
                "goals": 0.095,
                "goal_rate": 0.095,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0619,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.7428,
                "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.1153,
                "goals": 0.095,
                "goal_rate": 0.095,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0619,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.7428,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "expected_goals": 0.1477,
                "goal_rate": 0.095,
                "goals": 0,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0793,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.153,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7428,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8772,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 0.569
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1153,
                  "after": 0.1477
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0619,
                  "after": 0.0793
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1477,
                "goal_rate": 0.095,
                "goals": 0,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0793,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.153,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7428,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8772,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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.1477,
                "goal_rate": 0.095,
                "goals": 0,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0793,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.153,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7428,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0781,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8772,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0781,
                "scorer_weight": 0.0737,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0672,
                "finishing_factor": 0.8772,
                "appearance_weight": 0.569,
                "weight_rank": 6,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1477,
                "goal_rate": 0.095,
                "goals": 0,
                "shots_on_target": 0.4697,
                "total_shots": 1.2125,
                "expected_assists": 0.0793,
                "key_pass": 0.4567,
                "rating": 6.7231,
                "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.153,
                "offsides": 0.0179,
                "ball_carries": 3.6468,
                "total_progression": 29.5742,
                "progressive_carries": 1.575,
                "shots_off_target": 0.7428,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.51,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0781,
                "projected_assists": 0,
                "assist_probability": 0.0434,
                "finishing_factor": 0.8772,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0434,
                "provider_weight": 0.0361,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0421,
                "creation_factor": 0.8,
                "appearance_weight": 0.569,
                "weight_rank": 9,
                "eligible_players": 13
              }
            }
          ]
        },
        "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.036,
            "assist_rate": 0.0292,
            "assists": 0,
            "expected_goals": 0.0637,
            "goal_rate": 0.0539,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6754,
            "minutes": 23,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 11,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 3.5426,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "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.021,
            "ball_carries": 7,
            "total_progression": 15,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.535,
            "bench_expected_minutes": 22.78,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.34,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.033,
            "projected_assists": 0,
            "assist_probability": 0.0189,
            "finishing_factor": 1.0421,
            "creation_factor": 1.0141,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "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": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6754,
            "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": 8,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 8,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.77746860076133,
            "bench_appearance_prob": 0.5353394818527877,
            "market_value_adjustment": 1.0157,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (8 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.3562,
                "expected_assists": 0.0274,
                "assists": 0.0285,
                "assist_rate": 0.0285,
                "expected_goals": 0.0485,
                "goals": 0.0527,
                "goal_rate": 0.0527,
                "shots_on_target": 0.224,
                "total_shots": 0.5026,
                "rating": 6.6754,
                "minutes": 22.59,
                "total_pass": 16.1621,
                "accurate_pass": 13.5404,
                "duels_won": 0.5526,
                "total_long_balls": 1.2709,
                "accurate_long_balls": 0.544,
                "total_own_half_passes": 3.4181,
                "accurate_own_half_passes": 3.1043,
                "total_opp_half_passes": 12.744,
                "accurate_opp_half_passes": 10.4361,
                "crosses_total": 0.3457,
                "crosses_accurate": 0.1152,
                "touches": 19.2028,
                "possession_lost": 3.4591,
                "dispossessed": 0.0,
                "duels_lost": 0.4193,
                "aerial_won": 0.1356,
                "aerial_lost": 0.1152,
                "interceptions": 0.0,
                "tackles_won": 0.319,
                "tackles": 0.319,
                "clearances": 0.098,
                "total_contest": 0.304,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.098,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.016,
                "ball_carries": 6.6177,
                "total_progression": 14.4681,
                "progressive_carries": 0.1927,
                "shots_off_target": 0.2786
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Sociedad",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.2062,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-11",
                    "opponent": "Sevilla",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1753,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "FC Barcelona",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.149,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Brentford",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1266,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-28",
                    "opponent": "Fulham",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1076,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-21",
                    "opponent": "Sunderland",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0915,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-09-13",
                    "opponent": "Everton",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0778,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2025-08-25",
                    "opponent": "Newcastle United",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0661,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 8.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.75,
                  "creative_index": 0.236,
                  "expectedGoals": 0.0375,
                  "expectedAssists": 0.034,
                  "onTargetScoringAttempt": 0.2062
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.35615792870521545,
                    "model_output": 0.3562,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4032
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0437
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0368
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0324
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0303
                        }
                      ],
                      "others": -0.0479,
                      "total": 0.3562,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.607396
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.09503
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.087594
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.07743
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.072214
                        }
                      ],
                      "others_margin": -0.126145
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.027429848909378052,
                    "model_output": 0.0274,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0376
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0071
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0041
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0026
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0094,
                      "total": 0.0274,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.578955
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.160386
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.106066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.067473
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.066265
                        }
                      ],
                      "others_margin": -0.292995
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.028531400486826897,
                    "model_output": 0.0285,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0266
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0106
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0072
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0049
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.005,
                      "total": 0.0285,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.371698
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.19683
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.160081
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.126467
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.086763
                        }
                      ],
                      "others_margin": -0.158595
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04851784557104111,
                    "model_output": 0.0485,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0392
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0074
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0058
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0046
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0485,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.543063
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.126896
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.090218
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.069852
                        },
                        {
                          "name": "goals",
                          "margin": -0.035254
                        }
                      ],
                      "others_margin": -0.226329
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05270538106560707,
                    "model_output": 0.0527,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0372
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0048
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0047
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0042
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0527,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.4869
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.077498
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.075774
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.068392
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.056081
                        }
                      ],
                      "others_margin": -0.133068
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2239883840084076,
                    "model_output": 0.224,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1339
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0258
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0176
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0101
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0082
                        }
                      ],
                      "others": 0.0088,
                      "total": 0.224,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.533244
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.127108
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.0783
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.044057
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.037527
                        }
                      ],
                      "others_margin": 0.040131
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5025703310966492,
                    "model_output": 0.5026,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4732
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0675
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0547
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0296
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0288
                        }
                      ],
                      "others": -0.0278,
                      "total": 0.5026,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.473153
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.067455
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.054675
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.029634
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.028763
                        }
                      ],
                      "others_margin": -0.027909
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.675353050231934,
                    "model_output": 6.6754,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0849
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0371
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0347
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0117
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0116
                        }
                      ],
                      "others": -0.0416,
                      "total": 6.6754,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.084876
                        },
                        {
                          "name": "rating",
                          "margin": -0.037147
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.034691
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.011742
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.011631
                        }
                      ],
                      "others_margin": -0.041663
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 8,
                  "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.0157, quality 0.641)",
              "stats": {
                "key_pass": 0.3617,
                "expected_assists": 0.0279,
                "assists": 0.029,
                "assist_rate": 0.029,
                "expected_goals": 0.0493,
                "goals": 0.0535,
                "goal_rate": 0.0535,
                "shots_on_target": 0.2275,
                "total_shots": 0.5105,
                "rating": 6.6754,
                "minutes": 22.59,
                "total_pass": 16.4158,
                "accurate_pass": 13.753,
                "duels_won": 0.5613,
                "total_long_balls": 1.2909,
                "accurate_long_balls": 0.5525,
                "total_own_half_passes": 3.4718,
                "accurate_own_half_passes": 3.153,
                "total_opp_half_passes": 12.9441,
                "accurate_opp_half_passes": 10.5999,
                "crosses_total": 0.3511,
                "crosses_accurate": 0.117,
                "touches": 19.5043,
                "possession_lost": 3.5134,
                "dispossessed": 0.0,
                "duels_lost": 0.4259,
                "aerial_won": 0.1377,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.324,
                "tackles": 0.324,
                "clearances": 0.0995,
                "total_contest": 0.3088,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0995,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0163,
                "ball_carries": 6.7216,
                "total_progression": 14.6952,
                "progressive_carries": 0.1957,
                "shots_off_target": 0.283
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0157,
                "reference_quality": 0.505,
                "history_matches": 8,
                "history_shrink": 0.3846,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.6 to 22.8 expected minutes (appearance prob 0.54)",
              "stats": {
                "key_pass": 0.3647,
                "expected_assists": 0.0281,
                "assists": 0.0292,
                "assist_rate": 0.0292,
                "expected_goals": 0.0497,
                "goals": 0.0539,
                "goal_rate": 0.0539,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0164,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78
              },
              "params": {
                "expected_minutes": 22.78,
                "projection_minutes": 22.59,
                "minutes_scale": 1.0083,
                "appearance_probability": 0.535
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3647,
                "expected_assists": 0.0281,
                "assists": 0.0292,
                "assist_rate": 0.0292,
                "expected_goals": 0.0497,
                "goals": 0.0539,
                "goal_rate": 0.0539,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0164,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.15 (squad xG sum 0.8983, xG scale 1.2813, xA scale 1.2813, team xA 0.78 = 0.68 x lambda)",
              "stats": {
                "key_pass": 0.3647,
                "expected_assists": 0.036,
                "assist_rate": 0.0292,
                "assists": 0,
                "expected_goals": 0.0637,
                "goal_rate": 0.0539,
                "goals": 0,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0421,
                "creation_factor": 1.0141
              },
              "params": {
                "team_lambda": 1.151,
                "squad_xg_sum": 0.8983,
                "squad_xa_sum": 0.6123,
                "team_expected_assists": 0.7846,
                "team_xa_to_xg_ratio": 0.6817,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2813,
                "xa_scale": 1.2813,
                "opponent_lambda": 1.422,
                "scoreline_reset": true,
                "appearance_weight": 0.535
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0497,
                  "after": 0.0637
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0281,
                  "after": 0.036
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "key_pass": 0.3647,
                "expected_assists": 0.036,
                "assist_rate": 0.0292,
                "assists": 0,
                "expected_goals": 0.0637,
                "goal_rate": 0.0539,
                "goals": 0,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0421,
                "creation_factor": 1.0141,
                "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": 3214,
                "fifa_rank": 1426.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": {
                "key_pass": 0.3647,
                "expected_assists": 0.036,
                "assist_rate": 0.0292,
                "assists": 0,
                "expected_goals": 0.0637,
                "goal_rate": 0.0539,
                "goals": 0,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.033,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0421,
                "creation_factor": 1.0141,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.033,
                "scorer_weight": 0.0355,
                "squad_weight_total": 1.0966,
                "weight_share": 0.0324,
                "finishing_factor": 1.0421,
                "appearance_weight": 0.535,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.3647,
                "expected_assists": 0.036,
                "assist_rate": 0.0292,
                "assists": 0,
                "expected_goals": 0.0637,
                "goal_rate": 0.0539,
                "goals": 0,
                "shots_on_target": 0.2294,
                "total_shots": 0.5147,
                "rating": 6.6754,
                "minutes": 22.78,
                "total_pass": 16.552,
                "accurate_pass": 13.8671,
                "duels_won": 0.566,
                "total_long_balls": 1.3016,
                "accurate_long_balls": 0.5571,
                "total_own_half_passes": 3.5006,
                "accurate_own_half_passes": 3.1792,
                "total_opp_half_passes": 13.0515,
                "accurate_opp_half_passes": 10.6879,
                "crosses_total": 0.354,
                "crosses_accurate": 0.118,
                "touches": 19.6662,
                "possession_lost": 3.5426,
                "dispossessed": 0.0,
                "duels_lost": 0.4294,
                "aerial_won": 0.1388,
                "aerial_lost": 0.117,
                "interceptions": 0.0,
                "tackles_won": 0.3267,
                "tackles": 0.3267,
                "clearances": 0.1003,
                "total_contest": 0.3114,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1003,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 6.7774,
                "total_progression": 14.8172,
                "progressive_carries": 0.1973,
                "shots_off_target": 0.2853,
                "bench_appearance_probability": 0.535,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.34,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.033,
                "projected_assists": 0,
                "assist_probability": 0.0189,
                "finishing_factor": 1.0421,
                "creation_factor": 1.0141,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0189,
                "provider_weight": 0.0195,
                "squad_weight_total": 0.8566,
                "weight_share": 0.0228,
                "creation_factor": 1.0141,
                "appearance_weight": 0.535,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 1.15,
        "expected_assists": 0.78,
        "total_shots": 12,
        "shots_on_target": 2,
        "total_passes": 420,
        "interceptions": 8,
        "tackles": 17,
        "avg_rating": 6.81,
        "possession_estimated_pct": 51.5,
        "pressing_actions_per_90": 6.7
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Sergio Canales",
        "attacker_role": "LW",
        "attacker_market_value": 3200000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.44,
        "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.487,
        "xg_contribution": 0.1084,
        "xg_multiplier": 1.0099,
        "shots_in_zone": 1.9,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Maffeo",
            "role": "RB",
            "market_value": 2900000,
            "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.513
          }
        ],
        "duel_analysis": "Sergio Canales (LW) is evenly matched against Pablo Maffeo in a direct 1v1 contest. Duel win probability: 49%.  Matchup xG multiplier ×1.01 (×1.00 = his usual level). Projected xG contribution: 0.108 — with neither side clearly dominant."
      },
      {
        "attacker": "Yassir Zabiri",
        "attacker_role": "ST",
        "attacker_market_value": 9800000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.52,
        "defenders": [
          "Mouctar Diakhaby",
          "Justin De Haas"
        ],
        "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.3972,
        "xg_multiplier": 0.9667,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "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.7,
            "defensive_success_rate": 0.82
          },
          {
            "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.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Yassir Zabiri (ST) is evenly matched against Mouctar Diakhaby and Justin De Haas in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.397 — with neither side clearly dominant."
      },
      {
        "attacker": "Iñigo Vicente",
        "attacker_role": "ST",
        "attacker_market_value": 6600000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.482,
        "defenders": [
          "Mouctar Diakhaby",
          "Justin De Haas"
        ],
        "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.0635,
        "xg_multiplier": 0.9178,
        "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": "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
          },
          {
            "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
          }
        ],
        "duel_analysis": "Iñigo Vicente (ST) faces tough defensive resistance against Mouctar Diakhaby and Justin De Haas in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.92 (×1.00 = his usual level). Projected xG contribution: 0.064 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Pablo García",
        "attacker_role": "ST",
        "attacker_market_value": 8199999,
        "attacker_height": 175,
        "attacker_skill_quality": 0.501,
        "defenders": [
          "Mouctar Diakhaby",
          "Justin De Haas"
        ],
        "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.1573,
        "xg_multiplier": 0.9248,
        "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": "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
          },
          {
            "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
          }
        ],
        "duel_analysis": "Pablo García (ST) faces tough defensive resistance against Mouctar Diakhaby and Justin De Haas in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.92 (×1.00 = his usual level). Projected xG contribution: 0.157 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Iván Martín",
        "attacker_role": "CDM",
        "attacker_market_value": 4600000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.457,
        "defenders": [
          "Pepelu"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.49,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.357,
        "xg_contribution": 0.0381,
        "xg_multiplier": 0.9372,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pepelu",
            "role": "CM",
            "market_value": 7300000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.7,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.643
          }
        ],
        "duel_analysis": "Iván Martín (CDM) faces tough defensive resistance against Pepelu in a direct 1v1 contest. Duel win probability: 36%.  Matchup xG multiplier ×0.94 (×1.00 = his usual level). Projected xG contribution: 0.038 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Matteo Prati",
        "attacker_role": "CDM",
        "attacker_market_value": 5000000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.462,
        "defenders": [
          "Pepelu"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.49,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.376,
        "xg_contribution": 0.0288,
        "xg_multiplier": 0.9645,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pepelu",
            "role": "CM",
            "market_value": 7300000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.624
          }
        ],
        "duel_analysis": "Matteo Prati (CDM) is evenly matched against Pepelu in a direct 1v1 contest. Duel win probability: 38%.  Matchup xG multiplier ×0.96 (×1.00 = his usual level). Projected xG contribution: 0.029 — with neither side clearly dominant."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Hugo Duro",
        "attacker_role": "ST",
        "attacker_market_value": 11600000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.541,
        "defenders": [
          "Jorge Salinas",
          "Jeanuël Belocian"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.53,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.2741,
        "xg_multiplier": 0.9601,
        "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.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jorge Salinas",
            "role": "CB",
            "market_value": 8500000,
            "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": "Jeanuël Belocian",
            "role": "CB",
            "market_value": 12900000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Hugo Duro (ST) is evenly matched against Jorge Salinas and Jeanuël Belocian in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.96 (×1.00 = his usual level). Projected xG contribution: 0.274 — with neither side clearly dominant."
      },
      {
        "attacker": "Javier Guerra",
        "attacker_role": "LM",
        "attacker_market_value": 26000000,
        "attacker_height": 187,
        "attacker_skill_quality": 0.686,
        "defenders": [
          "Alvaro Mantilla"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Left Mid vs Right Back — Wide Channel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.602,
        "xg_contribution": 0.1909,
        "xg_multiplier": 1.2091,
        "shots_in_zone": 1.9,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.6,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.5,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Alvaro Mantilla",
            "role": "RB",
            "market_value": 1200000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.398
          }
        ],
        "duel_analysis": "Javier Guerra (LM) has a clear attacking advantage against Alvaro Mantilla in a direct 1v1 contest. Duel win probability: 60%. The quality gap is significant (€26M vs €1M avg). Matchup xG multiplier ×1.21 (×1.00 = his usual level). Projected xG contribution: 0.191 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Ryunosuke Sato",
        "attacker_role": "RM",
        "attacker_market_value": 2100000,
        "attacker_height": 171,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Pablo Ramón"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Right Mid vs Left Back — Wide Channel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.4,
        "xg_contribution": 0.08,
        "xg_multiplier": 0.9118,
        "shots_in_zone": 1.5,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.1,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 2.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Ramón",
            "role": "LB",
            "market_value": 1500000,
            "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.2,
            "defensive_success_rate": 0.6
          }
        ],
        "duel_analysis": "Ryunosuke Sato (RM) faces tough defensive resistance against Pablo Ramón in a direct 1v1 contest. Duel win probability: 40%.  Matchup xG multiplier ×0.91 (×1.00 = his usual level). Projected xG contribution: 0.080 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Pepelu",
        "attacker_role": "CM",
        "attacker_market_value": 7300000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.49,
        "defenders": [
          "Iván Martín"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.457,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.493,
        "xg_contribution": 0.0353,
        "xg_multiplier": 1.0628,
        "shots_in_zone": 1.7,
        "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": "Iván Martín",
            "role": "CDM",
            "market_value": 4600000,
            "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.507
          }
        ],
        "duel_analysis": "Pepelu (CM) is slightly favored against Iván Martín in a direct 1v1 contest. Duel win probability: 49%.  Matchup xG multiplier ×1.06 (×1.00 = his usual level). Projected xG contribution: 0.035 — creating consistent moderate threat."
      },
      {
        "attacker": "Guido Rodríguez",
        "attacker_role": "CM",
        "attacker_market_value": 4200000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.452,
        "defenders": [
          "Iván Martín"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.457,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.474,
        "xg_contribution": 0.0589,
        "xg_multiplier": 1.0351,
        "shots_in_zone": 1.7,
        "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": "Iván Martín",
            "role": "CDM",
            "market_value": 4600000,
            "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.526
          }
        ],
        "duel_analysis": "Guido Rodríguez (CM) is evenly matched against Iván Martín in a direct 1v1 contest. Duel win probability: 47%.  Matchup xG multiplier ×1.04 (×1.00 = his usual level). Projected xG contribution: 0.059 — with neither side clearly dominant."
      },
      {
        "attacker": "Aaron Mayol",
        "attacker_role": "CM",
        "attacker_market_value": 47000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Iván Martín"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.457,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.457,
        "xg_contribution": 0.0543,
        "xg_multiplier": 1.0097,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iván Martín",
            "role": "CDM",
            "market_value": 4600000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.543
          }
        ],
        "duel_analysis": "Aaron Mayol (CM) is evenly matched against Iván Martín in a direct 1v1 contest. Duel win probability: 46%.  Matchup xG multiplier ×1.01 (×1.00 = his usual level). Projected xG contribution: 0.054 — with neither side clearly dominant."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.453,
      "away_midfield_power": 0.551,
      "home_creative_power": 0.385,
      "away_creative_power": 0.457,
      "home_defensive_power": 0.385,
      "away_defensive_power": 0.479,
      "home_dominance_ratio": 0.451,
      "home_midfield_count": 3,
      "away_midfield_count": 5,
      "home_midfield_players": [
        "Sergio Canales",
        "Iván Martín",
        "Matteo Prati"
      ],
      "away_midfield_players": [
        "Pepelu",
        "Aaron Mayol",
        "Guido Rodríguez",
        "Javier Guerra",
        "Ryunosuke Sato"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 48.5,
      "estimated_possession_away_pct": 51.5,
      "home_pressing_actions_per_90": 6.1,
      "away_pressing_actions_per_90": 6.7,
      "home_key_passes_projected": 3.8,
      "away_key_passes_projected": 4.2,
      "home_throughball_threat": 1.8,
      "away_throughball_threat": 2.0,
      "key_personal_duel": "Matteo Prati vs Javier Guerra",
      "midfield_lambda_factor_home": 0.982,
      "midfield_lambda_factor_away": 1.017
    },
    "formation_analysis": {
      "home_formation": "4-2-3-1",
      "away_formation": "4-4-2",
      "home_tactical_bonus": 0.07,
      "away_tactical_bonus": -0.04,
      "formation_verdict": "4-2-3-1 creates structural superiority against 4-4-2. Home team should exploit wider spaces and numerical advantages in transition."
    },
    "home_lambda": 1.422,
    "away_lambda": 1.151,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "away_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Left Mid vs Right Back — Wide Channel"
    ],
    "home_player_antagonists": {
      "Sergio Canales": {
        "opponents": [
          "Pablo Maffeo",
          "Aaron Mayol"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Yassir Zabiri": {
        "opponents": [
          "Mouctar Diakhaby",
          "Justin De Haas"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Iñigo Vicente": {
        "opponents": [
          "Mouctar Diakhaby",
          "Justin De Haas"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Pablo García": {
        "opponents": [
          "Mouctar Diakhaby",
          "Justin De Haas"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Iván Martín": {
        "opponents": [
          "Pepelu",
          "Guido Rodríguez",
          "Aaron Mayol",
          "Javier Guerra"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Matteo Prati": {
        "opponents": [
          "Pepelu",
          "Guido Rodríguez",
          "Ryunosuke Sato"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Jorge Salinas": {
        "opponents": [
          "Hugo Duro"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Jeanuël Belocian": {
        "opponents": [
          "Hugo Duro"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Alvaro Mantilla": {
        "opponents": [
          "Javier Guerra"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "defensive_duel"
      },
      "Pablo Ramón": {
        "opponents": [
          "Ryunosuke Sato"
        ],
        "primary_zone": "Right Mid vs Left Back — Wide Channel",
        "source": "defensive_duel"
      },
      "Julen Agirrezabala": {
        "opponents": [
          "Hugo Duro",
          "Javier Guerra"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Pablo Maffeo": {
        "opponents": [
          "Sergio Canales"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Mouctar Diakhaby": {
        "opponents": [
          "Yassir Zabiri",
          "Iñigo Vicente",
          "Pablo García"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Justin De Haas": {
        "opponents": [
          "Yassir Zabiri",
          "Iñigo Vicente",
          "Pablo García"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Pepelu": {
        "opponents": [
          "Iván Martín",
          "Matteo Prati"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Hugo Duro": {
        "opponents": [
          "Jorge Salinas",
          "Jeanuël Belocian"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Javier Guerra": {
        "opponents": [
          "Alvaro Mantilla",
          "Iván Martín"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Ryunosuke Sato": {
        "opponents": [
          "Pablo Ramón",
          "Matteo Prati"
        ],
        "primary_zone": "Right Mid vs Left Back — Wide Channel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Guido Rodríguez": {
        "opponents": [
          "Iván Martín",
          "Matteo Prati"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Aaron Mayol": {
        "opponents": [
          "Iván Martín",
          "Sergio Canales"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Stole Dimitrievski": {
        "opponents": [
          "Yassir Zabiri",
          "Pablo García"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "José Luis Gayà": {
        "opponents": [
          "Iñigo Vicente"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Matteo Prati vs Javier Guerra will be the pivotal duel. Total antagonist xG — Home: 0.79, Away: 0.69. 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": 1.0107,
      "away_gk_opposition_factor": 0.9768,
      "home_set_piece_bonus": 0.047,
      "away_set_piece_bonus": 0.1205,
      "home_defensive_solidity_vs": 1.005,
      "away_defensive_solidity_vs": 0.9855,
      "home_midfield_factor": 0.982,
      "away_midfield_factor": 1.017,
      "stage_discount": 1.0,
      "quality_gap_applied": false,
      "home_avg_quality": 0.4798,
      "away_avg_quality": 0.4868,
      "avg_quality_gap": -0.007,
      "squad_value_gap_log": -0.0825,
      "top5_value_gap_log": -0.1778,
      "attack_value_gap_log": -0.2563,
      "elite_count_gap": 0,
      "combined_quality_gap": -0.0267,
      "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.7933,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 0.9325
        },
        {
          "label": "midfield_factor",
          "factor": 0.982,
          "result": 0.9157
        },
        {
          "label": "formation_bonus",
          "factor": 1.07,
          "result": 0.9798
        },
        {
          "label": "home_advantage",
          "factor": 1.15,
          "result": 1.1268
        },
        {
          "label": "standing_factor",
          "factor": 1.0455,
          "result": 1.178
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 1.1906
        },
        {
          "label": "defensive_solidity",
          "factor": 1.005,
          "result": 1.1965
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.047,
          "result": 1.2435
        },
        {
          "label": "engine_clamp",
          "pre": 1.2435,
          "result": 1.2435,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": false,
          "combined_quality_gap": -0.0267,
          "factor": 1.0,
          "pre": 1.2435,
          "result": 1.2435
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.2435
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.22,
          "result": 1.464
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": false,
          "reason": "non-target league or squad priors not found",
          "result": 1.464
        },
        {
          "label": "router_clamp",
          "pre": 1.464,
          "result": 1.464,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9714,
          "pre": 1.464,
          "result": 1.4221,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 1.422
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 1.422
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 1.422,
          "result": 1.422,
          "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.422
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.6935,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 0.8576
        },
        {
          "label": "midfield_factor",
          "factor": 1.017,
          "result": 0.8722
        },
        {
          "label": "formation_bonus",
          "factor": 0.96,
          "result": 0.8373
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 0.8373
        },
        {
          "label": "standing_factor",
          "factor": 1.0206,
          "result": 0.8546
        },
        {
          "label": "gk_opposition",
          "factor": 0.9768,
          "result": 0.8347
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9855,
          "result": 0.8226
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.1205,
          "result": 0.9431
        },
        {
          "label": "engine_clamp",
          "pre": 0.9431,
          "result": 0.9431,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": false,
          "combined_quality_gap": -0.0267,
          "factor": 1.0,
          "pre": 0.9431,
          "result": 0.9431
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 0.9431
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.1765,
          "result": 1.1195
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": false,
          "reason": "non-target league or squad priors not found",
          "result": 1.1195
        },
        {
          "label": "router_clamp",
          "pre": 1.1195,
          "result": 1.119,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0286,
          "pre": 1.119,
          "result": 1.151,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 1.151
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 1.151
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 1.151,
          "result": 1.151,
          "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.151
        }
      ],
      "home_bench_lambda_bonus": 0.22,
      "away_bench_lambda_bonus": 0.1765,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 1.422,
      "pre_competitive_floor_away_lambda": 1.151,
      "pre_calibration_home_lambda": 1.464,
      "pre_calibration_away_lambda": 1.1195,
      "competition_calibration_applied": false,
      "competition_calibration_reason": "no_sofascore_matches_data",
      "competition_calibration_samples": 0,
      "competition_observed_total_goals": 0.0,
      "competition_calibration_scale": 1.0,
      "neutral_share_preserved": false,
      "final_home_lambda": 1.422,
      "final_away_lambda": 1.151
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 16,
    "opponent_position": 19,
    "standing_lambda_multiplier": 1.0455,
    "attack_index": 1.074,
    "defense_concede_index": 1.033,
    "form_multiplier": 1.014,
    "team_attack_rate_contextual": 1.61,
    "opp_defense_rate_contextual": 1.55,
    "team_ppg": 1.17,
    "opponent_ppg": 0.94
  },
  "away_standing": {
    "available": true,
    "team_position": 19,
    "opponent_position": 16,
    "standing_lambda_multiplier": 1.0206,
    "attack_index": 0.733,
    "defense_concede_index": 1.444,
    "form_multiplier": 0.986,
    "team_attack_rate_contextual": 1.1,
    "opp_defense_rate_contextual": 2.17,
    "team_ppg": 0.94,
    "opponent_ppg": 1.17
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Racing Club vs Valencia. 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-4-2 (duel lambdas: Home 1.464, Away 1.119). Final calibrated Poisson lambdas: Home 1.422, Away 1.151 (most likely score 1-0).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 9,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 9,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": false,
      "reason": "Non-target league or squad priors not found"
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 1.422,
      "away_lambda": 1.151,
      "micro_duel_home_lambda": 1.464,
      "micro_duel_away_lambda": 1.119
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-11T13:32: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
  }
}